0

programming languages Online Quiz - 231

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

In a Switch construct ,the default statement must be placed after all the case statements.

  1. True

  2. False


Correct Option: B

A method with no access modifier can be overridden by a method marked protected.

  1. True

  2. False


Correct Option: A

When an array is constructed,are its elements automatically initialized?

  1. True

  2. False


Correct Option: A
  1. Compiler Error

  2. Compiles and runs

  3. Runtime Error

  4. None of these


Correct Option: B

Abbreviation for FIND AND PRINT COUNT is

  1. a) FP

  2. b) FPC

  3. c) Both (a) & (b)

  4. d) None of the above


Correct Option: B

Which one of the following terminates the request and returns you to command level

  1. STOP

  2. END

  3. END NORUN

  4. CANCEL


Correct Option: C

The statement which allows you to add new records to m204 file is:

  1. Store

  2. ADD RECORD

  3. STORE RECORD

  4. INSERT RECORD


Correct Option: C
  1. Pass information from one request to another request

  2. Include procedures conditionally at the Model 204 command level

  3. Tailor a request dynamically

  4. All the above


Correct Option: D

What will be the result of $VNUM(’ -256.73 AB’)statement?

  1. -256.73

  2. 256

  3. 0

  4. 1


Correct Option: C

A: IN RSREFR FDWOL RECTYPE = REPORT END FIND PLACE RECORDS IN A ON LIST ABC CT: COUNT RECORDS ON LIST ABC PRINT COUNT IN CT What will be the value of count in label CT

  1. Will be the number of records on LIST ABC

  2. Will be equal to the number of records in label A

  3. Zero

  4. Both (a) & (b) are correct


Correct Option: D
  1. END

  2. SUBROUTINE END

  3. END SUBROUTINE

  4. CLOSE SUBROUTINE


Correct Option: C
  1. BEGIN SUBROUTINE

  2. SUBROUTINE

  3. SUBROUTINE BEGIN

  4. START SUBROUTINE


Correct Option: B
- Hide questions