Comp Sci Ch. 1 Notes Flashcards

This flashcard deck was created using Flashcardlet's card creator

0
Q

What was the first computer?

A

Eniac

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

Who was the first programmer?

A

Ada Lovelace

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

Why was the eniac built?

A

To help the allies in WWII

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

Had the eniac been out off, what would happen to modern computers?

A

We wouldn’t have them

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

Analog is ____

Digital is ____

A

Continuous, finite

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

What does a pit represent on a cd?

A

A 1

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

What does the smooth area of a cd represent?

A

A 0

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

How does RGB make colors?

A

It has 1-255 numbers for each shade of a color

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

Why do we use binary?

A

It is cheap and reliable

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

What doubles with every new bit?

A

The total possible

Combinations

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

What increases with the usage of more bits?

A

The accuracy of the end product

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

What matches in ASCII?

A

Letters and symbols to numbers

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

What is the advantage of Unicode?

A

It has more characters and bits than ASCII, allowing Chinese writing

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

What is an input

Device?

A

Keyboard, mouse

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

What is an output device?

A

A monitor

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

What is a communication device?

A

A router or modem

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

What does a CPU do?

A

Fetches, decodes, and executes instructions

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

Where does a CPU fetch data from?

A

The ram

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

What are the three parts of a CPU?

A

The arithmetic/logic unit, control unit, and registers

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

What controls the CPU?

A

The system clock

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

What does the system clock do?

A

Sends electric pulses at regular intervals

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

What is the main memory?

A

Ram

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

What is RAM aka?

A

Direct access memory

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

How many bits are in a byte?

A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
What does defragmentation do?
Moves fragmented files so they are continuous
25
What are the direct access portions of computers?
Ram and rom
26
Who invented the idea behind the computer?
Babbage
27
How does a cd work?
By reflecting a laser off of a disc
28
What is the Nyquist-Shannon theorem?
Sample at a rate twice that of the frequency... 40kHz
29
How many bits are in a cd sample?
16
30
How many times per second is a higher quality cd sampled?
65,536
31
What is moore's law?
We can double the number of transistors on a chip every 2 years
32
What is a transistor?
Building block of a computer
33
Who was Gordon Moore?
The co founder of intel
34
What machines use artificial intellegance?
Watson, deep blue, clever bot, spam filters, google car
35
What is the turning test?
Alan. Tests machines ability to be like a human
36
What is the middle man in data transfers?
The modem
37
What is a point to point/mesh network?
All computers are connected I each other
38
What is a bus connection?
Computers that share a single | Connection line
39
What is a wide area network?
Multiple interconnected LAN's
40
What is ARPA!
Advanced research projects agency
41
How many people are connected to the Internet?
2.2 billion
42
What does TCP stand for?
Transmission control protocol
43
What does IP stand for?
Internet protocol
44
How does TCP help if something gets messed up?
The messed up bits are resent
45
What is a problem with UDP?
If somehing is messed up, you're sol
46
What is a top level domain?
.com/.org ect
47
How many bits are in an IPv4 address?
32
48
How many bits are in an IPv6 address?
128
49
What is DNS?
Domain name system, translates a URL to an ip address
50
What is hypermedia?
Web document links other web documents
51
What does URL mean?
Uniform resource locator
52
What does HTML stand for?
Hyper text markup language
53
What is an advantage to object oriented code?
When a project gets large, it can be broken down into manageable parts
54
How is code reused in object oriented code?
You kind of make templates and build off of them
55
What must each class in java contain?
1 or more methods
56
What does a method contain?
Program statements, like what is actually being done.
57
What does a java app always have?
The main method
58
What happens to comments in javadoc?
They are saved to a separate document
59
What is white space?
Extra spaces
60
What do you need to be careful of with java?
Letter cases
61
What is an identifier?
Words a programmer uses in a program
62
What levels are there of language levels?
Machine, assembly, high level, fourth generation
63
What is specific to each CPU?
It's machine language
64
What does assembly level allow for?
Some symbolic programming
65
What does high level language require?
A compiler to translate high level to assembly level
66
What levels are readable by humans?
High level and 4th
67
Where is the fourth level usually used?
Commercial sector
68
What is source code?
The basic code for a computer language
69
Why does java use byte code?
It is not machine specific
70
What is the I remediate step in java code?
Translating to byte code
71
What is a syntax rule?
What we do to make sure a program is properly executed
72
What is semantics?
Defining what a program statement actually means
73
What is a compile time error?
Forgetting a brace or anything that has to do with the code
74
What is a run time error?
Something that causes code to crash
75
What is a logical error?
We messed up the code but everything runs fine, just giving incorrect output
76
How many bits are in a pixel color?
8
77
How many bits are there total in a pixel?
24
78
How many shades of a color exist?
255
79
Where us the origin of a plane in java?
The top left