GoConqr has a new look! Let us know what you think.

Quiz

Chapter 3 multiple choice questions

Naina Minhas 22 questions

Take the quiz

Questions in this quiz (22)

  1. 1The following is an example of a module _________________. Call showNetPay()
    1. ABody
    2. BDisplay
    3. CHeader
    4. DExecution
  2. 2To execute a module we must ____________ it.
    1. ACall
    2. BInput
    3. Cdefine
    4. DDisplay
  3. 3Which type of variable is visible to every module and the entire program?
    1. AGlobal
    2. BLocal
    3. CPass by variable
    4. DReference
  4. 4______________ variables are useful for establishing two-way communication between modules.
    1. AValue
    2. BConstant
    3. CReference
    4. DI/O
  5. 5When possible, you should avoid using ____ variables in a program.
    1. Alocal
    2. Bglobal
    3. Creference
    4. Dparameter
  6. 6The first line of a module definition is known as the _____
    1. Abody
    2. Bintroduction
    3. Cinitialization
    4. Dheader
  7. 7A ______ point is the memory address of the location in the program that the computer will return to when a module ends.
    1. Areturn
    2. Btermination
    3. Cmodule definition
    4. Dreference
  8. 8Which type of variable is not recommended to be used in programs because they make programs hard to understand and debug?
    1. ALocal
    2. BPass by value
    3. CPass by reference
    4. DGlobal
  9. 9A(n) ____ is the part of a program in which a variable may be accessed.
    1. Adeclaration space
    2. Barea of visibility
    3. Cscope
    4. Dmode
  10. 10When _____, only a copy of the argument's value is passed into the parameter variable.
    1. Apassing an argument by reference
    2. Bpassing an argument by name
    3. Cpassing an argument by value
    4. Dpassing an argument by data type

Information

Description
Computer Science Quiz on Chapter 3 multiple choice questions, created by Naina Minhas on 15/10/2022.
Language
English
Views
4
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?