Tag: programming languages

Questions Related to programming languages

  1. Check table will be at field level checking.

  2. Value table will be at domain level checking

  3. Value table will be at field level checking

  4. Check table will be at domain level checking.


Correct Option: A,B

What are presentation and application servers in SAP?

  1. Application server is actually a program named Sapgui.exe. It is usually installed On a user’s workstation.

  2. Application server is a set of executables that collectively interpret the ABAP/4 Programs and manage the input & output for them.

  3. Presentation server is actually a program named Sapgui.exe. It is usually installed On a user’s workstation.

  4. Presentation server is a set of executables that collectively interpret the ABAP/4 Programs and manage the input & output for them.


Correct Option: B,C
  1. In synchronous processing, the program waits: control returns to the program only when the task has been completed.

  2. In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution.

  3. In asynchronous processing, the program waits: control returns to the program only when the task has been completed.

  4. In synchronous processing, the program does not wait: the system returns control after merely logging the request for execution.


Correct Option: A,B
  1. WS_UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can be transferred.

  2. GUI_UPLOAD - To read data from the presentation server into an internal table without a user dialog, use the function module WS_UPLOAD. The most important parameters are listed below.

  3. GUI_UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can be transferred.

  4. WS_UPLOAD - To read data from the presentation server into an internal table without a user dialog, use the function module WS_UPLOAD. The most important parameters are listed below.


Correct Option: C,D
  1. SAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data be

  2. ABAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.

  3. ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data b

  4. SAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.


Correct Option: C,D

consider the following classes.(class A,class B,class C) which comes under multilevel inheritance?

  1. class A,class B extends A,class C extends B

  2. class A implements B,implements C

  3. class A extends B,extends C

  4. none of the above


Correct Option: A

AI Explanation

To answer this question, we need to understand the concept of multilevel inheritance.

Multilevel inheritance occurs when a class inherits from another class, which in turn inherits from another class.

Let's go through each option to determine which one represents multilevel inheritance:

Option A) class A, class B extends A, class C extends B - This option represents multilevel inheritance because class B extends class A, and class C extends class B.

Option B) class A implements B, implements C - This option represents multiple interface implementation, not multilevel inheritance. In Java, a class can implement multiple interfaces, but it can only extend one class.

Option C) class A extends B, extends C - This option represents multiple inheritance, not multilevel inheritance. In Java, a class can only extend one class.

Option D) none of the above - This option is incorrect because option A represents multilevel inheritance.

Therefore, the correct answer is option A.

  1. one per method

  2. one per object

  3. one per class

  4. one per package


Correct Option: C
  1. public

  2. private

  3. default(no access modifier)

  4. protected


Correct Option: C