ASU IFT 210 STUDY GUIDE
1. string literal- Answers - text in double quotes System.out.print("");
2. a new line string- Answers - text in double quotes. each entry is a newline System.out.println("");
3. outputting a variable's value- Answers -
System.out.println(); there is no "" can be println or just print
4. how to output both text and variable value in one line- Answers - seperate text and
variables with a + sign
5. a comment in programs.- Answers - text added to be read by humans and not processed by the
compiler
6. single line comment- Answers - starts with // and appear on same line
7. multi-line comment- Answers - also called a block comment, starts with /* ends with */
8. Whitespace- Answers - separates statements in code to make more readable. (blank line of code)
9. Syntex error- Answers - an error in punctuation causing the program to not be able to run. also known as
compile-time error.
10. logic error- Answers - also known as a bug. error that occurs while a program runs. code will still wrong but is
logically incorrect.
11. where did the term "bug" originate- Answers - a Harvard computer not working because a
moth was stuck in it.
12. machine instructions- Answers - A series of 0s and 1s, stored in memory, that tells a processor to
carry out a particular operation like a multiplication.
13. executable program- Answers - a sequence of machine instructions together
14. assembly language instructions- Answers - human readable instructions
15. high-level language- Answers - A programming language like Python that is designed to be easy for
humans to read and write.
1/7
, 16. Program Compiler- Answers - programs that automatically translate high-level language into executable
programs
17. Bytecode- Answers - instructions for the Java virtual machine
18. input/output devices- Answers - devices that are used to input to a computer (keyboard, mouse)
or output (monitor)
19. memory RAM- Answers -
20. what year was c book published- Answers - 1978
21. what year was c++ invented- Answers - 1985
22. what year was javas public release- Answers - 1995
23. Variable- Answers - a named reference to a value that can be used repeatedly throughout a program.
24. assignment- Answers - the assignment is the value assigned to a variable. can be a number or numeric
expression.
2/7
1. string literal- Answers - text in double quotes System.out.print("");
2. a new line string- Answers - text in double quotes. each entry is a newline System.out.println("");
3. outputting a variable's value- Answers -
System.out.println(); there is no "" can be println or just print
4. how to output both text and variable value in one line- Answers - seperate text and
variables with a + sign
5. a comment in programs.- Answers - text added to be read by humans and not processed by the
compiler
6. single line comment- Answers - starts with // and appear on same line
7. multi-line comment- Answers - also called a block comment, starts with /* ends with */
8. Whitespace- Answers - separates statements in code to make more readable. (blank line of code)
9. Syntex error- Answers - an error in punctuation causing the program to not be able to run. also known as
compile-time error.
10. logic error- Answers - also known as a bug. error that occurs while a program runs. code will still wrong but is
logically incorrect.
11. where did the term "bug" originate- Answers - a Harvard computer not working because a
moth was stuck in it.
12. machine instructions- Answers - A series of 0s and 1s, stored in memory, that tells a processor to
carry out a particular operation like a multiplication.
13. executable program- Answers - a sequence of machine instructions together
14. assembly language instructions- Answers - human readable instructions
15. high-level language- Answers - A programming language like Python that is designed to be easy for
humans to read and write.
1/7
, 16. Program Compiler- Answers - programs that automatically translate high-level language into executable
programs
17. Bytecode- Answers - instructions for the Java virtual machine
18. input/output devices- Answers - devices that are used to input to a computer (keyboard, mouse)
or output (monitor)
19. memory RAM- Answers -
20. what year was c book published- Answers - 1978
21. what year was c++ invented- Answers - 1985
22. what year was javas public release- Answers - 1995
23. Variable- Answers - a named reference to a value that can be used repeatedly throughout a program.
24. assignment- Answers - the assignment is the value assigned to a variable. can be a number or numeric
expression.
2/7