Big Java: 1 Flashcards Preview

Intro to Java > Big Java: 1 > Flashcards

Flashcards in Big Java: 1 Deck (19)
Loading flashcards...
1

definition of computer program

sequence of instructions and decisions

2

definition of programming

act of designing and implementing computer programs

3

what is the CPU and what does it do?

the "heart of the computer": performs program control and data processing

4

definition of a high level programming language

language that allows you to specify the instructions that you want the computer to carry out

5

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

6

name key feature of Java programs

"they are distributed as instructions for a virtual-machine, making them platform independent"

7

two examples of integrated development environments you used this semester

CUNIX and Eclipse

8

example of an editor you used this semester

Pico

9

example of a console window you used this semester

the command line on CUNIX

10

Write HelloWorld program

just do it

11

What would the name of your "HelloWorld" file be? How is this reflected in your code for this program?

"HelloWorld.java"
Reflected, as all java file names are, through the name of the class: "public class HelloWorld"

12

the first letter of the class name must always be what?
(name the characteristic)

capitalized

13

simple definition of classes

the fundamental building blocks of java

14

definition of method

a collection of programming instructions that describe how to carry out a particular task

15

definition of a statement

an instruction of a method, ends in a semi-colon

16

your class name should reflect what?

the function of your program

17

definition of an argument

any values a method needs to carry out its tasks

18

definition of a compile-time error plus example

syntax errors (i.e. writing "System.ou.print")

19

definition of run-time error plus example

logic errors; a program doing something the user did not intend for it to do (i.e. adding instead of multiplying, as was intended)