Chapter 1: Introduction Flashcards

You may prefer our related Brainscape-certified 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
Q

T/F: Java is case sensitive

A

True

26
Q

What are source files?

A

the statements that you wrote

27
Q

What does the java compiler do?

A

translates source code into class files that contain instructions for the Java virtual machine.

28
Q

Where are programs stored?

A

files

29
Q

Where are files stored?

A

folders and directories

30
Q

What are classes?

A

the fundamental building blocks of Java programs

31
Q

What does the world public denote?

A

that the class is useable by the “public”.

32
Q

What does every java class contain?

A

a class with a main method

33
Q

What is the main method notation

A

public static void main(String[]args)

34
Q

What are statements?

A

instructions

35
Q

How is a method called?

A

by specifying the method and its arguments

36
Q

What is a string?

A

a sequence of characters enclosed in quotation marks

37
Q

What is a compile-time/syntax error?

A

a violation of the programming language rules that is detected by the compiler

38
Q

What is a run-time/logical error?

A

when the program takes an action that the programmer did not intend

39
Q

What is an algorithm

A

a sequence of steps that is unambiguous, executable, and terminating

40
Q

What is pseudocode

A

an informal description of sequence of steps for solving a problem

41
Q
A