Test 2 - SAP Certified Back-End Developer - OO & Core Programmin

Quiz
•
Professional Development
•
Professional Development
•
Easy
Gheorghe Valer
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Abstract Class in ABAP Object-Oriented programming?
A class that cannot be instantiated and is used as a base class
A class that provides a complete implementation of all its methods
A class designed only for data storage
A class that can be instantiated but cannot have methods
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In a subclass “subl” you want to redefine a component of a superclass “superl”. How do you achieve this?
You add the clause REDEFINITION to the component in “subl”.
You implement the redefined component for a second time in “superl”.
You implement the redefined component in “subl”.
You add the clause REDEFINITION to the component in “superl”.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A class “my_class” contains the public static method “my_method”. What is the correct code to call this method?
my_class->my_method( ).
my_class=>my_method().
my_class=>my_method( ).
my_class->my_method().
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A functional method must have:
No changing parameters
Exactly one exporting parameter
Exactly one returning parameter
Exactly one importing parameter
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Your class contains a public instance attribute attr. How could you ensure that its value can only be changed within the class?
Leave it in the public section but use the READ-ONLY addition.
Convert it into a constant.
Make it a private attribute.
Move it to a different local class.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
For the assignment, gv_target = gv_source. Which of the following data declarations will always work without truncation or rounding?
DATA gv_source TYPE string, to DATA gv_target TYPE c.
DATA gv_source TYPE c. to DATA gv_target TYPE string.
DATA gv_source TYPE d. to DATA gv_target TYPE string.
DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In ABAP, what is the purpose of the 'Field-Symbols' keyword?
To declare a constant
To create a reference to a memory area
To define a new data structure
To initialize a global variable
8.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are valid sort operations for internal tables?
Sort a standard table using:
SORT itab ASCENDING.
Sort a sorted table using:
SORT itab BY fieldl ASCENDING field2 DESCENDING.
Sort a standard table using:
SORT itab BY field1 field2.
Sort a standard table using:
SORT itab.
Sort a sorted table using:
SORT itab DESCENDING.
Similar Resources on Wayground
10 questions
Class 4 review

Quiz
•
Professional Development
10 questions
Review Guidelines 1-3 (Academic Language for ELLs)

Quiz
•
Professional Development
10 questions
ĐG giáo dục (1)

Quiz
•
Professional Development
10 questions
5S Test

Quiz
•
Professional Development
10 questions
mcq1-7

Quiz
•
Professional Development
10 questions
About my school counselor

Quiz
•
Professional Development
13 questions
Halloween Trivia

Quiz
•
Professional Development
10 questions
Wheel of Emotion

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade