No student devices needed. Know more
22 questions
An ALU, control unit, some memory, and a clock can be combined together to make a basic, but functional ___
Unit of Programmable Control
Centric Programming Unit
Central Processing Unit
Programming Central Unit
The thing that makes a CPU powerful is the fact that it is ___
precise
logical
fast
programmable
The CPU is a piece of hardware which is controlled by easy-to-modify ___
software
hardware
firmware
smoothware
How many bits of data were contained in each address of the sample computer memory?
2 bits
4 bits
8 bits
16 bits
For our hypothetical CPU, the first four bits of data specified the ___
register
operation code
address
load instruction
For our hypothetical CPU, the second set of four bits of data specified ___
an opcode
the operation code
an address or registers
the load instruction
The eight bits of data, “0010 1110”, is much easier to read and understand when it's written as ____
LOAD_A 13
LOAD_A 14
LOAD_B 15
LOAD_B 16
Which component of a computer's central processing unit performs an "ADD" instruction?
the ALU
a register
the control unit
RAM
Which instruction is used to change the order of instructions, or to skip some instructions?
LOAD
STORE
SKIP
JUMP
The instruction JUMP 0 would cause the program to go ___
back to the beginning
to the previous command
to check the ALU negative flag
to the end of a program
The instruction JUMP_NEGATIVE only jumps the program if ___
it jumps to the beginning
it's a jump back in the code
the ALU’s negative flag is set to true
it's a jump forward in the code
Computers need to be told when to stop processing, so we need a ___
TERMINAL instruction
CUTOFF instruction
END instruction
HALT instruction
When a program runs forever, and never hits a HALT instruction, it's called ___
bottomless code
a never-ending computation
an infinite loop
a conditional jump
To break out of an infinite loop, what kind of instruction was used?
a conditional jump
a syntax error
a logical error
a HALT instruction
JUMP_NEGATIVE and JUMP IF EQUAL are examples of ___
a conditional jump
an explicit jump
a halt instruction
an explicit instruction
For the instruction JUMP_NEGATIVE 5, the CPU executes the jump to memory location 5 only if ___
the ALU's negative flag is false
the ALU's negative flag is true
it precedes a HALT instuction
location 5 holds a negative value
What new functionality was created by software rather than by the hardware of the ALU?
adding two numbers
subtracting two numbers
dividing two numbers
negative sums
What is the maximum number of instructions when using 4 bit operation codes?
4
8
16
32
In order to incorporate more instructions, modern CPUs use large instruction lengths, as well as ___
defined length instructions
more registers
more RAM
variable length instructions
In 1971, who released the 4004 processor, the first CPU put all into a single chip?
HP
AMD
IBM
Intel
How many instructions were supported by Intel's 4004 processor, the first CPU put all into a single chip?
8
16
32
46
The Intel Core i7 has thousands of different instructions and instruction variants, ranging from one to ___
15 bits long
32 bits long
15 bytes long
32 bytes long
Explore all questions with a free account