Exam 1 Flashcards
A Standard Table can only have unique keys.
False
The following code illustrates ABAP’s post-test iteration mechanism: varX = 10. DO. WRITE /’Hi’. varX = varX + 1. WHILE varX < 10.
False
Modification, which is changing the core source code of an ERP system to reflect how the customer wants the software to behave, is also called configuration.
False
To make use of the keyword documentation built into the ABAP editor, place your cursor on a keyword and press the __ key to activate the help feature for that word.
F1
Write an ABAP code sequence to do the following: Test to see whether that data object “grade” (which has already been defined)) is greater than or equal to 90. If so, write to output the message “Great”. If it is not, write out the message “Not great”.
IF grade >= 90. WRITE ‘Great’. ELSE. WRITE ‘Not great’. ENDIF.
All system development objects (programs, functions, etc.) are stored in the system __. (Note: database is not an acceptable answer.)
Repository
Sequential row/record access is not possible with a hashed internal table.
False
Within a loop, an EXIT statement causes the loop to terminate immediately with control flow resuming at the first statement that immediately follows the loop.
True
Programs move between various systems in a company landscape via ___.
Transports
In my ABAP program I have created a structure named S1. I wish to set the field “name” which is contained in S1 to the value “Bob”. Write the line of code to accomplish this.
S1-name = ‘Bob’.
Write a code sequence that will print the word “Hello” on the screen 100 times, which each “Hello” appearing a separate line. Immediately before the “Hello” print the count of how many hellos have been output to that point (i.e. the line or iteration number).
DO 100 TIMES. WRITE SY-INDEX. WRITE / ‘Hello’. ENDDO.
Any SAP ERP user with system access can use transaction code SE80 to write an ABAP program and execute it on the system.
False
Although it is common for each ‘row’ in an internal table to be a structure, it is possible for an internal table to be based on a simpler data type, such as an integer or float. In this respect an internal table is similar to an array.
True
Use of text symbols contained within the text pool allow us to create programs that can create output in varying languages.
True
Within our ABAP code, var1 is declared to be of integer type with an initial value of 14. var2 is declared to be “like var1”. Based on this declaration, var2 will have an initial value of 14.
False
Which of the following symbols is used for end-of-line comments?
”
Write an ABAP code sequence to do the following: Test to see whether that data object “class” (which has already been defined)) is 16. If so, write to output the message “Senior”. If it is 15, write out the message “Junior”. If it is 14, write out “Sophomore”. If it is 13, write out “Freshman”. Otherwise, write out “none”. Do not use an IF statement to do this.
CASE class. WHEN ‘16’. WRITE ‘Senior’. WHEN ‘15’. WRITE ‘Junior’. WHEN ‘14’. WRITE ‘Sophomore’. WHEN ‘13’. WRITE ‘Freshman’. WHEN OTHERS. WRITE ‘none’. ENDCASE.
The literal string “Hello” has already been written to output in an ABAP program. You wish to output the word “Hi” such that it appears directly below the word “Hello” in output. Write the line of ABAP code that will do this.
WRITE ‘Hi’ UNDER ‘Hello’.
ABAP as originally created was not an object-oriented language, however it was later enhanced to add that feature.
True
Of the two ABAP default data types of storing character data, c is incomplete, string is complete and dynamic.
True
The FIND operation that can be done on strings is one example of a system operation that uses SY-SUBRC to indicate the outcome of the requested operation.
True
The size of an internal table is dynamic. The number of records is restricted only by the capacity of the system.
True
Within a three-tiered architecture, the ___ layer is responsible for the ongoing storage of system data.
Database
The following two lines are code are identical in their effect if placed within an ABAP program: WRITE 6 ‘Hello’. WRITE /6 ‘Hello’.
True
There is no meaningful difference between a standard internal table with no keys defined and one that has keys defined.
True
Using the term VALUE CHECK in a PARAMETERS statement will cause the user’s input to be checked against the Domain Data for the Data Type used in the statement.
True
A Hashed Table must have unique keys.
True
With a loop the statement below is encountered: CHECK x = 3. The meaning of this is that if x is equal to 3, the next statement is executed. If x is not equal to 3, the next iteration of the loop is executed.
True