- How many number systems are commonly used with computers?
- One
- Two
- Three
- Four (binary, decimal, octal, hex)
Show answer
Answer: (D) Four (binary, decimal, octal, hex)
Binary, decimal, octal and hexadecimal.
- In which system does a computer calculate internally?
- Decimal
- Hexadecimal
- Octal
- Binary
Show answer
Answer: (D) Binary
Digital circuits recognise only 0 and 1.
- Every letter, digit and special character is a unique combination of —
- 8 bytes
- 8 KB
- 8 characters
- 8 bits
Show answer
Answer: (D) 8 bits
One character = 8 bits = 1 byte.
- Which of these cannot be a binary number?
- 1101
- 0110
- 10201
- 1111
Show answer
Answer: (C) 10201
A binary number cannot contain a digit like 2.
- What is the base of the hexadecimal system?
- 2
- 8
- 10
- 16
Show answer
Answer: (D) 16
Hex = 16 digits: 0–9 and A–F.
- Which hexadecimal number is invalid?
- 1FA3
- B07E
- 4C2Z
- 9D5A
Show answer
Answer: (C) 4C2Z
Z is not a hex digit (only up to F).
- One hexadecimal digit equals how many binary bits?
- Three
- Four
- Eight
- Sixteen
Show answer
Answer: (B) Four
16 = 2⁴, so 4 bits.
- Compared with binary, the octal system needs —
- Fewer digits
- More digits
- The same digits
- None of these
Show answer
Answer: (A) Fewer digits
One octal digit stands for 3 bits.
- What is the binary form of decimal 37?
- 101001
- 100111
- 100101
- 100000
Show answer
Answer: (C) 100101
Divide by 2 and read the remainders bottom to top.
- Decimal value of binary 110110 —
- 54
- 56
- 48
- 35
Show answer
Answer: (A) 54
32 + 16 + 4 + 2 = 54.
- Hexadecimal form of decimal 100 —
- 46
- C4
- 96
- 64
Show answer
Answer: (D) 64
100 = 6 × 16 + 4.
- Decimal value of hex 3E —
- 78
- 62
- 59
- 58
Show answer
Answer: (B) 62
E = 14; 3 × 16 + 14 = 62.
- Decimal value of octal 725 —
- 477
- 454
- 725
- 469
Show answer
Answer: (D) 469
7 × 64 + 2 × 8 + 5 = 469.
- Octal form of decimal 200 —
- 013
- 310
- 320
- 301
Show answer
Answer: (B) 310
200 = 3 × 64 + 1 × 8 + 0.
- Hex form of binary 11100101 —
- E5
- 5E
- E3
- D5
Show answer
Answer: (A) E5
1110 = E and 0101 = 5.
- Octal form of binary 1101111 —
- 751
- 167
- 157
- 117
Show answer
Answer: (C) 157
001 101 111 → 1 5 7.
- Binary form of hex 7F —
- 11110111
- 01111111
- 01111110
- 11111110
Show answer
Answer: (B) 01111111
7 = 0111 and F = 1111.
- Binary form of octal 64 —
- 100110
- 110010
- 011001
- 110100
Show answer
Answer: (D) 110100
6 = 110 and 4 = 100.
- Hex form of octal 17 —
- 11
- 17
- F
- 8
Show answer
Answer: (C) F
17₈ = 001 111 = F.
- Octal form of hex 3C —
- 74
- 34
- 47
- 63
Show answer
Answer: (A) 74
3C = 0011 1100 → 111 100 = 74.
- How many different values can 7 bits make?
- 14
- 49
- 128
- 256
Show answer
Answer: (C) 128
2⁷ = 128 (ASCII-7).
- What is the largest decimal number that 6 bits can hold?
- 63
- 64
- 12
- 32
Show answer
Answer: (A) 63
2⁶ − 1 = 63 (111111).
- How many different values can one byte represent?
- 4
- 16
- 64
- 256
Show answer
Answer: (D) 256
2⁸ = 256.
- In BCD, how many bits are used for each decimal digit?
- 2
- 4
- 7
- 8
Show answer
Answer: (B) 4
BCD = 4 bits per digit.
- The full form of ASCII —
- American Special Computer for Information Interaction
- American Standard Computer for Information Interchange
- American Special Code for Information Interchange
- American Standard Code for Information Interchange
Show answer
Answer: (D) American Standard Code for Information Interchange
Standard Code for Information Interchange.
- Which widespread code gives every character its own 8-bit pattern —
- UNICODE
- ASCII
- BCD
- EBCDIC
Show answer
Answer: (B) ASCII
ASCII is the most widespread.
- In EBCDIC, what is the maximum number of characters possible?
- 356
- 756
- 556
- 256
Show answer
Answer: (D) 256
8 bits → 2⁸ = 256.
- Which code represents non-English characters such as Chinese and Japanese?
- EBCDIC
- ASCII
- BCD
- UNICODE
Show answer
Answer: (D) UNICODE
Unicode is meant for all languages.
- Pick the item that is not a computer code.
- EBCDIC
- ASCII
- CISC
- UNICODE
Show answer
Answer: (C) CISC
CISC is a processor design.
- The one’s complement of binary 100110 —
- 011001
- 100110
- 011010
- 111111
Show answer
Answer: (A) 011001
Flipping every bit gives 011001.
- Which bit is the sign bit?
- The rightmost
- The middle
- The leftmost (MSB)
- Any
Show answer
Answer: (C) The leftmost (MSB)
The MSB shows the sign of the number.
- When is the output of an AND gate 1?
- Any one input is 1
- Both inputs are 1
- Both inputs are 0
- The inputs differ
Show answer
Answer: (B) Both inputs are 1
AND = true only if both are true.
- When is the output of an OR gate 0?
- Both inputs are 0
- Any one input is 0
- Both inputs are 1
- Never
Show answer
Answer: (A) Both inputs are 0
OR = false only if both are false.
- Which gate is also called an inverter?
- OR
- NOT
- XOR
- NAND
Show answer
Answer: (B) NOT
The NOT gate flips the input.
- If both inputs of a NAND gate are 1, the output is —
- 1
- 0
- Undefined
- Both
Show answer
Answer: (B) 0
NAND = inverse of AND.
- When is the NOR gate output high (1)?
- 00
- 01
- 10
- 11
Show answer
Answer: (A) 00
NOR = inverse of OR; output 1 for 00.
- Which are the universal gates?
- NAND and NOR
- AND and OR
- XOR and OR
- Only AND
Show answer
Answer: (A) NAND and NOR
All gates can be made from these two.
- A NAND gate is an AND gate followed by —
- NOT gate
- OR gate
- AND gate
- XOR gate
Show answer
Answer: (A) NOT gate
AND + NOT = NAND.
- When is the output of an XOR gate 1?
- The inputs are the same
- Both inputs are 1
- The inputs differ
- Both are 0
Show answer
Answer: (C) The inputs differ
XOR = “exactly one” true.
- In decimal→binary, the last remainder is called —
- LSB
- MSB
- Sign bit
- Parity bit
Show answer
Answer: (B) MSB
The last remainder = Most Significant Bit.
More chapters in this subject
- Computer Architecture31 questions
- Computer Hardware46 questions
- Introduction to Computer30 questions
- Computer Memory52 questions