Data Representation and Storage # MCQs Practice set

Q.1 What is the smallest unit of data in a computer?

Byte
Bit
Nibble
Word
Explanation - A bit (binary digit) is the smallest unit of data and can have a value of 0 or 1.
Correct answer is: Bit

Q.2 How many bits are there in a byte?

4
8
16
32
Explanation - A byte consists of 8 bits.
Correct answer is: 8

Q.3 Which of the following is used to represent negative numbers in binary?

Sign-magnitude
1's complement
2's complement
All of the above
Explanation - Sign-magnitude, 1's complement, and 2's complement are all methods to represent negative numbers in binary.
Correct answer is: All of the above

Q.4 A nibble consists of how many bits?

2
4
6
8
Explanation - A nibble is half a byte and consists of 4 bits.
Correct answer is: 4

Q.5 Which numbering system is base 16?

Decimal
Binary
Octal
Hexadecimal
Explanation - Hexadecimal numbering system is base 16, using digits 0-9 and letters A-F.
Correct answer is: Hexadecimal

Q.6 What is the decimal equivalent of binary 1011?

10
11
12
13
Explanation - Binary 1011 = (1×2³ + 0×2² + 1×2¹ + 1×2⁰) = 8 + 0 + 2 + 1 = 11 in decimal.
Correct answer is: 11

Q.7 Which data type is commonly used to store a single character?

Integer
Float
Char
Boolean
Explanation - A 'Char' data type is used to store a single character, typically using 1 byte.
Correct answer is: Char

Q.8 What is the binary representation of decimal number 5?

101
110
111
100
Explanation - Decimal 5 = 1×2² + 0×2¹ + 1×2⁰ = 101 in binary.
Correct answer is: 101

Q.9 Which storage device is considered volatile memory?

Hard Disk
ROM
RAM
Flash Memory
Explanation - RAM is volatile memory, which loses its data when power is turned off.
Correct answer is: RAM

Q.10 ASCII is used for which type of data representation?

Images
Text
Audio
Video
Explanation - ASCII (American Standard Code for Information Interchange) encodes textual characters into binary numbers.
Correct answer is: Text

Q.11 How many bytes are in a kilobyte (KB)?

512
1024
1000
2048
Explanation - 1 KB = 1024 bytes (2¹⁰ bytes).
Correct answer is: 1024

Q.12 Which of the following represents unsigned binary numbers?

Numbers with a sign bit
Only positive numbers
Negative numbers only
Decimal numbers
Explanation - Unsigned binary numbers can represent only non-negative values (0 and positive integers).
Correct answer is: Only positive numbers

Q.13 Floating point numbers are used to represent which type of numbers?

Integers
Decimal numbers
Characters
Binary digits
Explanation - Floating point representation is used to store real numbers with fractional parts.
Correct answer is: Decimal numbers

Q.14 Which coding system is used to represent non-text data such as images and audio?

ASCII
BCD
Unicode
Binary data formats
Explanation - Non-text data like images and audio are represented using specific binary data formats.
Correct answer is: Binary data formats

Q.15 What is the main advantage of 2's complement over 1's complement?

Simpler subtraction
Unique zero representation
Smaller memory
Faster multiplication
Explanation - 2's complement has a unique representation for zero, unlike 1's complement which has two zeros.
Correct answer is: Unique zero representation

Q.16 What is the hexadecimal equivalent of binary 110111?

1B
3B
1D
2F
Explanation - Binary 110111 = 6-bit group → split as 0001 1011 = 1B in hexadecimal.
Correct answer is: 1B

Q.17 Which of the following is a non-volatile memory?

RAM
Cache
ROM
Registers
Explanation - ROM retains its data even when the power is turned off, making it non-volatile.
Correct answer is: ROM

Q.18 BCD stands for:

Binary Coded Decimal
Binary Character Data
Basic Code Digit
Bit Control Data
Explanation - BCD represents each decimal digit using its 4-bit binary equivalent.
Correct answer is: Binary Coded Decimal

Q.19 Which data representation method is most commonly used in computers for real numbers?

Integer
Floating point
BCD
ASCII
Explanation - Floating point format allows computers to represent real numbers with fractional parts efficiently.
Correct answer is: Floating point

Q.20 How many bits are used in a standard ASCII code?

7
8
16
32
Explanation - Standard ASCII uses 7 bits to represent 128 characters.
Correct answer is: 7

Q.21 Which of the following is used to represent text in most modern computers?

ASCII
Unicode
EBCDIC
BCD
Explanation - Unicode is widely used to represent text in modern computers, supporting many languages and symbols.
Correct answer is: Unicode

Q.22 The process of converting analog signals to digital form is called:

Digitization
Quantization
Sampling
Encoding
Explanation - Digitization is the process of converting continuous analog signals into discrete digital form.
Correct answer is: Digitization

Q.23 Which of the following memory types is fastest?

RAM
Cache
ROM
Hard Disk
Explanation - Cache memory is the fastest type of memory used to store frequently accessed data for quick retrieval.
Correct answer is: Cache

Q.24 Which binary number represents decimal 0 in 8-bit 2's complement?

00000000
11111111
10000000
01111111
Explanation - In 8-bit 2's complement, 00000000 represents decimal 0.
Correct answer is: 00000000

Q.25 How many distinct values can be represented by 3 bits?

4
6
8
16
Explanation - 3 bits can represent 2³ = 8 distinct values, from 0 to 7.
Correct answer is: 8