ABAP Certification - Internal Tables


Certified Development Associate ABAP

Internal Tables - ABAP



1.   How many kinds of internal table are supported in the ASAP language?
A. 2
B. 3
C. 1
Correct answer: B



2.    Which of the following statements are true? There can be more than one
true statement.
A. Standard tables can be accessed by index.
B. Standard tables cannot be accessed by index.
C. A sorted table is always accessed by a unique key.
D. Hashed tables are always accessed by index.
E. Hashed tables are accessed by a unique key.
Correct answers: A, E


3. The OCCURS statement is required to define an internal table with a header line.
A. True
B. False

Correct answer: B


4.   You can use the APPEND statement to fill a sorted internal table.
A. True
B. False

Correct answer: B

5. You cannot use the INSERT statement to insert lines into a standard internal table.
A. True
B. False

Correct answer: B


6. You can use a table with a header line for object-oriented  programming.
A. True
B. False
Correct answer: 8


7. An internal table line type with a deep or nested structure ca n be defined for internal tables with a header line.
A. True
B. False
Correct answer: B


8. Internal tables can not have a deep or nested structure in their line type.
A. True
B. False
Correct answer: B


9. The READ statement with the addition BINARY  SEARCH for a sorted  internal table is better  for performance.
A. True
B. False
Correct answer: B


10. The READ statement with the BINARY SEARCH addition cannot be used for a sorted internal table.
A. True
B. False
Correct answer: B


11. The BINARY SEARCH addition ca n not be used with the READ statement for the
HASHED table.
A. T rue
B. False
Correct answer: A

12.   Which of the following is a true statement:
A. A sorted table ca n have unique or a non-unique key.
B. A standard table should always have unique key.
C. A hashed table should always have unique table key.

Correct answers: A, C


13. You can empty the body of the internal table ITAB with a header line using the CLEAR   ITAB statement.
A. True
B. False

Correct answer: B


14. You can modify an internal table by using the UPDATE statement..
A. True
B. False

Correct answer: 8


15. Internal tables can also be modified after executing the READ statement with the addition ASSIGNING.
A. True
B. False

Correct answer: A


16. You cannot use a SORT statement for a sorted internal table.
A. True
B. False

Correct answer: A



ABAP Certification Associate Developer - 

ABAP Data types and Data Objects


1.            Data types store data and occupy memory.
A. True
B. False

Correct answer: B


2.            A data object is concretely defined by means of data type and occupies memory. It contains data with which ABAP programs work at runtime.
A. True
B. False

Correct answer: A


3.            The predefined data types are defined locally in the ABAP program.
A. True
B. False

Correct answer: B


4.            The default length of the type C data type is:
A.1
B. 10
C.  1-65535

Correct answer: A


5.                            If data objects of type I are being used to store the result of a calculation, the decimals will be truncated.
A. True
B. False

Correct answer: B



6. The default length of the type P data type is:
A. 8
B. 1
C. 1-16

Correct answer: A


7. A variable-length structure is called:
A. Nested structure
B. Deep structure
C. Flat structure

Correct answer: B


8.            Local data objects can be defined using ABAP Dictionary types.
A. True
B. False

Correct answer: A


9.            Global data types defined in SAP systems arc:
A. Data defined in the program  that is visible to the all the routines/statements within the ABAP program
B. ASAP Dictionary types
C. Date types defined in the program using A8AP Dictionary types

Correct answer: B


10. Which of the following are incorrect statements:
A. TYPES : carrid_ty LIKE spfli-s_carr_id .
B.TYPES: we r k s TYPE C LENGTH 4 .
C. TYPES: date_ty TYPE LENGTH 10 .
D. TYPES: Str TYPE STRING   LENGTH 20 .

Correct answers: C. D


11. What is the result of the following arithmetic operation.
DATA:  int TYPE  I.
int = 5*13/10 .
A.1
B.2
C. 1.5
D.0

Correct answer: D


12.   What is the result of the following arithmetic operation?

DATA  :
Int  TYPE  I,
int = -5/10 .
A. 1
B. . 5
C. 0

Correct answer: A