CPU Science Quiz 9/21/15 Flashcards

1
Q

<p>boolean</p>

A

<p>true or false statement (uses 1 bit of memory)</p>

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

<p>integer</p>

A

<p>(uses 4 bytes/32 bits of memory)

| </p>

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

<p>character</p>

A

<p>(uses 2 bytes/16 bits of memory)</p>

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

<p>String</p>

A

<p>Minimum 8 bytes for overhead
2 bytes per character
Additional bytes for the character array reference (because a this is really an array of characters)</p>

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

<p>Gate</p>

A

<p>a device that performs a basic operation on electrical signals</p>

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

<p>Gate</p>

A

<p>Accepts one or more inputs
Produces one output
</p>

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

<p>•

| </p>

A

<p>AND</p>

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

<p>&amp;amp;&amp;amp;</p>

A

<p>AND</p>

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

<p>| |</p>

A

<p>OR

| </p>

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

<p>+</p>

A

<p>OR</p>

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

<p>‾ </p>

A

<p>NOT</p>

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

<p>!</p>

A

<p>NOT</p>

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

<p>XOR</p>

A

<p>One and only one input is must be true for the statement to be true</p>

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

<p>Input is incorrect</p>

A

<p>NOT</p>

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

<p>At least one input must be true</p>

A

<p>OR</p>

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

<p>All input must be true</p>

A

<p>AND</p>

17
Q

<p>ASCII stands for</p>

A

<p>American Standard Code for Information Interchange</p>

18
Q

<p>Int, Char, Double, and Boolean are all this type of data?</p>

A

<p>Primitive type</p>

19
Q

RAM and ROM are examples of what type of memory?

A

Primary

20
Q

Hard Drive, Flash Drives, Disks

A

Secondary