Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PART I-SHORT ANSWER Record your answers on the separate answer sheet. Write the

ID: 3915805 • Letter: P

Question

PART I-SHORT ANSWER Record your answers on the separate answer sheet. Write the word or phrase that best completes each statement or answers the question Each question is worth 1 point. . Provide one example of an input device. Provide three of the standard native (built-in) data types in Java. 2, 5. The five elements of every computer are: input, output, processor, clock and? PART II- TRUE/FALSE Record your answers on the separate answer sheet. Write "True" if the statement is true or "False" if the statement is false Each question is worth 1 point. Fifteen (15) questions count towards the total, and an additional two (2) may be answered for bonus credit. 6. Memory cells/locations can store data or instructions. 7. In Java, the printlnO method is used to display information on the screen. 8. The computer will execute instructions that follow the//symbol. 9. There is no size limit on the size of the numbers that can be stored in the int data type. 10. In an output statement, you use the & symbol to separate items in the stream 11. All data types use the same amount of storage space. 12. A plan for solving a problem is known as a logarithm 13. Documentation and commenting your code helps the comput er to understand what your code means. 14. Modern computers store all information in binary digits (or "bits") Programs written in machine language use only two characters: 1 and 2. 16. Modulus is always evaluated after multiplication 17, To divide integers, use the % operator. 18. Pseudocode is considered a "high level" programming language. 19. In Java, the variables number and NuMbEr are considered to be the same vari 20. if/else if statements are tested sequentially until a match occurs. 21. The body of a while loop is only executed if the loop condition is false. 22. Declaring a variable sets aside a memory location for its storage in the computer

Explanation / Answer

1)keyboard is an input device.

2)int 3) short 4)long build in java nativive data types.

5)storage is another element.

6)true.

7)true

8)False

9)False

10)false

11)false

12)false

13)false

14)true

15)false

16)true

17)false

18)false

19)false

20)true

21)false

22)true