You are on page 1of 6

Qui z No. 3 Qui z No.

3


Time: 15 Minutes


1. ON CHANGE OF can refer to one field only.

a) True b) False


2. The number of loop iterations can be controlled via SY-INDEX field.

a) True b) False


3. If suppose the condition fails then

a) DO loop will be executed once as well as WHILE loop will be executed once.
b) DO loop will be executed once as well as WHILE loop will be executed zero
times.
c) DO loop as well as WHILE loop will be executed zero times.
d) none of the above.


4. If CHECK statement is outside the loop structure and if the condition fails,

a) subsequent statements in the current processing block are executed.
b) subsequent statements in the current processing block are not executed.
c) the program gets terminated.
d) there is an error message.
e) none of the above.


5. EXIT statement inside the loop terminates the current loop.

a) True b) False









6. If there are several nested loops then EXIT

a) brings you out of innermost loop.
b) report processing is terminated and the list is displayed.
c) there is abnormal termination of program.
d) none of the above.


7. Field-string consists of 4 fields with types Numeric, Character, Packed, Integer,
then field-string is of type ____________

a) Numeric b) Character c) Packed d) Integer.


8. The field-string does not contain header-line

a) True b) False


9. Internal table can be shared by every-one.

a) True b) False


10. State one example of field-string , Internal table ( syntactically ).


11. FILLER is a reserve word in ABAP/4.

a) True b) False


12. MOVE-CORRESPONDING <f 1 >to <f2 >transports values

a) field by field
b) string by string
c) table by table.









13. The size of the table can be changed dynamically.

a) True b) False


14. If you want to refer to an SAP table structure when declaring an internal table,
you can use _______________ statement within BEGIN OF < tab > ---- END
OF < tab >.


15. The only difference between field-string and internal table is ________
parameter.

a) COUNT b) OCCURS c) NUMBER d) LIKE.


16. Answer in brief difference between APPEND and COLLECT statement.


17. APPEND <tab> SORTED BY <f> sorts the table by field <f > in ________
order by default.

a) Ascending b) Descending c) Both d) none.


18. SORT statement can sort,

a) external as well as internal table.
b) only database table .
c) only internal table.


19. Can you restrict the processing of internal table.

a) True b) False


20. You can read internally tables,

a) only sequentially,
b) only direct,
c) both, sequentially as well as direct,
d) none of the above.



21. ____________, system field keeps track of each loop pass in LOOP statement.

a) SY-TABIX b) SY-INDEX c) SY-STEPL .


22. Name the control breaks used during processing of an internal table with the
LOOP statement.


23. With INSERT, a new line is inserted with the contents of header line _________
the current line.

a) on b) after c) before d) none of them.


24. _________ deletes all table lines, but storage space is not released.
_________ initializes the header line.
_________ releases the storage space.


25. Answer in brief the difference between LINES parameter and OCCURS
parameter in DESCRIBE statement.


26. Within an ABAP/4 editor can you invoke another editor?

a) Yes b) No.





















ANSWERS TO Qui z 3 ANSWERS TO Qui z 3

1. False

2. False

3. b)

4. b) , subsequent statements in the current processing block are
not executed.

5. True

6. a)

7. Character

8. True

9. False

10. Field string : BEGIN OF REC,
Name (10),
END OF REC.

Internal table : BEGIN OF REC OCCURS 10,
Name (10),
END OF REC.

11. False.

12. a).

13. False.

14. INCLUDE STRUCTURE.

15. OCCURS.



16. The APPEND statement appends the contents of the header
line at the end of the internal table.
The COLLECT statement includes the header line of an
internal table in the table as the new entry or adds it to an
existing entry of the same type.

17. Descending.

18. c) , only internal table.

19. Yes

20. c) both, sequentially as well as direct.

21. SY-TABIX.

22. AT FIRST --- ENDAT.
AT NEW <field>------ ENDAT.
AT END OF <field> ------ENDAT.
AT LAST------ENDAT.

23. before.

24. Refresh , Clear, Free.

25. The LINES parameter allows you to find out the number of
existing table entries.
The OCCURS parameter contains the OCCURS value as
specified in the definition.

26. Yes.

You might also like