Computer Science/IT MCQs
Topic Notes: Computer Science/IT
MCQs and preparation resources for competitive exams, covering important concepts, past papers, and detailed explanations.
Plato
- Biography: Ancient Greek philosopher (427–347 BCE), student of Socrates and teacher of Aristotle, founder of the Academy in Athens.
- Important Ideas:
- Theory of Forms
- Philosopher-King
- Ideal State
3591
Which coding scheme is used by IBM?
Answer:
EBCDIC
EBCDIC (Extended Binary Coded Decimal Interchange Code) is an 8-bit character encoding that was developed by IBM for use on its larger mainframe and mid-range computer systems, such as the System/360.
3592
Perform the binary multiplication: (1101)₂ × (101)₂.
Answer:
(1000001)₂
To multiply two binary numbers, we use a process similar to long multiplication in base 10. Each digit of the multiplier is multiplied by the multiplicand, and the resulting partial products are then added. Let's multiply (1101)₂ by (101)₂: Step 1: Multiply (1101)₂ by the rightmost digit of the multiplier, which is 1. 1101 x 101 ------- 1101 (1101 × 1) Step 2: Multiply (1101)₂ by the middle digit of the multiplier, which is 0. Shift the result one position to the left. 1101 x 101 ------- 1101 0000 (1101 × 0, shifted one position left) Step 3: Multiply (1101)₂ by the leftmost digit of the multiplier, which is 1. Shift the result two positions to the left. 1101 x 101 ------- 1101 0000 1101 (1101 × 1, shifted two positions left) Step 4: Add the partial products: 1101 0000 + 1101 -------- 1000001 Let's perform the binary addition: 1101 (Partial product 1) + 0000 (Partial product 2, shifted) + 110100 (Partial product 3, shifted) --------- Adding these: 1101 00000 + 110100 --------- Digit by digit addition from right to left: - Rightmost digit: 1 + 0 + 0 = 1 - Second digit from right: 0 + 0 + 0 = 0 - Third digit from right: 1 + 0 + 1 = 10 (binary). Write down 0, carry over 1. - Fourth digit from right: 1 (carry) + 1 + 0 + 0 = 10 (binary). Write down 0, carry over 1. - Fifth digit from right: 1 (carry) + 0 + 0 + 1 = 10 (binary). Write down 0, carry over 1. - Sixth digit from right: 1 (carry) + 1 = 10 (binary). Write down 0, carry over 1. - Seventh digit from right: 1 (carry) = 1. Result: (1000001)₂ Alternatively, convert the binary numbers to decimal, multiply, and convert back: (1101)₂ = 1*2³ + 1*2² + 0*2¹ + 1*2⁰ = 8 + 4 + 0 + 1 = 13 (decimal) (101)₂ = 1*2² + 0*2¹ + 1*2⁰ = 4 + 0 + 1 = 5 (decimal) 13 * 5 = 65 (decimal) Now, convert 65 (decimal) to binary: 65 ÷ 2 = 32 remainder 1 32 ÷ 2 = 16 remainder 0 16 ÷ 2 = 8 remainder 0 8 ÷ 2 = 4 remainder 0 4 ÷ 2 = 2 remainder 0 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Reading the remainders from bottom to top gives (1000001)₂. Therefore, (1101)₂ multiplied by (101)₂ is (1000001)₂.
3593
Which of the following has a 16-bit coding scheme?
Answer:
Unicode
The Unicode standard was originally designed as a 16-bit character encoding system. This allows it to represent a vast number of characters (up to 65,536), which is necessary to support alphabets and symbols from languages around the world.
3594
What does ASCII stand for in the context of computer coding?
Answer:
American Standard Code for Information Interchange
ASCII is a character encoding standard for electronic communication. The acronym stands for American Standard Code for Information Interchange. It represents text in computers, telecommunications equipment, and other devices.
3595
Which type of data consists of words, sentences, and paragraphs?
Answer:
Text
Text data is a sequence of characters, such as letters, numbers, and symbols, that are organized into words, sentences, and paragraphs. It is one of the most common forms of information processed by computers.
3596
Which is the largest unit of data storage?
Answer:
Word
Among the options provided, a "word" is the largest. A bit is the smallest unit (a single 0 or 1). A byte is a group of 8 bits. A computer "word" refers to the natural unit of data used by a processor, which is typically larger than a byte and can be 16, 32, or 64 bits long depending on the computer's architecture.
3597
What does ASCII provide?
Answer:
128 different characters
Standard ASCII (American Standard Code for Information Interchange) is a 7-bit character code, which means it can represent 2^7, or 128, different characters. These include uppercase and lowercase English letters, numbers, punctuation marks, and control characters. Extended ASCII uses 8 bits to represent 256 characters.
3598
The number (11)₁₆ is what in decimal?
Answer:
17
(1 \* 16¹) + (1 \* 16⁰) = 16 + 1 = 17.
3599
What is the result when the binary number (101)₂ is multiplied by the binary number (11)₂? Express your answer in binary form.
Answer:
(1111)₂
To calculate the product of (101)₂ and (11)₂, we can use a method similar to long multiplication in base 10: Step 1: Multiply (101)₂ by the rightmost digit of (11)₂, which is '1'. (101)₂ × 1 = (101)₂ Step 2: Multiply (101)₂ by the next digit of (11)₂, which is '1'. Shift the result one position to the left (equivalent to multiplying by 2 in binary). (101)₂ × 1 shifted left = (1010)₂ Step 3: Add the results from Step 1 and Step 2. (101)₂ + (1010)₂ ------- (1111)₂ Alternatively, we can convert the binary numbers to decimal, multiply, and then convert the product back to binary: Convert (101)₂ to decimal: (1 * 2^2) + (0 * 2^1) + (1 * 2^0) = 4 + 0 + 1 = 5₁₀ Convert (11)₂ to decimal: (1 * 2^1) + (1 * 2^0) = 2 + 1 = 3₁₀ Now, multiply the decimal numbers: 5₁₀ × 3₁₀ = 15₁₀ Finally, convert 15₁₀ back to binary: 15 ÷ 2 = 7 remainder 1 7 ÷ 2 = 3 remainder 1 3 ÷ 2 = 1 remainder 1 1 ÷ 2 = 0 remainder 1 Reading the remainders from bottom to top gives (1111)₂. Therefore, the product of (101)₂ and (11)₂ is (1111)₂.
3600
How many bits are there in 8 bytes?
Answer:
64 bits
A single byte is defined as a sequence of 8 bits. To find the total number of bits in 8 bytes, you multiply the number of bytes by 8. So, 8 bytes × 8 bits/byte = 64 bits.