0
Alien head

programming languages Online Quiz - 233

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

ARITH compiler option allows you to :

  1. (1) Compute the arithmetic operations

  2. (2) Control the maximum number of digits allowed for decimal numbers

  3. (3) Control the inappropriate datatype if it is used by mistake

  4. (4) Identify the sign of the variable being used in the program


Correct Option: B

LINKAGE SECTION of the calling program contains?

  1. (1) All data-names which have been used in program

  2. (2) The description of the department code that is passed, using the USING clause of the CALL statement

  3. (3) Address of the deparment code that is passed ,using the USING clause of the CALL statement

  4. (4) All the above


Correct Option: B

Which one is true in the following statements?

  1. (1) A smaller CISZ results in faster retrieval for random processing at the expense of inserts

  2. (2) A larger CISZ is less efficient for sequential processing

  3. (3) A larger CISZ is less efficient for random processing

  4. (4) A smaller CISZ results in slower retrieval for sequential processing at the expense of inserts


Correct Option: A

What is mean by EF1OPENI?

  1. (1) Reads a record from the external file and checks the file status code

  2. (2) The main program, which calls all the subprograms and then verifies the contents of a record area

  3. (3) Opens the external file for input and checks the file status code

  4. (4) Opens the external file for input and checks the file status code


Correct Option: D

With Enterprise COBOL, we can not invoke IMS facilities using the CBLTDLI call interface

  1. True

  2. False


Correct Option: B

What is the Performance considerations using AWO?

  1. (1) One program using variable-length files and AWO was 88% slower than NOAWO.

  2. (2) On the average, AWO was equivalent to NOAWO

  3. (3) One program using variable-length files and AWO was 88% faster than NOAWO

  4. (4) All the above


Correct Option: C

Why we use NAME Compiler Option?

  1. (1) Use NAME to generate a link-edit NAME card for each object module.

  2. (2) You can also use NAME to generate names for each load module when you are doing batch compilations.

  3. (3) When NAME is specified, a NAME card is appended to each object module that is created

  4. (4) All the above.


Correct Option: D

what is the benefit of Using an external file ?

  1. (1) Even though the main program does not contain any input or output statements, it can reference the record area of the file.

  2. (2) Each subprogram can control a single input or output function, such as OPEN or READ.

  3. (3) Each program has access to the file.

  4. (4) All the above


Correct Option: D

Procedure pointers are more efficient than function pointers for ?

  1. (1) C/C++-to-COBOL programs calls

  2. (2) COBOL-to-C/C++ programs calls

  3. (3) COBOL-to-COBOL programs calls

  4. (4) C/C++-to-C/C++ programs calls


Correct Option: C

What is the Performance considerations using FASTSRT?

  1. (1) One program that processed 100,000 records was 35% faster when using FASTSRT compared to using NOFASTSRT

  2. (2) One program that processed 100,000 records was 35% slower when using FASTSRT Compared to using NOFASTSRT

  3. (3) One program that processed using FASTSRT and NOFASTSRT are ssame.

  4. (4) None of the above


Correct Option: A

In COBOL, IMS message processing programs (MPPs) do not use non-IMS input or output statements such as READ, WRITE, REWRITE, OPEN, and CLOSE

  1. True

  2. False


Correct Option: A

In a COBOL program it is possible to specify another entry point at which a program will begin running by using the ENTRY label in the called program, it is called as?

  1. (1) Dynamic entry point

  2. (2) Alternate entry point

  3. (3) Static entry point

  4. (4) Normarl enrty Point


Correct Option: B

Which one of the following is true about Performance considerations for COMP-5?

  1. (1) Using 5 to 9 digits is 35% faster than using 1 to 4 digits.

  2. (2) Using 10 to 18 digits is 2200% slower than using 1 to 4 digits.

  3. (3) using an odd number of digits is 5% to 20% faster than using an even number of digits

  4. (4) Using the 16 to 18 digits is up to 140% slower than using 1 to 15 digits


Correct Option: B

Procedure pointers are data items defined by which of the following clause?

  1. (1) USING PICTURE Clause

  2. (2) The USAGE IS FUNCTION-POINTER clause

  3. (3) The USAGE IS PROCEDURE-POINTER clause

  4. (4) The USAGE IS FUNCTION-ADDRESS clause


Correct Option: C

Which of the following is most efficient access procedure?

  1. (1) Random access

  2. (2) Static access

  3. (3) Dynamic access

  4. (4) Sequential access


Correct Option: D

EFFILE comes under

  1. (1) FILE-CONTROL

  2. (2) FILE SECTION

  3. (3) WORKING-STORAGE SECTION

  4. (4) Procedure division


Correct Option: B

EFSELECT comes under

  1. (1) FILE-CONTROL

  2. (2) FILE SECTION

  3. (3) WORKING-STORAGE SECTION

  4. (4) Procedure division


Correct Option: A

What is the function of EF1READ?

  1. (1) It reads a record from the internal Record.

  2. (2) Reads a record from the external file and checks the file status code

  3. (3) The main program, which calls all the subprograms and then verifies the contents of a record area

  4. (4) Reads a record from the external file,checks the file status code and writes the same record into the external file.


Correct Option: B

What is the function of EF1OPENO?

  1. (1) Opens the external file for output and checks the file status code

  2. (2) The main program, which calls all the subprograms and then verifies the contents of a record area

  3. (3) Opens the external file for input and checks the file status code

  4. (4) Reads a record from the external file and checks the file status code


Correct Option: A

Even though the main program does not contain any input or output statements, it can reference the record area of the file

  1. True

  2. False


Correct Option: A
+ View questions