Competitive Exams: Computers MCQs (Practice-Test 18 of 21)

  1. Machine language is the only language that the computer can directly execute and is different for each type of

    1. hardware computer only

    2. supercomputer only

    3. computer

    4. none of the above

  2. The three categories of programming languages are: Machine language, assembly language

    1. structured programming language

    2. high-level languages

    3. subprograms

    4. none of the above

  3. A computer can only execute instructions that are in

    1. assembly language

    2. machine language

    3. job control program

    4. none of the above

  4. The job control program translates the job control commands written by a programmer into

    1. high-level language

    2. assembly language

    3. machine language

    4. none of the above

  5. Application programs are the programs that meet

    1. machine language needs

    2. job control program needs

    3. user's needs

    4. none of the above

  6. When computers were first developed, machine language was the only way they could

    1. be programmed

    2. not be programmed

    3. both A & B

    4. none of the above

  7. Often assembly language instructions will execute faster than those written in

    1. machine language

    2. high-level language

    3. Pascal

    4. none of the above

  8. Pascal can be used to write a wide variety of programs, from those that are highly scientific to those that are strongly

    1. business oriented

    2. general oriented

    3. source oriented

    4. none of the above

  9. In Pascal, there is no limit to the length of an identifier, but some compilers only recognize the

    1. four characters in the identifier

    2. three characters in the identifier

    3. eight characters in the identifier

    4. none of the above

  10. The formulation of user-defined identifiers should allow the rules for

    1. identifiers

    2. operations

    3. computer

    4. none of the above

  11. A storage location whose value can change during program execution is referred to as

    1. integer

    2. variable

    3. zero integer

    4. none of the above

  12. An integer is a signed or. Unsigned

    1. a few numbers

    2. only one number

    3. whole number

    4. none of the above

  13. Variable of data type Boolean can represent only one of the two values

    1. zero and one

    2. true or false

    3. three or four

    4. none of the above

  14. The data type char contains all of the characters that can be represented by a given

    1. identifier

    2. program

    3. computer system

    4. none of the above

  15. The variable of type char can contain only a single character

    1. of all time

    2. at a time

    3. at the beginning

    4. none of the above