First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Fundamentals of Computers and Number Systems
In the Tamil Nadu HSE First Year Computer Science syllabus, the first generation of computers is characterised by the use of which primary electronic component?
- Integrated circuits
- Transistors
- Vacuum tubes Correct answer.
- Microprocessors
Explanation
First generation computers (roughly 1940-1956) were built with vacuum tubes, which were large, generated much heat and consumed heavy power. Transistors replaced tubes only in the second generation, integrated circuits in the third and microprocessors in the fourth.
Question 2Fundamentals of Computers and Number Systems
Which of the following is classified as an input device in a computer system?
- Plotter
- Light pen Correct answer.
- Monitor
- Speaker
Explanation
A light pen is a pointing input device used to select or draw directly on a screen, so it sends data into the computer. Plotters, monitors and speakers all produce output for the user and therefore belong to the output category.
Question 3Fundamentals of Computers and Number Systems
The binary number 1101 equals which decimal value?
- 14
- 11
- 12
- 13 Correct answer.
Explanation
Evaluate place values from the right: 1×1 + 0×2 + 1×4 + 1×8 = 1 + 0 + 4 + 8 = 13. So 1101 in base two is thirteen in base ten.
Question 4Fundamentals of Computers and Number Systems
What is the decimal equivalent of the octal number 17?
- 15 Correct answer.
- 13
- 14
- 16
Explanation
In octal each position is a power of eight, so 17 means 1×8 + 7×1 = 8 + 7 = 15. The digit 7 is the largest legal octal digit, so no carry adjustment is needed.
Question 5Fundamentals of Computers and Number Systems
In the hexadecimal number system, the decimal value 12 is represented by which symbol?
- D
- E
- B
- C Correct answer.
Explanation
Hexadecimal uses sixteen symbols: 0-9 for values zero to nine, then A=10, B=11, C=12, D=13, E=14 and F=15. Therefore decimal twelve is written as C.
Question 6Fundamentals of Computers and Number Systems
Which memory is described as volatile, losing its stored contents when power is switched off?
- Hard disk
- RAM Correct answer.
- Flash memory
- ROM
Explanation
RAM is read/write working memory that holds programs and data only while the computer is powered, so its contents vanish on shutdown. ROM, hard disks and flash memory are non-volatile and retain data without power.
Question 7Fundamentals of Computers and Number Systems
The set of instructions that directs the hardware of a computer and is stored permanently is collectively called
- Firmware Correct answer.
- Software
- Freeware
- Hardware
Explanation
Firmware is software such as the BIOS that is stored in ROM or flash memory and is tightly tied to the hardware. Hardware refers to physical components, while freeware is software distributed at no cost, a licensing term rather than a storage category.
Question 8Fundamentals of Computers and Number Systems
Which number system is used internally by digital computers because it matches the two stable states of a switching circuit?
- Decimal
- Octal
- Hexadecimal
- Binary Correct answer.
Explanation
Digital circuits have two reliable states, on and off, which map directly to the digits 1 and 0. Binary therefore represents data naturally in hardware, while decimal, octal and hexadecimal are mainly conveniences for human reading and shorthand.
Question 9Fundamentals of Computers and Number Systems
Convert the decimal number 45 into binary.
- 100101
- 101011
- 101101 Correct answer.
- 110101
Explanation
Repeated division by two gives remainders 1,0,1,1,0,1 read upwards, producing 101101. Checking: 32+8+4+1 = 45, which confirms the result.
Question 10Fundamentals of Computers and Number Systems
The binary number 1011.101 has which decimal value?
- 10.625
- 11.625 Correct answer.
- 11.75
- 11.5
Explanation
The integer part 1011 is 11. For the fraction, 1×0.5 + 0×0.25 + 1×0.125 = 0.625, so the total is 11.625. Fractional place values halve at each step to the right of the point.
Question 11Fundamentals of Computers and Number Systems
What is the hexadecimal equivalent of the binary number 1111 1010?
- EA
- FA Correct answer.
- AF
- F5
Explanation
Group binary digits in fours from the right: 1111 is F (15) and 1010 is A (10), giving FA. Each hexadecimal digit stands for exactly four binary bits.
Question 12Fundamentals of Computers and Number Systems
The 8-bit binary representation of decimal 100 is
- 01101100
- 01100100 Correct answer.
- 01100010
- 01000100
Explanation
Using place values: 64+32+4 = 100, which sets bits for 64, 32 and 4, giving 01100100. The remaining bits stay zero because 16, 8, 2 and 1 are not needed.
Question 13Fundamentals of Computers and Number Systems
Which of these is a characteristic of the third generation of computers?
- Use of integrated circuits on silicon chips Correct answer.
- Use of punched cards for input
- Use of vacuum tubes for arithmetic
- Use of magnetic drums as main memory
Explanation
Third generation machines replaced discrete transistors with integrated circuits, which placed many components on a single silicon chip and improved speed and reliability. Punched cards and magnetic drums belong to earlier generations, and vacuum tubes to the first.
Question 14Fundamentals of Computers and Number Systems
A printer that forms characters by striking an inked ribbon against paper, producing a carbon copy, belongs to which class?
- Optical scanner
- Impact printer Correct answer.
- Non-impact printer
- Plotter
Explanation
Impact printers such as dot matrix and line printers physically strike the paper, which is why multiple carbon copies can be produced. Non-impact printers like laser and inkjet use other methods and cannot create carbon copies.
Question 15Fundamentals of Computers and Number Systems
Which of the following is an example of system software rather than application software?
- Operating system Correct answer.
- Spreadsheet package
- Word processor
- Photo editor
Explanation
System software manages the hardware and provides a platform for other programs, and the operating system is its primary example. Spreadsheets, word processors and photo editors are application packages written to perform user tasks.
Question 16Fundamentals of Computers and Number Systems
The octal number 345 converts to which decimal value?
- 235
- 233
- 229 Correct answer.
- 231
Explanation
Expand by powers of eight: 3×64 + 4×8 + 5×1 = 192 + 32 + 5 = 229. Each shift left in octal multiplies the digit's weight by eight.
Question 17Fundamentals of Computers and Number Systems
Which memory unit is used mainly to speed up the operation of the CPU by holding frequently used instructions?
- Cache memory Correct answer.
- ROM
- Virtual memory
- Secondary storage
Explanation
Cache is a small, very fast memory placed close to the CPU that stores recently used data and instructions to cut access time. Secondary storage is slow and permanent, virtual memory is disk space used as an extension of RAM, and ROM holds fixed startup routines.
Question 18Fundamentals of Computers and Number Systems
The hexadecimal number 2B is equal to which binary number?
- 0011 1011
- 0010 1101
- 0010 1011 Correct answer.
- 0010 1010
Explanation
Each hexadecimal digit expands to four bits: 2 becomes 0010 and B (11) becomes 1011, giving 0010 1011. Converting each digit separately avoids arithmetic errors.
Question 19Fundamentals of Computers and Number Systems
Which statement about the relationship between the number systems is correct?
- One octal digit equals three binary digits Correct answer.
- One binary digit equals two octal digits
- One octal digit equals four binary digits
- One hexadecimal digit equals three binary digits
Explanation
Since 8 = 2³, exactly three binary bits are needed to express one octal digit. Hexadecimal, based on 16 = 2⁴, needs four bits per digit, and the binary-to-octal relationship is the reverse of the fourth option.
Question 20Fundamentals of Computers and Number Systems
A computer's main memory has a capacity of 4 GB. Express this capacity in megabytes.
- 4096 MB Correct answer.
- 400 MB
- 4000 MB
- 1024 MB
Explanation
Memory capacity is measured in powers of two, so 1 GB = 1024 MB and 4 GB = 4 × 1024 = 4096 MB. The decimal approximation 4000 MB ignores the binary base used for memory.
Question 21Fundamentals of Computers and Number Systems
What is the decimal value of the hexadecimal number 1A3?
- 423
- 421
- 419 Correct answer.
- 425
Explanation
Expand with powers of sixteen: 1×256 + 10×16 + 3×1 = 256 + 160 + 3 = 419. The digit A contributes ten sixteens, that is 160.
Question 22Fundamentals of Computers and Number Systems
A student adds the binary numbers 1011 and 0110. What is the correct 4-bit sum?
- 10001 Correct answer.
- 10010
- 11001
- 10011
Explanation
Adding from the right: 1+0=1, 1+1=0 carry 1, 0+1+1=0 carry 1, 1+0+1=0 carry 1, giving 10001. In decimal this is 11 + 6 = 17, which matches the five-bit result.
Question 23Fundamentals of Computers and Number Systems
Using 8-bit two's complement notation, the decimal value -5 is represented as
- 11111010
- 11111011 Correct answer.
- 10000101
- 11110101
Explanation
Start with +5 as 00000101, invert the bits to get 11111010, then add one to obtain 11111011. This is the standard two's complement method for writing a negative number.
Question 24Fundamentals of Computers and Number Systems
Which grouping correctly pairs a memory with its typical volatility and storage role?
- Cache is slower than main memory but non-volatile
- DRAM needs periodic refreshing and is used as main memory Correct answer.
- ROM loses its contents when power fails
- SRAM needs periodic refreshing and is used as cache
Explanation
DRAM stores each bit as a charge on a capacitor, so the charge leaks and must be refreshed constantly; it is therefore used for large main memory. SRAM holds bits in flip-flops without refreshing and is faster, which makes it suitable for cache.
Question 25Fundamentals of Computers and Number Systems
A binary number has n bits. Which expression gives the total number of distinct values it can represent?
- n^2
- 2n
- 2^n Correct answer.
- n/2
Explanation
Each bit has two possible states, so n independent bits give 2 multiplied by itself n times, that is 2^n combinations. For example, 4 bits yield 16 distinct patterns from 0000 to 1111.
Question 26Fundamentals of Computers and Number Systems
Which input device is designed specifically to read a pre-printed pattern of thick and thin bars and convert it into a product code for a billing system?
- Barcode reader Correct answer.
- Light pen
- Digitizer
- Joystick
Explanation
A barcode reader shines light on a printed barcode and converts the reflected pattern of bars and spaces into the coded number used by billing software. The other devices accept hand-drawn position, cursor movement, or freehand pointing input rather than reading a printed code.
Question 27Fundamentals of Computers and Number Systems
A computer system is described by the sequence input, process, output and storage. Which unit is responsible for the 'process' stage in this model?
- Central Processing Unit Correct answer.
- Input/output interface
- Secondary storage
- Control unit alone
Explanation
The Central Processing Unit performs all arithmetic and logical operations and coordinates the other units, so it carries out the processing stage of the input-process-output-storage cycle. The control unit only directs operations, while storage and interfaces move or hold data.
Question 28Fundamentals of Computers and Number Systems
Using 8-bit two's complement representation, what is the result of adding 0111 1000 and 0000 1100?
- 1000 0100 Correct answer.
- 1000 0110
- 0111 1100
- 1000 0010
Explanation
Adding the two bit patterns gives 1000 0100. Since the operands are +120 and +12, the true sum is +132, which exceeds the 8-bit signed range of -128 to +127, so the pattern 1000 0100 is really -124 and the overflow flag would be set.
Question 29Fundamentals of Computers and Number Systems
A file occupies 3 KB of memory. How many bits does this file contain?
- 3000
- 24000
- 3072
- 24576 Correct answer.
Explanation
One kilobyte equals 1024 bytes, so 3 KB is 3072 bytes. Each byte contains 8 bits, and 3072 multiplied by 8 gives 24576 bits.
Question 30Fundamentals of Computers and Number Systems
An 8-bit register holds the value 1111 0110. Which pair correctly states its value when interpreted as an unsigned number and as a two's complement signed number?
- 247 and -8
- 246 and -10 Correct answer.
- 245 and -10
- 246 and -9
Explanation
As an unsigned number the pattern equals 128+64+32+16+4+2, which is 246. In two's complement the leading 1 means the value is 246 minus 256, giving -10, so the same bits represent two different values depending on interpretation.
Question 31Boolean Algebra and Logic Gates
In Boolean algebra, which law states that A + A = A and A · A = A?
- Distributive law
- Commutative law
- Absorption law
- Idempotent law Correct answer.
Explanation
The idempotent law says that combining a variable with itself by OR or by AND leaves it unchanged, so A + A = A and A · A = A. It follows from the two-valued nature of Boolean variables, where A is either 0 or 1. The commutative law concerns order, the distributive law concerns expanding brackets, and absorption concerns expressions such as A + A·B.
Question 32Boolean Algebra and Logic Gates
A Boolean variable in switching algebra can take how many distinct values, and what are they?
- Four values, 00, 01, 10 and 11
- Three values, 0, 1 and 2
- Ten values, 0 to 9
- Two values, 0 and 1 Correct answer.
Explanation
Boolean algebra is a two-valued system: each variable is either 0 (false, low, off) or 1 (true, high, on). No other value is permitted, which is why the idempotent and complement laws hold so simply. Multi-bit patterns such as 00 or 01 describe a group of several variables, not a single variable.
Question 33Boolean Algebra and Logic Gates
Which gate produces a HIGH output only when all of its inputs are HIGH?
- XOR gate
- OR gate
- AND gate Correct answer.
- NAND gate
Explanation
The AND gate outputs 1 only for the single input combination where every input is 1; any 0 input forces the output to 0. Its boolean expression is Y = A · B for two inputs. The OR gate needs only one HIGH input, and the NAND and XOR gates give a HIGH output for several input combinations.
Question 34Boolean Algebra and Logic Gates
What is the Boolean expression for the output of a two-input NOR gate with inputs A and B?
- Y = (A · B)'
- Y = A · B
- Y = A + B
- Y = (A + B)' Correct answer.
Explanation
A NOR gate is an OR gate followed by an inverter, so its output is the complement of the OR result, written Y = (A + B)'. The output is 1 only when both A and B are 0. The expression (A · B)' describes a NAND gate instead.
Question 35Boolean Algebra and Logic Gates
Which pair of gates is known as universal gates because any logic function can be built using only that type?
- NOT and OR
- NAND and NOR Correct answer.
- AND and OR
- XOR and XNOR
Explanation
NAND and NOR are called universal gates because each can be wired to behave as NOT, AND and OR, and therefore any Boolean expression can be realised using only one of them. AND, OR, XOR and NOT are not universal on their own. This is why manufacturers can build entire circuits from a single gate type.
Question 36Boolean Algebra and Logic Gates
Which statement is the correct form of De Morgan's first theorem?
- (A · B)' = A' + B'
- (A · B)' = A' · B'
- (A + B)' = A' + B'
- (A + B)' = A' · B' Correct answer.
Explanation
De Morgan's first theorem states that the complement of a sum equals the product of the complements, so (A + B)' = A' · B'. The second theorem handles the complement of a product, giving (A · B)' = A' + B'. Both theorems are used to convert between AND and OR forms with inversion.
Question 37Boolean Algebra and Logic Gates
Simplify the expression Y = A + A·B using a Boolean law.
- Y = A·B
- Y = A + B
- Y = B
- Y = A Correct answer.
Explanation
The absorption law states that A + A·B = A, because the term A already covers every case in which the output is 1; when A is 1 the output is 1 regardless of B, and when A is 0 both terms are 0. So the extra product term is redundant. This simplification is a standard step in reducing logic circuits.
Question 38Boolean Algebra and Logic Gates
What is the simplified form of Y = A·B + A·B' ?
- Y = B
- Y = A + B
- Y = A'·B
- Y = A Correct answer.
Explanation
Factor out A to get A·(B + B'). By the complement law B + B' = 1, so Y = A·1 = A. The two product terms together cover both values of B for every value of A, so the output depends only on A.
Question 39Boolean Algebra and Logic Gates
How many rows does the truth table of a Boolean function with four input variables have?
- 32
- 16 Correct answer.
- 12
- 8
Explanation
A truth table has one row for every possible combination of input values, and with n variables there are 2^n combinations. For n = 4 this gives 2^4 = 16 rows. The number of output columns depends on the function, but the row count depends only on the number of inputs.
Question 40Boolean Algebra and Logic Gates
The output of a two-input XOR gate is 1 when its inputs are A = 1 and B = 1. What is the output when A = 1 and B = 0?
- It depends on the previous state
- 0
- Undefined
- 1 Correct answer.
Explanation
An XOR gate outputs 1 when its two inputs are different, so with A = 1 and B = 0 the output is 1. It outputs 0 only when the inputs are equal, that is, for 00 and 11. Combinational gates such as XOR have no memory, so the previous state is irrelevant.
Question 41Boolean Algebra and Logic Gates
Which Boolean expression is equivalent to the NAND of A and B, written using only AND and NOT?
- A' · B'
- (A · B)' Correct answer.
- A' + B
- (A + B)'
Explanation
A NAND gate inverts the AND of its inputs, so its expression is (A · B)'. By De Morgan's second theorem this can also be written A' + B'. The expression A' · B' is the NOR of A and B, not the NAND.
Question 42Boolean Algebra and Logic Gates
What is the canonical sum-of-products (SOP) form of the XOR function of two variables A and B?
- A'·B' + A'·B
- A'·B' + A·B
- A·B' + A·B
- A'·B + A·B' Correct answer.
Explanation
XOR is 1 when the inputs differ, that is, for the minterms A'B (01) and AB' (10). Summing these minterms gives A'·B + A·B'. Each product term contains every input variable exactly once, so the form is canonical.
Question 43Boolean Algebra and Logic Gates
A logic circuit gives output 1 whenever the two inputs are equal. Which single gate directly implements this function?
- XNOR gate Correct answer.
- NOR gate
- NAND gate
- XOR gate
Explanation
The XNOR gate outputs 1 when its inputs are identical, that is, for 00 and 11, and 0 when they differ. Its expression is A·B + A'·B'. The XOR gate does the opposite, producing 1 only when the inputs differ.
Question 44Boolean Algebra and Logic Gates
Simplify Y = (A + B)·(A + C) using Boolean algebra.
- Y = A + B + C
- Y = A·(B + C)
- Y = A + B·C Correct answer.
- Y = A·B + C
Explanation
Expand the product to get A·A + A·C + A·B + B·C. Since A·A = A, the expression becomes A + A·C + A·B + B·C, and by absorption A + A·C + A·B reduces to A. The result is therefore A + B·C.
Question 45Boolean Algebra and Logic Gates
In a two-input AND gate, input A is connected to a signal X and input B is tied permanently to logic 1. What function does the output realise?
- Constant 0
- The complement of X
- The signal X itself Correct answer.
- Constant 1
Explanation
The AND identity law states that X · 1 = X, so tying one input HIGH passes the other input straight through. The gate behaves as a buffer for X. Tying the input to 0 instead would force the output to constant 0 by the null law.
Question 46Boolean Algebra and Logic Gates
A signal X is applied to both inputs of a two-input NAND gate. What is the resulting output?
- X' Correct answer.
- X
- 0
- 1
Explanation
With both inputs equal to X, the NAND output is (X · X)', and by the idempotent law X · X = X, so the output is X'. Feeding a signal to both inputs of a NAND therefore produces an inverter. The same trick works with a NOR gate.
Question 47Boolean Algebra and Logic Gates
Which Boolean expression is NOT in canonical sum-of-products form?
- A'·B·C' + A·B·C
- A'·B'·C + A·B'·C'
- A·B'·C' + A'·B·C'
- A·B + A'·B' Correct answer.
Explanation
In canonical SOP form every product term must contain each input variable exactly once, either complemented or uncomplemented. The term A·B in the second option omits C, so that expression is not canonical even though it is a valid SOP. The other options have every minterm containing all three variables.
Question 48Boolean Algebra and Logic Gates
A Boolean function of three variables is 1 only for the minterms m1, m3, m5 and m7. Which simplified expression represents it?
- Y = C Correct answer.
- Y = A + B + C
- Y = A
- Y = B
Explanation
The minterms 1, 3, 5 and 7 in binary are 001, 011, 101 and 111, all of which have C = 1 while A and B vary over every combination. The function therefore depends only on C, so Y = C. Grouping these four minterms in a Karnaugh map removes A and B.
Question 49Boolean Algebra and Logic Gates
Using De Morgan's theorems, which expression is equivalent to (A·B + C)' ?
- (A + B)·C'
- (A' + B')·C' Correct answer.
- A'·B' + C'
- A' + B' + C'
Explanation
Treat A·B as one term and apply De Morgan: (A·B + C)' = (A·B)' · C'. Applying De Morgan again to (A·B)' gives A' + B', so the full result is (A' + B')·C'. The complement of a sum becomes a product of complements, and the complement of a product becomes a sum of complements.
Question 50Boolean Algebra and Logic Gates
A circuit has three inputs A, B and C and must output 1 only when exactly two of the three inputs are 1. Which expression implements this?
- A·B + B·C + A·C Correct answer.
- A'·B'·C' + A·B'·C'
- A + B + C
- A·B·C + A'·B'·C'
Explanation
The condition 'exactly two inputs are 1' corresponds to the minterms 011, 101 and 110. Pairing them gives A·B (covers 110 and 111) combined with B·C and A·C, and the sum A·B + B·C + A·C is 1 for those three combinations. Note that this expression also gives 1 for 111, so it must be combined with an exclusion of the all-ones case if strict 'exactly two' behaviour is required.