0

programming languages Online Quiz - 40

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

There are 4 divisions in a cobol program. Which of the following is not one of them?

  1. Identification Division

  2. Linkage Division

  3. Data Division

  4. Procedure Division


Correct Option: B

User defined names must follow which one of the following rules?

  1. Multiple word names must be separated with an underscore

  2. Names must be 10 or less characters

  3. Names must contain at least 1 alpha character in any position.

  4. Names must be lower case


Correct Option: C
  1. All of these answers.

  2. This is an alternate name for the 05 name.

  3. This is a breakdown of the 05 field.

  4. This is another format for the field.


Correct Option: C

Condition names are names associated with a field that take on a true/false status depending on whether their value is equal to the field value. They are indicated by a level number of what?

  1. 05

  2. 66

  3. 88

  4. 77


Correct Option: C

If a field is defined as Pic s9(6)v99 comp-3, it uses 5 bytes of storage.

  1. True

  2. False


Correct Option: B

If we are limited to 5 bytes of storage, is there be a way to store a complete 8 digit date?

  1. True

  2. False


Correct Option: B
  1. Does not compile

  2. Throws IllegalFormatConversionException

  3. Prints 222.46

  4. Prints 222.45


Correct Option: C
  1. The Object class does not provide any implementation for the hashCode method; every class must override it

  2. As far as it may be practically possible, the hashCode method defined by the Object class does return distinct integers for distinct objects

  3. For two object references referring to the same object, the hashCode method returns the same integer

  4. It returns a fixed number that internally represents the Object class for the JVM

  5. Only choice D is correct


Correct Option: B
  1. kill the process

  2. To run the process even you shutdown the terminal

  3. display your terminal

  4. help command


Correct Option: B
  1. copies a file

  2. delete a file

  3. rename a file

  4. move a file


Correct Option: A

Grep Command ?

  1. compares two directories

  2. compares the two files

  3. To search one or more files to match an expression

  4. To make links to existing files


Correct Option: C
  1. to change ownership of a file or directory

  2. used to schedule jobs

  3. stream line editor

  4. scripting language builtin on all unix systems


Correct Option: D
- Hide questions