C Plus Plus Exam: True Or False Quiz!

96 Questions | Total Attempts: 1440

SettingsSettingsSettings
Please wait...
C Plus Plus Exam: True Or False Quiz!

.


Questions and Answers
  • 1. 
    Programmers use a variety of special languages, called programming languages, to communicate with the computer.  
    • A. 

      True

    • B. 

      False

  • 2. 
    The assembly languages represent the only way to communicate directly with the computer.  
    • A. 

      True

    • B. 

      False

  • 3. 
    High-level languages are a vast improvement over machine and assembly languages because they allow the programmer to use instructions that more closely resemble the English language.  
    • A. 

      True

    • B. 

      False

  • 4. 
    When writing a procedure-oriented program, the programmer concentrates on the major tasks that the program needs to perform.  
    • A. 

      True

    • B. 

      False

  • 5. 
    When used in a program, the repetition structure directs the computer to repeat one or more instructions until some condition is met.  
    • A. 

      True

    • B. 

      False

  • 6. 
    Programs written in a high-level language can be used in many different types of computers.  
    • A. 

      True

    • B. 

      False

  • 7. 
    You can find the sequence structure in every program.  
    • A. 

      True

    • B. 

      False

  • 8. 
    Desk-checking is also called pencil-tracing.  
    • A. 

      True

    • B. 

      False

  • 9. 
    Eliminating errors at the pencil and paper stage makes it much easier to produce a correct program in the later steps of the problem-solving process.  
    • A. 

      True

    • B. 

      False

  • 10. 
    When creating a computer solution to a problem, the first three steps of the problem-solving process can usually be skipped.  
    • A. 

      True

    • B. 

      False

  • 11. 
    After creating the program, the programmer desk-checks the program; this is the sixth step in the problem-solving process for creating a computer program.  
    • A. 

      True

    • B. 

      False

  • 12. 
    Most algorithms begin with an instruction that enters the input items into the computer.  
    • A. 

      True

    • B. 

      False

  • 13. 
    Pseudocode is standardized among programmers.  
    • A. 

      True

    • B. 

      False

  • 14. 
    When planning an algorithm, you need to create both a flowchart and pseudocode.  
    • A. 

      True

    • B. 

      False

  • 15. 
    You desk-check an algorithm to verify that it is not missing any steps and that the existing steps are correct and in the proper order.  
    • A. 

      True

    • B. 

      False

  • 16. 
    Before you begin the desk-check, you first choose a set of sample data for the input values, which you then use to manually compute the expected output values.  
    • A. 

      True

    • B. 

      False

  • 17. 
    You should test an algorithm with invalid data because users sometimes make mistakes when entering data.  
    • A. 

      True

    • B. 

      False

  • 18. 
    Programmers typically desk-check a program using the same sample data used to desk-check the algorithm.  
    • A. 

      True

    • B. 

      False

  • 19. 
    In most programming languages, the names of processing items can contain letters, numbers, underscores, punctuation characters or spaces.  
    • A. 

      True

    • B. 

      False

  • 20. 
    You should perform several desk-checks, using different data, to make sure that the program is correct.  
    • A. 

      True

    • B. 

      False

  • 21. 
    Errors in a program are called hacks.  
    • A. 

      True

    • B. 

      False

  • 22. 
    Logic errors are easier to find than syntax errors.  
    • A. 

      True

    • B. 

      False

  • 23. 
    The file containing the source code is called the source file.  
    • A. 

      True

    • B. 

      False

  • 24. 
    Comments are statements in C++.  
    • A. 

      True

    • B. 

      False

  • 25. 
    Names in C++ are case sensitive.  
    • A. 

      True

    • B. 

      False

Back to Top Back to top