ence260 exam (computer architecture and embedded systems)

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

1/123

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:23 AM on 9/29/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

124 Terms

1
New cards
What is an embedded system
A small computer that has a specific task
2
New cards
Personal computer versus embedded system task type
General task versus specific task
3
New cards
What are the three main components of a computer
Memory and Buses and Central processing unit and Internal peripherals
4
New cards
What is a logic statement
A sentence that answers a yes or no question
5
New cards
What numerical values represent the boolean states FALSE and TRUE
0 and 1 respectively
6
New cards
What does a sequence of logical variables encode
A greater meaning or broader information
7
New cards
What is the formula for the number of possible combinations in a sequence
M to the power of N where M is states per digit and N is sequence length
8
New cards
How many bits are in a byte
8 consecutive bits
9
New cards
What is a word in computer architecture
The default number of bits manipulated by a microcontroller CPU
10
New cards
What is the zeroth bit also referred to as
The least significant bit or LSb
11
New cards
How do you calculate the value of an unsigned binary sequence
The sum of d sub n times 2 to the power of n
12
New cards
What is a shortfall of the sign magnitude representation
It has a duplicate representation for positive and negative zero
13
New cards
Why is twos complement widely used for signed integers
It removes the duplicate zero and lends itself to physical implementation
14
New cards
What are the two steps to convert a positive binary number to a negative twos complement number
Invert each digit and add one ignoring overflow
15
New cards
How many bits are represented by a single hexadecimal digit
Exactly four bits
16
New cards
What is half a byte called
A nibble
17
New cards
What are the three components of a 32 bit floating point binary number
Sign bit and Exponent and Fractional part
18
New cards
How many bits are used in standard ASCII character encoding
7 bits
19
New cards
What type of logic gate output depends only on the current inputs
Combinational logic
20
New cards
What type of logic circuit gives a system memory because output depends on previous states
Sequential logic
21
New cards
What is the simplest form of sequential circuit
The SR latch
22
New cards
What does the introduction of a clock input allow in a D flip flop
The synchronisation of multiple devices to capture and store the input
23
New cards
What is an array of flip flops called
A register
24
New cards
What is a pointer in C programming
A special variable which stores the memory address where the value of the variable is held
25
New cards
What does the asterisk character do to a pointer in C
It gives the value pointed to by the address
26
New cards
What does the ampersand character do to a variable in C
It gives the memory address of the variable
27
New cards
What defines Von Neumann architecture
Programme memory and data memory are stored in the same physical memory space
28
New cards
What defines Harvard architecture
Programme memory and data memory are stored in separate memory spaces
29
New cards
What does the data bus do
Transports actual data between the CPU and memory and is bidirectional
30
New cards
What determines the addressable memory space of an address bus
2 to the power of the bus width
31
New cards
What are the three fundamental logical functions
NOT and AND and OR
32
New cards
What does De Morgans Law state about the inverse of A AND B
It is equal to NOT A OR NOT B
33
New cards
What does De Morgans Law state about the inverse of A OR B
It is equal to NOT A AND NOT B
34
New cards
What is the maximum number of variables a Karnaugh map can analyze
Four Boolean variables
35
New cards
How must adjacent cells in a Karnaugh map differ
By a single variable
36
New cards
What sizes must groups of ones be in a Karnaugh map
Powers of two like 2 or 4 or 8 or 16
37
New cards
What is a minterm
A term written solely as ANDs of all inputs or their inverses where all inputs appear exactly once
38
New cards
What is the standard order of operations for boolean logic
NOT then AND then OR
39
New cards
What is the function of the Arithmetic Logic Unit
It performs arithmetic and comparisons and logic operations
40
New cards
Why are general purpose registers physically close to the ALU
To enable fast access and performance
41
New cards
What does the control and execute unit do
It controls data flow to the ALU and interprets instructions from program memory
42
New cards
What does the Carry flag indicate in the status register
A carry in an arithmetic or logic operation
43
New cards
What does the Zero flag indicate in the status register
A zero result in an arithmetic or logic operation
44
New cards
What does the Negative flag indicate in the status register
A negative result in an arithmetic or logic operation
45
New cards
What does the Program Counter store
The address of the next instruction in the program memory
46
New cards
What does the Stack Pointer store
The address of the top of the stack used for dynamic variable handling
47
New cards
What are the outputs of a half adder
Sum and Carry
48
New cards
How is a full adder created
By cascading two half adders to allow for an incoming carry bit
49
New cards
How does the ALU compare values without dedicated comparison circuits
By using the addition circuit with twos complement subtraction and evaluating the zero and negative flags
50
New cards
Why is twos complement used for signed integers
It eliminates duplicate representations for zero
51
New cards
How do you convert a positive binary number to negative twos complement
Invert each digit and add one
52
New cards
How does the ALU compare values
By adding with twos complement subtraction and checking status flags
53
New cards
What are the outputs of a half adder
Sum and Carry
54
New cards
How is a full adder different from a half adder
It can accept an incoming carry bit
55
New cards
What are the three parts of a 32 bit floating point number
Sign bit and exponent and fractional part
56
New cards
What logic type uses previous states to provide system memory
Sequential logic
57
New cards
What is the simplest sequential circuit
The SR latch
58
New cards
What component is formed by an array of D flip flops
A register
59
New cards
What does the Program Counter store
The address of the next instruction in program memory
60
New cards
What does the Stack Pointer track
The address of the top of the stack
61
New cards
What is the inverse of A AND B according to De Morgans Laws
NOT A OR NOT B
62
New cards
What is the inverse of A OR B according to De Morgans Laws
NOT A AND NOT B
63
New cards
What boolean expression uses solely ANDs of all inputs exactly once
A minterm
64
New cards
How many variables can a Karnaugh map analyze
Up to four Boolean variables
65
New cards
By how many variables must adjacent cells in a Karnaugh map differ
A single variable
66
New cards
What group sizes are allowed in Karnaugh maps
Powers of two like 2 or 4 or 8 or 16
67
New cards
What architecture uses the exact same memory space for programs and data
Von Neumann architecture
68
New cards
What architecture uses completely separate memory spaces for programs and data
Harvard architecture
69
New cards
How is addressable memory space calculated
2 to the power of the bus width
70
New cards
What does an n bit decoder produce
Exactly one HIGH output among 2 to the power n outputs
71
New cards
What does the input of a decoder represent
A binary number selecting one output
72
New cards
What is meant by one hot decoder output
Exactly one output is HIGH at a time
73
New cards
How does a decoder help select memory
It activates the row corresponding to the requested address
74
New cards
What output is HIGH in a 2 bit decoder for input 00
O0
75
New cards
What output is HIGH in a 2 bit decoder for input 01
O1
76
New cards
What output is HIGH in a 2 bit decoder for input 10
O2
77
New cards
What output is HIGH in a 2 bit decoder for input 11
O3
78
New cards
What logic produces O0 in a 2 to 4 decoder
NOT A1 AND NOT A0
79
New cards
What logic produces O1 in a 2 to 4 decoder
NOT A1 AND A0
80
New cards
What logic produces O2 in a 2 to 4 decoder
A1 AND NOT A0
81
New cards
What logic produces O3 in a 2 to 4 decoder
A1 AND A0
82
New cards
What does an encoder do
It converts one active input into its binary input number
83
New cards
What assumption does a basic encoder make
Exactly one input is HIGH
84
New cards
How many outputs does an encoder with 2 to the power n inputs have
n outputs
85
New cards
What does an 8 to 3 encoder output
The 3 bit number identifying the active input
86
New cards
What forms A0 in an 8 to 3 encoder
I1 OR I3 OR I5 OR I7
87
New cards
What forms A1 in an 8 to 3 encoder
I2 OR I3 OR I6 OR I7
88
New cards
What forms A2 in an 8 to 3 encoder
I4 OR I5 OR I6 OR I7
89
New cards
What is the purpose of a multiplexer
Select one of several inputs and connect it to the output
90
New cards
How many inputs can n mux selector bits choose from
2 to the power n inputs
91
New cards
What does a 2 to 1 mux output when S is 0
I0
92
New cards
What does a 2 to 1 mux output when S is 1
I1
93
New cards
What Boolean expression describes a 2 to 1 mux
NOT S AND I0 OR S AND I1
94
New cards
What is a bus multiplexer
Parallel muxes that select between multi bit input buses
95
New cards
What does an 8 by 2 to 1 bus mux contain
Eight parallel 2 to 1 muxes sharing one selector
96
New cards
How can two 2 to 1 muxes form a 4 to 2 bus mux
Use them in parallel with the same selector
97
New cards
What is the purpose of a demultiplexer
Route one input to one selected output
98
New cards
What does a 1 to 2 demux do when S is 0
Routes the input to O0
99
New cards
What does a 1 to 2 demux do when S is 1
Routes the input to O1
100
New cards
What happens to unselected demux outputs
They remain LOW