CPS 180 Exam 1 questions with complete solutions
Keywords correct answer: Lower case words reserved by java (can't be identifiers) ex: public, static, class, void Expressions correct answer: a part of a statement (like a clause) Statements (source code) correct answer: a complete java instruction that causes the computer to perform an action The name of the .java source code correct answer: must match the name of the class Bytecode correct answer: what java compiles to so the virtual machine interprets and runs WORM language correct answer: java can write once and run many Programming process correct answer: 1. Define what the program does 2. Visualize the program running on the computer (try to create it in your mind) 3. Use design tools to create a model of the program (use pseudocode) 4. Check the model for logical errors 5. Enter the code and compile it
Document information
- Uploaded on
- May 19, 2023
- Number of pages
- 7
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers