0

programming languages Online Quiz - 30

Description: programming languages Online Quiz - 30
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

You can not use generics in structs.

  1. True

  2. False


Correct Option: B

INDEX NAME MUST BE UNIQUE ?

  1. True

  2. False


Correct Option: A

INDEXES CAN NOT BE MANIPULATED BY PERFORM/SET/SEARCH STATEMENTS ?

  1. True

  2. False


Correct Option: B

A SEARCH STATEMENT AUTOMATICALLY INITIALIZE THE INDEX AT 1 ?

  1. True

  2. False


Correct Option: B

INSPECT VERB IS USED TO REPLACE THE OCCURANCES OF SINGLE OR GROUP OF CHARACTERS IN DATA FIELD ?

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand the purpose of the INSPECT verb in programming.

The INSPECT verb is used in some programming languages, such as COBOL, to manipulate data fields. It allows you to search for specific characters or character groups within a data field and replace them with other characters.

Therefore, the statement "INSPECT verb is used to replace the occurrences of single or group of characters in a data field" is true.

The correct answer is A) True.

"OVERFLOW" AND "NOT ON OVERFLOW" OPTIONS CAN BE USED WITH COBOL STRING VERB?

  1. True

  2. False


Correct Option: A

What is the Transaction code for Menu painter?

  1. SE51

  2. SE41

  3. SE38

  4. SE37


Correct Option: B

If a table does not have MANDT as part of the primary key,then it is considered as

  1. A structure

  2. Client Independent

  3. Invalid

  4. Client Dependent


Correct Option: B

AI Explanation

To answer this question, we need to understand the concept of primary keys and client dependency in database tables.

A primary key is a column or a set of columns in a table that uniquely identifies each row. It ensures that each row in the table is uniquely identifiable. The MANDT column is typically used as the primary key in SAP tables to identify the client.

In the given question, if a table does not have MANDT as part of the primary key, it means that it is not dependent on the client. This implies that the table is client independent.

Let's go through each option to understand why it is correct or incorrect:

Option A) A structure - This option is incorrect because a structure is a data type that does not have primary keys or dependencies.

Option B) Client Independent - This option is correct because if a table does not have MANDT as part of the primary key, it means that it is not dependent on the client. Hence, it is considered as client independent.

Option C) Invalid - This option is incorrect because the absence of MANDT as part of the primary key does not make the table invalid. It only indicates that the table is not dependent on the client.

Option D) Client Dependent - This option is incorrect because if a table does not have MANDT as part of the primary key, it means that it is not dependent on the client. Hence, it is considered as client independent.

The correct answer is B) Client Independent. This option is correct because if a table does not have MANDT as part of the primary key, it means that it is not dependent on the client.

  1. CALL FUNCTION

  2. CALL SCREEN

  3. CALL TRANSACTION

  4. CALL PROGRAM


Correct Option: D
Explanation:

To understand this question, the user needs to know about CALL statements in programming. CALL statements are used to call other programs or functions within a program.

Now, let's go through each option and explain why it is right or wrong:

A. CALL FUNCTION: This is a valid statement in programming. It is used to call a specific function within a program.

B. CALL SCREEN: This is also a valid statement in programming. It is used to call a specific screen within a program.

C. CALL TRANSACTION: This is a valid statement in programming. It is used to call a specific transaction within a program.

D. CALL PROGRAM: This is NOT a valid statement in programming. The correct statement is CALL FUNCTION, which is used to call a specific function within a program.

Therefore, the answer is: D

What is the system field for the current date?

  1. SY-SDATE

  2. SY-DATE

  3. SY-DATUM

  4. SY-DATID


Correct Option: C
  1. LOOP AT itab. _ ENDLOOP.

  2. SELECT SINGLE * FROM itab.

  3. READ itab.

  4. READ TABLE itab.


Correct Option: D
  1. Adding technical settings to the table

  2. Checking the table syntax

  3. Saving the table

  4. Activating the table


Correct Option: D
  1. 8 characters

  2. 128 characters

  3. 255 characters

  4. Any length


Correct Option: A,B,C,D
- Hide questions