Download Academic Vocabulary Chap 1-3

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
AP CS Academic Vocabulary
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Chap 1-3 Introducing Java
Address – unique binary representation of a location in memory
Binary number system – Digits 0 and 1 used by computers. Base 2. On/Off. Machine level.
Bit – A single 0 or 1 in binary code.
Case sensitive – Java sees a difference between Horse and horse.
Compiler – A program that converts an entire program into machine code before the program is executed.
CPU – central processing unit that controls the flow of data within the computer. The “chip.”
Hardware – The physical parts of the computer such as monitor, printer, system unit.
Hexadecimal System – Base 16 (16 digits)
Input Device – enters data and instructions into computer (scanner, keyboard, camera)
Object - Oriented Programming – Java. Modules (classes) that are created that can be used over and over
again.
Operating System – Software that allows users to communicate with computers. (Windows7)
a. Java works on multiple operating systems.
Output device – A device used to display data (printer, monitor)
Programming language – set of code that allows a programmer to communicate/direct the computer (Source
code)
Software – code in computer (operating system, Microsoft Office, java)
Peripheral device – added to computer: printer, scanner
Java Terms
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Class – created by programmer to describe an object. Starts with capital letter. Classes create objects!
Code conventions – set of guidelines for writing Java
Comment – Text for readers of program code not executed by computer. //
Escape sequence – backslash + symbol that represent a formatting command character /t
Execute – run a program
Main Method – makes a program executable
Method – A set of statements that perform a task or an action of an object
Object - Data +methods
Package – group of related classes
print – displays data on the screen (same line)
println – Displays data then moves the insertion point to next line
public – access modifier that declares a class is available to any code.
SOP – Mrs. Goddard’s shorthand for System.out.println
Statement – an instruction in a program. Often on 1 line.
{ } - curly braces. Used to begin and end Classes and methods. Always even number of them.
Memorize the Main Method:
public static void main (String[ ] args) {