Cool Kids Quiz For Cool Kidz Only

103 Questions

SettingsSettingsSettings
Please wait...
Cool Kids Quiz For Cool Kidz Only


Questions and Answers
  • 1. 
    1. The computer is a tool used by so many professions that it cannot be easily categorized.
    • A. 

      True

    • B. 

      False

  • 2. 
    2. Without programmers, the users of computers would have no software, and without software, computers would not be able to do anything.
    • A. 

      True

    • B. 

      False

  • 3. 
    3. Application software refers to programs that make the computer useful to the user. 
    • A. 

      True

    • B. 

      False

  • 4. 
    4. Colons are used to indicate the end of a Java statement. 
    • A. 

      True

    • B. 

      False

  • 5. 
    5. When an object’s internal data is hidden from outside code and access to that data is restricted to the object's methods, the data is protected from accidental corruption. 
    • A. 

      True

    • B. 

      False

  • 6. 
    6. Each byte is assigned a unique number known as an address. 
    • A. 

      True

    • B. 

      False

  • 7. 
    7. The Java Virtual Machine is a program that reads Java byte code instructions and executes them as they are read
    • A. 

      True

    • B. 

      False

  • 8. 
    8. The contents of a variable cannot be changed while the program is running. 
    • A. 

      True

    • B. 

      False

  • 9. 
    9. Logical errors are mistakes that cause the program to produce erroneous results.
    • A. 

      True

    • B. 

      False

  • 10. 
    10. Encapsulation refers to the combining of data and code into a single object. 
    • A. 

      True

    • B. 

      False

  • 11. 
    11. Compiled byte code is also called source code. 
    • A. 

      True

    • B. 

      False

  • 12. 
    12. Java source files end with the .class extension.
    • A. 

      True

    • B. 

      False

  • 13. 
    13. A Java program will not compile unless it contains the correct line numbers. 
    • A. 

      True

    • B. 

      False

  • 14. 
    14. All Java statements end with semicolons. 
    • A. 

      True

    • B. 

      False

  • 15. 
    15. Java is a case-insensitive language. 
    • A. 

      True

    • B. 

      False

  • 16. 
    16. Although the dollar sign is a legal identifier character, you should not use it because it is normally used for special purposes. 
    • A. 

      True

    • B. 

      False

  • 17. 
    17. Assuming that pay has been declared a double, the following statement is valid.     pay = 2,583.44; 
    • A. 

      True

    • B. 

      False

  • 18. 
    18. Named constants are initialized with a value, that value cannot be changed during the execution of the program. 
    • A. 

      True

    • B. 

      False

  • 19. 
    19. A variable's scope is the part of the program that has access to the variable. 
    • A. 

      True

    • B. 

      False

  • 20. 
    20. In Java the variable named total is the same as the variable named Total. 
    • A. 

      True

    • B. 

      False

  • 21. 
    21. Class names and key words are examples of variables. 
    • A. 

      True

    • B. 

      False

  • 22. 
    22. Both character literals and string literals can be assigned to a char variable.
    • A. 

      True

    • B. 

      False

  • 23. 
    23. If the compiler encounters a statement that uses a variable before the variable is declared, an error will result. 
    • A. 

      True

    • B. 

      False

  • 24. 
    24. Programming style includes techniques for consistently putting spaces and indentation in a program so visual cues are created. 
    • A. 

      True

    • B. 

      False

  • 25. 
    25. Programs never need more than one path of execution. 
    • A. 

      True

    • B. 

      False

Back to Top Back to top