Quiz-summary
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
You call yourself an ABAP Techie then test your knowledge in SAP ABAP Predefined types!
Provide your name and email and click the Start Quiz Button
At the end of the Quiz, Remember to click the Send button to add your name to the leader board and receive your Free Guide to SAP ABAP Predefined data types in your inbox.
You must specify a text. |
|
You must specify a text. |
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Liked this test!! Then share this Quiz with your friends and challenge them too.
Click the Send button to add your results to the Leaderboard.
-
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
1 pointsPredict the output of the following program:
Correct
Right !!
Output will be 5 and not 0 or 15. Good Job
Incorrect
Wrong!!
Output will be 5 because the default length of data type N is 1 and it stored from right to left.
-
Question 2 of 20
2. Question
1 pointsPredict the output of the following code:
Correct
Good Job!!
The system cannot store a numeric value in a character field.
If you want the system to consider 20 as a character you will need to default it with quotes as follows:
PARAMETERS p_string TYPE C DEFAULT ’20’.
Incorrect
Wrong Answer!!
The system cannot carry a numeric value in a character field.
If you want the system to consider 20 as a character you will need to default it with quotes as follows:
PARAMETERS p_string TYPE C DEFAULT ’20’.
-
Question 3 of 20
3. Question
1 pointsPredict the output of the following code:
Correct
Right!!
Incorrect
Yikes!! Wrong Answer
Remember P data type is very specific for numeric data with fixed number of decimal places unlike F which is used for floating point decimal places. So characters cannot be stored in P data type.
-
Question 4 of 20
4. Question
1 pointsPredict the output of the following program:
Correct
Incorrect
Opps .. Wrong answer:
Remember data-type C default length is 1 character.
-
Question 5 of 20
5. Question
1 pointsPredict the output of the following program:
Correct
The following message will be displayed when try to you activate the program
Incorrect
The following message will be displayed when try to you activate the program
-
Question 6 of 20
6. Question
1 pointsWhich of these is not a predefined ABAP data type?
Correct
Incorrect
-
Question 7 of 20
7. Question
1 pointsPredict the output of the following code:
Correct
Incorrect
-
Question 8 of 20
8. Question
1 pointsPredict the output of the following code:
Correct
Remember : X is BYTE data type. Its default lenght is 1 byte and hence stores values from 00 to FF.
So Decimal 9 =09 10 = 0A, 11 = 0B, 15 = 0F, 16 = 10, 17 = 11, 20 = 14
Incorrect
Remember : X is BYTE data type. Its default lenght is 1 byte and hence stores values from 00 to FF.
So Decimal 9 =09 10 = 0A, 11 = 0B, 15 = 0F, 16 = 10, 17 = 11, 20 = 14
-
Question 9 of 20
9. Question
1 pointsPredict the output of the following code:
Correct
The system just consider 20 as the day from the first day in the system and starts from 01 and add 20 to it.
Hence you get a day 01210001
Incorrect
The system just consider 20 as the day from the first day in the system and starts from 01 and add 20 to it.
Hence you get a day 01210001
-
Question 10 of 20
10. Question
1 pointsPredict the output of the following code:
Correct
Right!!
Data types N and C are both similar. Their default length is 1
The only difference is
1. C allows you to provide character input while N allows only number 0 to 9
2. C Initial value is space while N initial value is 0.
Since here p_string is of length 1 so 2 from 20 gets truncated and only 0 remains hence the output is 0.
Incorrect
Wrong Answer!
Data types N and C are both similar. Their default length is 1
The only difference is
1. C allows you to provide character input while N allows only number 0 to 9
2. C Initial value is space while N initial value is 0.
Since here p_string is of length 1 so 2 from 20 gets truncated and only 0 remains hence the output is 0.
-
Question 11 of 20
11. Question
1 pointsPredict the output of the following code:
Correct
Righto !!
That was a trick question. You got it right !!
Incorrect
Wrong Answer!!
Notice this is not a PARAMETER.
Its a variable – DEFAULT is only used for parameters. For variables you will use VALUE.
-
Question 12 of 20
12. Question
1 pointsPredict the output of the following code:
Correct
Right!!
d is date datatype and default length is 8 characters for YYYYMMDD
So BEGI = YYYY, NN becomes MM and ER becomes DD
Hence output MMDDYYYY = NNERBEGI
Incorrect
Wrong Answer!!
d is date datatype and default length is 8 characters for YYYYMMDD
So BEGI = YYYY, NN becomes MM and ER becomes DD
Hence output MMDDYYYY = NNERBEGI
-
Question 13 of 20
13. Question
1 pointsPredict the output of the following program:
Correct
Awesome !!
Remember X data type’s standard length is 1 byte and its standard value range 00 to FF.
So BE just gets represented as it is. ( ‘BE’ falls in the 00 to FF range ).
Can you predict the decimal conversion for the hexadecimal number ‘BE’.Incorrect
🙁 — Sorry wrong answer !!
Remember X data type’s standard length is 1 byte (2 places) and its standard value range 00 to FF.
So BE just gets represented as it is. ( ‘BE’ falls in the 00 to FF range ).
Can you predict the decimal conversion for the number hexadecimal number ‘BE’.
-
Question 14 of 20
14. Question
1 pointsPredict the output of the following program:
Correct
Incorrect
-
Question 15 of 20
15. Question
1 pointsPredict the output
Correct
Incorrect
-
Question 16 of 20
16. Question
1 pointsPredict the output of the following program:
Correct
Right !!
Incorrect
Wrong answer 🙁
Remember P is for packed (fixed point numbers) only. The system cannot store a character string in it.
-
Question 17 of 20
17. Question
1 pointsPredict the output of the following program:
Correct
Incorrect
-
Question 18 of 20
18. Question
1 pointsPredict the output of the following program:
Correct
Super !!
That was a tricky question. You nailed it.
Good Job.
Incorrect
Yikes!! Wrong answer
Remember X is hexadecimal and its default length is 1 byte. Its default value range is 00 to FF.
Here the system stores the first two letters, 1 and decimal point in lv_string.
and then writes the hexadecimal interpretation of it as 10. -
Question 19 of 20
19. Question
1 pointsPredict the output of the following program:
Correct
Right!!
Incorrect
Wrong!!
T data type is for time to stores values in the format “hhmmss”.
So it behaves like a character data C with length 6. -
Question 20 of 20
20. Question
1 pointsPredict the output of the following program:
Correct
Incorrect
i am confused with this question i take a picture and comment later.
thanks
nice quiz..
Hi Sai,
Glad you liked the quiz..
More nicer will be the guide I will send you since I can see your name in the leader-board.
Great Job. Thanks for participating.
—
Linkin
Hi!
This one needs to be checked again 😉
On 7.40 you cannot generate the report. Syntax Error 😉
But the quiz is quite cool! I like it! Good job!