It’s time to put what you’ve learned to the test, get 8 questions right to pass this unit.
Q1.
Which of the following statements about exceptions are true?
There are two correct answers.
A
All uncaught exceptions lead to runtime errors.
B
Some exceptions are catchable, others are uncatchable.
C
All execptions are catchable.
D
A TRY...ENDTRY block must contain at least two CATCH statements.
Q2.
The result of the expression result = var MOD 2. is 1. What does this tell you about the value of variable var?
Choose the correct answer.
A
var is an odd number.
B
var is an even number.
Q3.
When you declare an internal table, you must specify how many rows it may contain.
Choose the correct answer.
A
True
B
False
Q4.
What information do you see when you position the mouse pointer over a variable in the debugger?
Choose the correct answer.
A
The data type of the variable
B
The current contents of the variable
C
The current memory consumption of the variable
Q5.
The IF condition IF a > 10. is followed by the ELSEIF condition ELSEIF a = 25.The variable a has the value 25. Which code branch or branches are executed?
Choose the correct answer.
A
The branch introduced by IF a > 10.
B
Both branches.
C
The branch introduced by ELSEIF a = 25.
Q6.
Which of the following predefined ABAP types are complete?
There are two correct answers.
A
I
B
P
C
C
D
D
Q7.
You declare a variable as follows: DATA var TYPE I VALUE 100. Subsequently, you use the statement CLEAR var. What is the value of var after the CLEAR statement?
Choose the correct answer.
A
100
B
0
Q8.
Which of the following can you use to denote a comment in ABAP?
There are two correct answers.
A
" anywhere in the line
B
// at the beginning of a line
C
* at the beginning of a line
D
-- anywhere in the line
Q9.
You want to concatenate two strings. Which is the correct operator?
Choose the correct answer.
A
++
B
&&
C
&
D
+
Q10.
When you press F8 (Continue) in the debugger, where could the program processing next stop?