Chapter 1 Flashcards

(11 cards)

1
Q

What is a microprocessor?

A

A programmable device that takes in numbers, performs arithmetic or logic operations according to a stored program, and outputs results.

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

What are the main components of a microprocessor?

A

Arithmetic Logic Unit (ALU), Register Array, and Control Unit (CU).

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

What are the three main steps in instruction execution?

A

Fetch → Decode → Execute

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

What is a program in the context of microprocessors?

A

A set of instructions that directs the microprocessor to process input data and produce output.

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

What are the three levels of programming languages?

A

Machine Language, Assembly Language, High-Level Languages

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

What is the difference between compiler and interpreter?

A

A compiler translates all code at once; an interpreter translates line-by-line.

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

Describe the translation path from source code to executable code.

A

High-Level Code → Compiler → Assembly → Assembler → Machine Code

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

What is the hierarchy from physical devices to applications in microprocessor systems?

A

Transistors → Logic gates → Registers → ALU → CPU → Assembly → High-Level Programs → Applications

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

What are the basic data types in 8086?

A

Nibble (4-bit), Byte (8-bit), Word (16-bit), Double Word (32-bit)

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

How does the CPU interact with memory and I/O?

A

The CPU communicates through system buses: data, address, and control buses.

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

What is the range of an 8-bit signed integer?

A

From -128 to +127.

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