Q.1 Search is done using binary search algorithm in __________.
A. Standard Table
B. Sorted Table
C. Hash Table
D. All of these
Ans : Sorted Table
Q.2 ___________ is used to summate entries in an internal table.
A. ADD
B. SUM
C. TOTAL
D. COLLECT
Ans : COLLECT
Q.3 _____________ tables are always sorted by a key.
A. Hashed Table
B. Sorted Table
C. Standard Table
D. Both Sorted and Hashed table
Ans : Both Sorted and Hashed table
Q.4 ______________ are used to store the data fetched from the database tables at the runtime.
A. Internal tables
B. Data Dictionary
C. Domain
D. Fields
Ans : Internal tables
Q.5 When there is no error in the program and all the loops in the program are executed successfully at least once, the value of sy-subrc would be________.
A. 0
B. 1
C. 2
D. 3
Ans : 0
Q.6 State True or False. Internal tables cannot be nested
A. True
B. False
Ans : False
Q.7 State True or False: The DESCRIBE TABLE
A. True
B. False
Ans : True
Q.8 How many types of internal tables are there?
A. 1
B. 2
C. 3
D. 4
Ans : 3
Q.9 CLEAR <internal table> is used to:
A. Delete all table records of database
B. Delete all table records of internal table
C. Initialize the header line
D. None of these
Ans : Delete all table records of internal table
Q.10 ____________ statement provides information about an internal table’s attributes.
A. DESCRIBE TABLE <internal table>
B. SY-DEBUG
C. COLLECT
D. None of these
Ans : DESCRIBE TABLE <internal table>
Q.11 Syntax for Loop in ABAP.
A. LOOP AT <internal table> INTO <work area>
B. LOOP AT <internal table>
C. Both the syntax
D. None of these
Ans : Both the syntax
Q.12 Search is done using hash algorithm in __________.
A. Standard Table
B. Sorted Table
C. Hash Table
D. All of these
Ans : Hash Table
Q.13 System variable used in debugging.
A. SY-TABIX
B. SY-SUBRC
C. SY-DEBUG
D. All of these
Ans : SY-SUBRC
Q.14 If the internal table is empty,_____________.
A. control traverses in the entire loop
B. all the statements between LOOP and ENDLOOP are ignored
C. all the statements between LOOP and ENDLOOP are processed
D. it results in runtime error
Ans : all the statements between LOOP and ENDLOOP are ignored
Q.15 To change or output the contents of an internal table, you need a
A. Work Area
B. fields
C. rows and columns
D. Body
Ans : Work Area
Q.16 ____________ is the default work area for internal tables with headerline.
A. Work area
B. Headerline
C. Database
D. None of these
Ans : Headerline
Q.17 If the statements in a loop are not executed at all, the value of sy-subrc would be
A. 1
B. 2
C. 3
D. 4
Ans : 4
Q.18 System Variable in ABAP is SY-TABIX is used to
A. Count pages
B. Note down errors
C. Contain the index of the current table entry
D. None of these
Ans : Contain the index of the current table entry
Q.19 Internal tables consists of __________.
A. Header line
B. Body
C. None of these
D. Both
Ans : Both
Q.20 State True or False. Internal tables exist only at the runtime
A. True
B. False
Ans : True