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
React Basics Quiz

Quiz
•
Professional Development
10 questions
SHS training

Quiz
•
Professional Development
10 questions
Nodejs: Database

Quiz
•
Professional Development
10 questions
Apple Teacher Quiz

Quiz
•
Professional Development
10 questions
PreTraining4PillarsOOP

Quiz
•
Professional Development
10 questions
Muebles Continental 12 oct 23

Quiz
•
Professional Development
10 questions
TEACHING APTITUDE

Quiz
•
Professional Development
10 questions
Day 4 Revision

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade