COMP 202 Lecture Notes - Lecture 20: Java Virtual Machine, For Loop, Bracket

35 views3 pages
jc123 and 40170 others unlocked
COMP 202 Full Course Notes
100
COMP 202 Full Course Notes
Verified Note
100 documents

Document Summary

Comp 202 lecture 20 midterm review. Algorithm: a set of clear and specific instructions for carrying out a task or solving a problem. Compiling: in java this is the process that turns the java file into a class file. The class file contains the bytecode that is then interpret by the java virtual machine or computer. Decimal to binary: what is 5310 in binary notation (base 2)? o. Errors that do not effect code functions but rater make it hard to read: compile error. Syntax errors preventing compiling of code: run time errors. Do not prevent code from compiling but can cause it to crash at run time: logical errors. It compiles and runs but does wrong thing. Scanner: in order to obtain user input, we can create a variable of type java. util. scanner o. Variable types o: all expect for string are primitive types.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions