Computer Science Systems Architecture Review

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

These flashcards cover core concepts of computer architecture, binary arithmetic, signed number representations, floating-point standards, assembly language operations, and historical milestones in programming.

Last updated 4:55 PM on 6/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

What is the difference between a number, a numeral, and a digit?

A number is an abstract idea (e.g., forty-two), a numeral is the symbol used to write it (e.g., 42 or XLII), and a digit is an individual symbol within a numbering system.

2
New cards

How is the value of a digit determined in positional notation?

The value depends on its position, where each position is worth the base raised to the power of that column number.

3
New cards

Who is credited with describing binary in 1703?

Gottfried Wilhelm Leibniz.

4
New cards

Define bit, nibble, and byte.

A bit is a single binary digit; a nibble is a group of 4 bits; a byte is 8 bits (two nibbles).

5
New cards

What are the unsigned and signed ranges for a standard byte?

The unsigned range is 00 to 255255, and the signed range is 128-128 to 127127.

6
New cards

What is a 'word' in CPU architecture?

A group of bytes the CPU handles as a single unit, typically sized as 16-bit, 32-bit, or 64-bit depending on architecture.

7
New cards

How many binary bits map to exactly one hexadecimal digit?

Every 4 binary bits map exactly to one hex digit.

8
New cards

What are the four basic rules for binary addition?

0+0=00+0=0, 0+1=10+1=1, 1+0=11+0=1, and 1+1=0 carry 11+1=0 \text{ carry } 1.

9
New cards

In a signed binary number, what do the values of the sign bit represent?

The sign bit (leftmost bit) indicates positive if it is 00 and negative if it is 11.

10
New cards

Describe the two-step process for negating a number using Two's Complement.

(1) Flip all the bits of the number, then (2) add 11.

11
New cards

What is the primary advantage of Two's Complement over Sign Magnitude?

Two's Complement has only one representation of zero and allows the same addition circuit to work for both positive and negative numbers without special subtraction hardware.

12
New cards

What is 'sign extension' and how is it performed?

Sign extension is expanding a binary number to a larger type by padding the left side with copies of the sign bit (0s0\text{s} for positive, 1s1\text{s} for negative).

13
New cards

What is the limitation of Fixed-Point decimal representation?

It is wasteful; for example, if the integer part is always 00, those bits are kept even if they are unused, and it only allows a small range of fractional values.

14
New cards

How does Floating-Point representation differ from Fixed-Point?

In Floating-Point, the decimal point (radix point) is not fixed but floats based on scientific notation, allowing the system to cover an enormous range efficiently.

15
New cards

What are the three components of a 32-bit IEEE-754 single-precision float?

1 sign bit, 8 exponent bits, and 23 mantissa bits (the 24th bit is implied).

16
New cards

Define Assembly Language.

A low-level programming language where each line corresponds almost directly to one CPU operation, using mnemonics to replace raw binary opcodes.

17
New cards

Why must registers be zeroed out or initialized before use?

Registers hold whatever the previous program left in them (random garbage), and operating on uninitialized registers leads to unpredictable results.

18
New cards

Why is the HLT (halt) instruction placed at the end of a program?

It signals a clean stop to prevent the CPU from executing random bytes in memory as instructions, which could lead to a crash.

19
New cards

Why is the indirect addressing offset in this specific processor limited to 16-16 to +15+15?

Within the instruction byte, 33 bits specify the register, leaving 55 bits for the offset, which provides 3232 unique values (16-16 to +15+15).

20
New cards

What do the representations 0x3, 0x03, and 0x0003 imply to a programmer?

They imply different memory sizes: 0x30x3 implies 4 bits, 0x030x03 implies 8 bits (1 byte), and 0x00030x0003 implies 16 bits (2 bytes).

21
New cards

What was the contribution of Grace Hopper to computing?

She built the first compiler.

22
New cards

What is specialized about the programming language FORTRAN created by John Backus?

It is a high-level language that uses structured expressions.

23
New cards

Which historical figure designed Pascal to enforce good programming habits and structured flow?

Niklaus Wirth.

24
New cards

Who co-created UNIX and developed the C programming language?

Dennis Ritchie and Ken Thompson.

25
New cards

What is the result of the logical operation XOR when both values are the same?

The result becomes 00.