CS 106A Lecture Notes - Lecture 2: Control Flow, Code Reuse, Semicolon

18 views3 pages

Document Summary

Announcements: puppy pictures for people who come to lecture, section sign-ups open from 5pm on thu mar 31 through 5pm sun. Apr 3: thu 3/31 3:00-4:30pm in gates b02 alisha will help those who need help to set up eclipse, code worked on during lecture posted on website as zip file. Open new java project in eclipse; select file from downloads. Karel code: lots of keywords e. g. import public class public void are fixed, run project with button on tool bar, program structure. Statement is a command to be executed: compiling/ running. Source code: set of instructions in a program. Compile: translate a program from one language to another. Byte code: java compiler changes program into byte code to read. Output: program as seen by viewer: names and identifiers. Identifier: a name given to an item in your program. Must start with a letter or _ or $ Subsequent characters can be any of those or a number: keywords.

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