Exam 1 Flashcards

(29 cards)

1
Q

What is abstraction

A
  • suppression of detail to show the essence of the matter
  • an outline structure
  • division of responsibility through a chain of command
  • subdivision of a system into smaller subsystem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the levels 1-7

A

Logic gate

Microcode

Instruction set architecture

Operating system

Assembly

High order

Application

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

________-> processing -> ___________

A

Input

Output

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

An algorithm written for execution on a computer

A

Program

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

Functions of an operating system

A

File management

Memory management

Processor management

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

Types of information contained in files

A

Documents

Programs

Data

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

The number of values stored by a sequence of n bits is:

A

2^n

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

Binary storage

A

Each individual storage unit is called a binary digit or bit

Bits are groups together into cells

Cell containing 8 bits is called a byte

Variable is an abstraction for a memory cell that stores a particular type of information

The number of bits depends on the data type

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

counting base 3?

A
0
1
2
10
11
12
20
21
22
100
101
102
200
201
202
1000
1001
1002
1010
1011
1012
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Counting in octal

A
0
1
2
3
4
5
6
7
10
11
12
13
14
15
16
17
20
21
22
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Counting in hex

A
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s 1 * 2^2 + 1 * 2^1 + 0 * 2^0 in binary

A

110

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

What’s 3 * 10^1 + 6 * 10^0 in decimal

A

36

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

Binary range for a unsigned six-bit cell

A

00 0000- 11 1111

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

Decimal range for a unsigned six but cell

A

0-63

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

Range for an unsigned n-bit cell is

17
Q

0+0
0+1
1+0
1+1

18
Q

A carry bit is if the sum of the leftmost column produces a carry, then C is set to __. Otherwise C is cleared to __.

19
Q

Explain ASL(arithmetic shift left)

19
Q

Explain ASR(arithmetic shift right)

A

[] ->[]->[]->[]->[]->[]->[_]-
^ |___| |
|__________________________________|

19
Q

Explain ROL(rotate left)

19
Q

Explain ROR(rotate right)

A

[] —->[]->[]->[]->[]->[]->[_]-
^ |
|__________________________________|

19
Q

Range for unsigned binary six cell is:

A

000000-111111

19
Q

Rand for unsigned decimal range for a six cell is:

19
Range for unsigned n cell is:
0 to 2^n -1
19
Explain IEEE format:
Significant using IEEE format is 1.xxx... Ex. 4.5 = .1001 x 2^3 in IEEE FORMAT 4.5 = 1.001 x 2^2. The 1 is implied, which means it does not need to be listed in the significand
19
How to get NOT
Ones complement
19
How to get NEG
Twos complement
19
What is RTL indicating?
Precisely the effect of a hardware operation