0

programming languages Online Quiz - 157

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

What is the operator to specify the continuation of line

  1. -

  2. &&

  3. &

  4. _&


Correct Option: C

Data: itab type table of but000. (BP number is a primary key)

  1. In the itab you can store more than one same BP number

  2. The internal table also treats the primary key in the same way.

  3. All the above

  4. None of the above


Correct Option: A

WRITE: / 'This is John' 's bicycle'.

  1. This is John''s bicycle

  2. This is John's bicycle

  3. Error

  4. 1 or 2


Correct Option: B

How to initialilze a variable irrespective of the data type

  1. Use statement CLEAR

  2. Var = 0.

  3. initialize var.

  4. VALUE is INITIAL


Correct Option: A

how many size categories are available in tables?

  1. 0 to 3

  2. 0 to 5

  3. 0 to 2

  4. 0 to 4


Correct Option: D

What is Pretty Printer Job

  1. Indent your program

  2. Send your program to printer

  3. Print Preview

  4. All the above


Correct Option: A

ITS means

  1. Internet Transformation Server

  2. Interchange Transaction Server

  3. Internet Transaction server

  4. International Transaction Server


Correct Option: C

If "Fixed point arithmetic " is set as true, then the period in which data type will be affected

  1. P

  2. F

  3. D

  4. I


Correct Option: A

Concatenation function is possible only for

  1. Strings

  2. Characters

  3. Date

  4. All the above


Correct Option: D

LOOP AT ITAB INTO LINE. ENDLOOP.

  1. a. LINE will hold the first record.

  2. b. Error

  3. c. LINE will hold the last record.

  4. d. LINE is empty.


Correct Option: C

data: a, b, c. c = 20. a = b = c. write a, b, c. What is the output for the above program?

  1. 20 20 20

  2. 0 0 20

  3. 0 20 20



Correct Option: D

data: name type string value 'abap,abap.abap.abap,,abap'. Data: itab type table of string. Split name with ',' into table itab.

  1. abap abap.abap.abap abap

  2. abap abap.abap.abap abap abap

  3. abap abap.abap.abap abap

  4. abap abap. abap. Abap


Correct Option: A

DATA: NAME(10) VALUE 'SOURCE', SOURCE(10) VALUE 'Antony', TARGET(10). WRITE (NAME) TO TARGET. WRITE: TARGET. What is the output for the above program?

  1. SOURCE

  2. TARGET

  3. Antony

  4. Error


Correct Option: C

DATA: ULTIMO TYPE D. ULTIMO = SY-DATUM. ULTIMO+6(2) = '01'. ULTIMO = ULTIMO - 1. write: ultimo.

  1. 1 year lesser than current date

  2. 1 month lesser than current date

  3. 1 day lesser than current date

  4. 1 year, 1 month, 1day lesser than current date


Correct Option: C
  1. For telling the record is Included

  2. For telling the record is updated

  3. For telling the value is positive

  4. For telling the value is negative


Correct Option: A

What is the use of "RANGES" - a declarative keyword

  1. Used for Internal table declaration

  2. Used for Select-options declaration

  3. Used for Select-options without Selection screen

  4. Used for parameters without input screen


Correct Option: C

Which of the following is an invalid section header for data devision.

  1. DATA-BASE SECTION

  2. FILE SECTION

  3. COMMUNICATION SECTION

  4. DATA-LOG SECTION


Correct Option: D

Which one of the following is true about the MERGE verb.

  1. Can merge a maximum of three files.

  2. Does not require that the input file to be merged be sorted on the merge keys.

  3. Requires that all files mentioned in the statement must have records of same size

  4. Does not require that the position of the merge keys with in the records descriptions of each of the files must be same.


Correct Option: C

Which of the following is true about the file which is referenced in a DELETE statement

  1. It must be opened in INPUT mode

  2. It must be opened in OUTPUT mode

  3. It must be opened in I-O mode

  4. As in the case of SORT statement, the file must be closed before the use of this statement


Correct Option: C
- Hide questions