Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer ScienceComputer OrganizationID: COR-018
What does the stored-program concept mean?
AInstructions are stored in memory and the CPU fetches and executes them one at a time ✓ Correct answer
BPrograms are stored only on the hard disk
CThe CPU stores its results in ROM
DData and instructions use separate processors
✓ Correct answer: Instructions are stored in memory and the CPU fetches and executes them one at a time
Full explanation
The stored-program concept is that machine-code instructions are held in main memory and the processor fetches and executes them one at a time, in order, unless an instruction says otherwise. The correct answer is Instructions are stored in memory and the CPU fetches and executes them one at a time.
Computer ScienceComputer OrganizationID: COR-019
What is the main idea of a RISC processor?
AIt uses a small set of simple instructions, each carried out quickly ✓ Correct answer
BIt uses a very large set of complex instructions
CIt has no Control Unit
DIt stores its programs on the hard disk
✓ Correct answer: It uses a small set of simple instructions, each carried out quickly
Full explanation
RISC (Reduced Instruction Set Computer) keeps a small set of simple instructions, each designed to run in very few clock cycles. CISC (Complex Instruction Set Computer) has a large set of powerful, complex instructions instead. The correct answer is It uses a small set of simple instructions, each carried out quickly.
Computer ScienceComputer OrganizationID: COR-020
What is pipelining in a CPU?
AStarting the next instruction before the previous one has finished ✓ Correct answer
BCooling the processor with liquid
CConnecting two computers together
DStoring data in a row of registers
✓ Correct answer: Starting the next instruction before the previous one has finished
Full explanation
In pipelining the CPU overlaps instructions: while one instruction is being executed, the next is already being decoded and the one after that is already being fetched — like an assembly line. The correct answer is Starting the next instruction before the previous one has finished.
Computer ScienceComputer OrganizationID: COR-021
In immediate addressing, where is the operand?
AIn the instruction itself ✓ Correct answer
BIn a register
CIn main memory
DOn the hard disk
✓ Correct answer: In the instruction itself
Full explanation
In immediate addressing the value to work on is written in the instruction itself, so the CPU does not have to fetch it from a register or from memory.
Computer ScienceComputer OrganizationID: COR-022
The JMP instruction, which makes the CPU jump to a different instruction, is an example of which type of instruction?
AA control (branch) instruction ✓ Correct answer
BAn arithmetic instruction
CA data-transfer instruction
DA logic instruction
✓ Correct answer: A control (branch) instruction
Full explanation
Instructions fall into groups: arithmetic (ADD, SUB), logic (AND, OR), data transfer (LOAD, STORE) and control or branch (JMP, CALL), which change the order the instructions run in. JMP is a control instruction. The correct answer is A control (branch) instruction.
Computer ScienceComputer OrganizationID: COR-023
Which logic gate produces an output of 1 when any of its inputs is 1?
AOR gate ✓ Correct answer
BAND gate
CNOT gate
DXOR gate
✓ Correct answer: OR gate
Full explanation
An OR gate gives 1 if any input is 1, and 0 only when all inputs are 0. An AND gate gives 1 only when all inputs are 1.
Computer ScienceComputer OrganizationID: COR-024
A NOT gate is also known as a/an:
AInverter ✓ Correct answer
BAdder
CMultiplexer
DDecoder
✓ Correct answer: Inverter
Full explanation
A NOT gate inverts its single input: 1 becomes 0 and 0 becomes 1. That is why it is also called an inverter.
Computer ScienceComputer OrganizationID: COR-025
Which logic gate produces an output of 1 only when its two inputs are different?
AXOR gate ✓ Correct answer
BAND gate
COR gate
DXNOR gate
✓ Correct answer: XOR gate
Full explanation
An XOR (exclusive OR) gate gives 1 when its inputs differ (0,1 or 1,0) and 0 when they are the same (0,0 or 1,1). XNOR is its opposite: 1 when the inputs are the same. The correct answer is XOR gate.
Computer ScienceComputer OrganizationID: COR-026
A NAND gate is made by combining which two gates?
AAn AND gate followed by a NOT gate ✓ Correct answer
BAn OR gate followed by a NOT gate
CTwo AND gates
DAn XOR gate followed by an AND gate
✓ Correct answer: An AND gate followed by a NOT gate
Full explanation
NAND means NOT-AND: an AND gate whose output is then inverted by a NOT gate. NAND (with NOR) is a universal gate — any other gate can be built from NAND gates alone. The correct answer is An AND gate followed by a NOT gate.
Computer ScienceComputer OrganizationID: COR-027
Standard ASCII is a 7-bit code. How many different characters can it represent?
A128 ✓ Correct answer
B256
C64
D1024
✓ Correct answer: 128
Full explanation
With 7 bits there are 2 to the power 7 = 128 different codes, so standard ASCII covers 128 characters: letters, digits, punctuation and control characters.
Computer ScienceComputer OrganizationID: COR-028
In ASCII, what is the decimal code for the capital letter 'A'?
A65 ✓ Correct answer
B97
C48
D32
✓ Correct answer: 65
Full explanation
In ASCII, 'A' is 65, 'a' is 97, the digit '0' is 48 and the space is 32. Lowercase letters are exactly 32 more than the matching uppercase letters.
Computer ScienceComputer OrganizationID: COR-029
In BCD (Binary Coded Decimal), how many bits are used to code each decimal digit?
A4 bits ✓ Correct answer
B2 bits
C8 bits
D1 bit
✓ Correct answer: 4 bits
Full explanation
In BCD each decimal digit 0 to 9 is written separately in 4 bits — so 59 in BCD is 0101 1001, not the pure binary 111011. The codes 1010 to 1111 are never used in BCD.
Computer ScienceComputer OrganizationID: COR-030
EBCDIC is an 8-bit character code mainly associated with which company's computers?
AIBM ✓ Correct answer
BMicrosoft
CApple
DIntel
✓ Correct answer: IBM
Full explanation
EBCDIC (Extended Binary Coded Decimal Interchange Code) is the 8-bit character code used on IBM mainframe computers.
Computer ScienceComputer OrganizationID: COR-031
What is the 1's complement of the binary number 1010?
A0101 ✓ Correct answer
B1011
C0100
D1111
✓ Correct answer: 0101
Full explanation
The 1's complement is found by flipping every bit: each 1 becomes 0 and each 0 becomes 1. So 1010 becomes 0101.
Computer ScienceComputer OrganizationID: COR-032
What is the 2's complement of the binary number 0101?
A1011 ✓ Correct answer
B1010
C0101
D1100
✓ Correct answer: 1011
Full explanation
The 2's complement is the 1's complement plus 1: flip the bits of 0101 to get 1010, then add 1 to get 1011. Computers use 2's complement to store negative numbers and to subtract by adding.
Computer ScienceComputer OrganizationID: COR-033
What is the decimal value of the hexadecimal number 2A?
A42 ✓ Correct answer
B32
C52
D26
✓ Correct answer: 42
Full explanation
2A in hexadecimal is 2 times 16 plus A (10): 32 + 10 = 42.
Computer ScienceComputer OrganizationID: COR-034
What is the decimal value of the hexadecimal number FF?
A255 ✓ Correct answer
B256
C15
D240
✓ Correct answer: 255
Full explanation
FF in hexadecimal is 15 times 16 plus 15: 240 + 15 = 255. FF is the largest value two hexadecimal digits can hold.
Computer ScienceComputer OrganizationID: COR-035
What is the decimal value of the octal number 25?
A21 ✓ Correct answer
B25
C17
D29
✓ Correct answer: 21
Full explanation
25 in octal is 2 times 8 plus 5: 16 + 5 = 21. Octal digits stop at 7, so 8 and 9 never appear in an octal number.
Computer ScienceComputer OrganizationID: COR-036
How many different values can 8 bits represent?
A256 ✓ Correct answer
B128
C255
D512
✓ Correct answer: 256
Full explanation
Eight bits give 2 to the power 8 = 256 different values: 0 to 255 as an unsigned number, or -128 to +127 in 2's complement.
Computer ScienceComputer OrganizationID: COR-037
Add the binary numbers 1111 and 1. What is the result in binary?
A10000 ✓ Correct answer
B1111
C1000
D11110
✓ Correct answer: 10000
Full explanation
1111 is 15 in decimal, so 15 + 1 = 16, and 16 in binary is 10000. The carry ripples through all four 1s.