0

programming languages Online Quiz - 4

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

Which of the following relational operator is not allowed in the START statement?

  1. > &

  2. >=

  3. =

  4. <=


Correct Option: D

A COBOL 85 program can invoke routines written

  1. C

  2. C++

  3. PASCAL

  4. FORTAN

  5. TAL

  6. All of the above


Correct Option: F
  1. IMMEDIATE

  2. ABORT

  3. ORDERLY

  4. All of the above

  5. None of the above


Correct Option: D

The DELETE statement does not remove a record from

  1. RELATIVE files

  2. SEQUENTIAL files

  3. INDEXED files

  4. NONE OF THESE


Correct Option: B
  1. Disk drive and Disk controller

  2. Disk process and CPU

  3. An application process and Entire system

  4. Both a, b and c


Correct Option: D

What are the features of TMF?

  1. Consistency

  2. Fault Tolerant Records

  3. Roll Back

  4. Locking

  5. All of the above


Correct Option: E

SCUP operates on the SCREEN COBOL object library by recompiling the source program

  1. True

  2. False


Correct Option: B

Can a SEARCH be applied to a table which does not have an INDEX defined?

  1. True

  2. False


Correct Option: B

PROGRAM-ID is optional paragraph in any program

  1. True

  2. False


Correct Option: B

An object within a pathway system can be independently referenced, configured and controlled

  1. True

  2. False


Correct Option: B

Which mode of opening is required when REWRITE is used?

  1. INPUT

  2. OUTPUT

  3. I-O

  4. EXTEND

  5. All of the above

  6. None of the above


Correct Option: C

AI Explanation

To understand which mode of opening is required when the REWRITE statement is used, let's go through each option:

Option A) INPUT - This option is incorrect because the INPUT mode is used for reading data from a file, not for rewriting existing data.

Option B) OUTPUT - This option is incorrect because the OUTPUT mode is used for writing data to a file, not for rewriting existing data.

Option C) I-O - This option is correct because the I-O mode (Input-Output) is used when you want to both read and rewrite existing data in a file. The REWRITE statement is used specifically to rewrite existing records within a file.

Option D) EXTEND - This option is incorrect because the EXTEND mode is used to add new records to the end of a file, not for rewriting existing data.

Option E) All of the above - This option is incorrect because not all of the above options are required when using the REWRITE statement. Only the I-O mode is required.

Option F) None of the above - This option is incorrect because the correct answer is option C, I-O.

Therefore, the correct answer is option C, I-O. This option is correct because the I-O mode is required when using the REWRITE statement to rewrite existing records in a file.

When starting a server class, PATHMON repeats the server start up operations for the total number of processes specified by the NUMSTATIC attribute

  1. True

  2. False


Correct Option: B

How much storage is occupied for COMP data items of 5 through 9 range

  1. 2

  2. 4

  3. 8

  4. 5


Correct Option: B
- Hide questions