NET, IAS, State-SET (KSET, WBSET, MPSET, etc.), GATE, CUET, Olympiads etc.: Computer Science MCQs (Practice_Test 2 of 6)

Doorsteptutor material for competitive exams is prepared by world's top subject experts: get questions, notes, tests, video lectures and more- for all subjects of your exam.

  1. Before a program written in high language can be executed, it must be translated into
    1. block structural language
    2. machine language
    3. structural programming language
    4. none of the above
  2. A loop is usually the easiest way to perform a repetition task such as printing a list of
    1. a few names
    2. several hundred names
    3. One name only
    4. none of the above
  3. The syntax of a language can be described using syntax diagrams, such as those for
    1. Pascal
    2. loop
    3. sequence
    4. none of the above
  4. A program that adds three numbers together and determines the average is a
    1. loop
    2. term
    3. sequence
    4. none of the above
  5. Those languages which are strongly oriented toward the programmer rather than toward the computer, they are termed as
    1. machine language
    2. high-level language
    3. assembly language
    4. none of the above
  6. Pascal contains statements that allow the programmer to efficiently alter the flow of program execution by using decision
    1. structure only
    2. loops only
    3. structures and loops
    4. none of the above
  7. In block-structured language, programs are com-posed of subprograms or blocks, each designed to perform a
    1. decision structures
    2. loop
    3. specific task
    4. none of the above
  8. The important feature of Pascal is that it is a general-purpose
    1. programming language
    2. high level language
    3. source program
    4. none of the above
  9. Pascal programs are usually translated into machine language by a
    1. batch processing
    2. computer
    3. block
    4. none of the above
  10. There is no limit to the length of
    1. Pascal program
    2. structured programming language
    3. an identifier
    4. none of the above
  11. Assembly languages also referred to as
    1. high language program
    2. low-level languages
    3. machine language
  12. Peripheral devices consist of input devices, out-put devices
    1. logical operation
    2. secondary storage device
    3. arithmetic operation
    4. none of the above
  13. The primary storage unit temporarily stores data, programs
    1. physical components
    2. peripheral devices
    3. processing results
    4. none of the above
  14. The central processing unit consists of the arithmetic/logic unit, which performs arithmetic and logical operations, and the control unit, which controls the operations of:
    1. CPU
    2. ALU
    3. peripheral devices
    4. none of the above