CPSC 1100 Lecture Notes - Lecture 2: While Loop, Flowchart, Java Virtual Machine

47 views2 pages
9 Feb 2017
School
Course
Professor

Document Summary

While loop flowchart element is a six sided figure. When control flows to the while loop, the condition is evaluated. A constant is an assigned variable whose value does not change throughout the variable. 3 steps in loops with loop control variable. For loops used to automate initialize test and update process. For loops are six sided figure with a loop variable, a start, and end, an update, and two arrows. Any valid statements can occur inside the body of a loop. Goes to assembler (code) language which is not portable. High level code is not 1 to 1 with machine code. Object code may or may not be executable. Object may go to machine language, or assembler code. Java is, in order, source, compiler, java virtual machine. A computer program is a sequence of instructions. Java is safe, portable, platform independent, has vast set of library packages, designed for the internet.

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