







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CPS 180 Exam 1 Questions With Correct Answers 2023Latest Update (A+).
Typology: Exams
1 / 47
This page cannot be seen from the preview
Don't miss anything!
[Date]
[Date] Keywords - answers>Lower case words reserved by java (can't be identifiers) ex: public, static, class, void
[Date] causes the computer to perform an action The name of the .java source code
[Date] Bytecode - answers>what java compiles to so the virtual machine interprets and runs WORM language - answers>java can write once and run many
[Date] create it in your mind) 3. Use design tools to create a model of the program (use pseudocode)
[Date] 4. Check the model for logical errors 5. Enter the code and compile it 6. Correct any errors found and repeat 5/
[Date] 9. Validate the results of the program (see if it solves original problem) Logical errors - answers>mistakes that cause the
[Date] program to produce erroneous results Runtime errors - answers>Errors that occur while your program runs
[Date] Algorithm - answers>instructions given to solve the problem Variables - answers>created by programmer who assigns it a
[Date] programmer-defined identifier (ex: hours) a named storage location in the computer's memory legal: hello, fnonf not legal: 45hello
[Date] o each class can be separated into parts Class header - answers>tells the compiler things about the class such as what other classes can use it (public)
[Date] and that it is a java class (class) (ex: public class Name) Class definition - answers>a block of code that specifies (or defines) an object's appearance
[Date] java command will run this first and it will start the java program String literal - answers>text in double quotes
[Date] Special Characters - answers>// : beginning of comment ( ) : used in a method header { } : encloses a group of statements " " : encloses a string