Search Header Logo

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

Authored by Gheorghe Valer

Professional Development

Professional Development

Used 1+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?