logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Object Oriented Programming Using C++ Comments

  • Question
  • You mark the beginning of a function's block of code with the _____


  • Options
  • A. /
  • B. *
  • C. {
  • D. }
  • E. either (c) or (d) can be used

  • Correct Answer



  • Object Oriented Programming Using C++ problems


    Search Results


    • 1. The newline character is always included between

    • Options
    • A. pair of parentheses
    • B. pair of curly braces
    • C. control string
    • D. &
    • E. None of the above
    • Discuss
    • 2. Which type of statement does not occur in computer programs?

    • Options
    • A. sequence
    • B. loop
    • C. denial
    • D. selection
    • Discuss
    • 3. The type to be used in an instantiation of a class template follows ________

    • Options
    • A. the generic class name
    • B. the keyword template
    • C. the keyword class
    • D. the template definition
    • Discuss
    • 4. A self-relocating program is one which

    • Options
    • A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
    • B. consists of a program and relevant information for its relocation
    • C. can itself perform the relocation of its address-sensitive portions
    • D. All of the above
    • Discuss
    • 5. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

    • Options
    • A. 0111EF
    • B. 9001E6
    • C. DA000F
    • D. 40
    • Discuss
    • 6. The step-by-step instructions that solve a problem are called _____

    • Options
    • A. an algorithm
    • B. a list
    • C. a plan
    • D. a sequential structure
    • Discuss
    • 7. Some Streams work with input, and some with output

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. Redirection redirects

    • Options
    • A. a stream from a file to the screen
    • B. a file from a device to a stream
    • C. a device from the screen to a file
    • D. the screen from a device to a stream
    • Discuss
    • 9. A base class may also be called a

    • Options
    • A. child class
    • B. subclass
    • C. derived class
    • D. parent class
    • Discuss
    • 10. Of the three ways to pass arguments to functions, only passing by _____ and passing by _____ allow the function to modify the argument in the calling program

    • Options
    • A. reference, pointer
    • B. array, location
    • C. array, pointer
    • D. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment