0

programming languages Online Quiz - 173

Description: programming languages Online Quiz - 173
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Map m = Collection.synchronizeMap(hashMap);

  2. Map m = Collections.synchronizeMap(hashMap);

  3. Map m = hashMap.synchronizeMap();

  4. none


Correct Option: B

What does this program do ? public class Null { public static void greet() { System.out.println("Hello world!"); } public static void main(String[] args) { ((Null) null).greet(); } }

  1. Hello world!

  2. Throw a NullPointerException

  3. Won't even compile

  4. Run time error


Correct Option: A

For a COBOL program -

  1. EXE is created for the called program and DLL is created for the calling program

  2. EXE is created for the calling program and DLL is created for the called program

  3. EXE is created for the both, called program and calling program

  4. DLL is created for the both, called program and calling program


Correct Option: B

All M0 is not the part of core modules

  1. True

  2. False


Correct Option: A
  1. HC9999M1WC3

  2. HC9999M1

  3. HC9999M2

  4. HC9999R0

  5. HC9999CD

  6. All of the above


Correct Option: F

For a M0 program , main input can be

  1. A File with .txt extension

  2. A File with .dat extension

  3. A File with .xml extension

  4. Tables in the SQL database

  5. All of these

  6. None of these


Correct Option: E
  1. An Index File

  2. A Sequential File

  3. It creates tables in the database

  4. None of these


Correct Option: B

Output file of a M0 program can has the extension

  1. .TXT

  2. .DAT

  3. .CON

  4. .COD

  5. .EXE


Correct Option: C,D

Main tasks of the M1 processing are

  1. Application of WC3 components

  2. Householding based Sorting

  3. Report Generation

  4. PDF generation


Correct Option: A,B
  1. CON File

  2. Invalid File

  3. Member-File

  4. Thincard feed

  5. K1DBloader File


Correct Option: C
- Hide questions