Flashcards in Big Java: 1 Deck (19)
definition of computer program
sequence of instructions and decisions
definition of programming
act of designing and implementing computer programs
what is the CPU and what does it do?
the "heart of the computer": performs program control and data processing
definition of a high level programming language
language that allows you to specify the instructions that you want the computer to carry out
what is a compiler?
a kind of translator between the programming language and the CPU necessary for the specified tasks of the language to be carried out
name key feature of Java programs
"they are distributed as instructions for a virtual-machine, making them platform independent"
two examples of integrated development environments you used this semester
CUNIX and Eclipse
example of an editor you used this semester
example of a console window you used this semester
the command line on CUNIX
Write HelloWorld program
just do it
What would the name of your "HelloWorld" file be? How is this reflected in your code for this program?
Reflected, as all java file names are, through the name of the class: "public class HelloWorld"
the first letter of the class name must always be what?
(name the characteristic)
simple definition of classes
the fundamental building blocks of java
definition of method
a collection of programming instructions that describe how to carry out a particular task
definition of a statement
an instruction of a method, ends in a semi-colon
your class name should reflect what?
the function of your program
definition of an argument
any values a method needs to carry out its tasks
definition of a compile-time error plus example
syntax errors (i.e. writing "System.ou.print")