Chapter 1: Introduction Flashcards

1
Q

What do computers do?

A

execute very basic instructions in rapid succession

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a computer program?

A

a sequence of instructions and decisions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is hardware?

A

the physical computer and peripheral devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is software?

A

the programs the computer executes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is programming?

A

the act of designing and implementing computer programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does CPU stand for?

A

Central Processing Unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the CPU do for?

A

performs program control and data processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the CPU?

A

the heart of the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a transistor?

A

the hundreds of millions of structural elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the other word for primary storage?

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is primary storage?

A

storage made from electronic circuits that can store data, provided they are supplied with electric power

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is secondary storage?

A

storage that provides slower less expensive storage that persists without electricity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is secondary storage usually?

A

a hard disk or solid-state drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some computers interconnected through?

A

networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is specified in a high-level language program?

A

the actions that you program should carry out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does a compiler do?

A

translates the high-level instructions into the more detailed instructions (called machine code)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are applets

A

java code that can be located anywhere on the internet

18
Q

How was java originally designed?

A

for programming consumer devices

19
Q

What was java first successfully used for?

A

to write internet applets

20
Q

What does java have tat makes it possible to write portable programs that can bypass proprietary operating systems?

A

a rich library

21
Q

What are two attributes that make it suitable for beginners?

A

safe and portability

22
Q

What does a virtual program do?

A

stimulates a real CPU

23
Q

What are 3 cons of Java for beginners?

A

not designed for students, a certain amount of technical machinery is necessary to write the simplest programs, and java has a very large library.

24
Q

What is an editor?

A

a program for entering and modifying text

25
T/F: Java is case sensitive
True
26
What are source files?
the statements that you wrote
27
What does the java compiler do?
translates source code into class files that contain instructions for the Java virtual machine.
28
Where are programs stored?
files
29
Where are files stored?
folders and directories
30
What are classes?
the fundamental building blocks of Java programs
31
What does the world public denote?
that the class is useable by the "public".
32
What does every java class contain?
a class with a main method
33
What is the main method notation
public static void main(String[]args)
34
What are statements?
instructions
35
How is a method called?
by specifying the method and its arguments
36
What is a string?
a sequence of characters enclosed in quotation marks
37
What is a compile-time/syntax error?
a violation of the programming language rules that is detected by the compiler
38
What is a run-time/logical error?
when the program takes an action that the programmer did not intend
39
What is an algorithm
a sequence of steps that is unambiguous, executable, and terminating
40
What is pseudocode
an informal description of sequence of steps for solving a problem
41