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
121
What is the decimal value of the binary number (0.101)₂?
Answer:
0.625
For the fractional part, use negative powers of 2. (1 \* 2⁻¹) + (0 \* 2⁻²) + (1 \* 2⁻³) = 0.5 + 0 + 0.125 = 0.625.
122
Which of the following accurately represents the full name for the widely used character encoding scheme, ASCII?
Answer:
American Standard Code for Information Interchange
ASCII stands for 'American Standard Code for Information Interchange'. It is a character encoding standard that uses numerical codes to represent characters, allowing computers and other devices to store, process, and exchange text information. Each character (like letters, numbers, punctuation marks, and control characters) is assigned a unique 7-bit integer, ranging from 0 to 127. This standardization was crucial in the early days of computing for ensuring that text created on one machine could be understood on another.
123
What is the result of the binary subtraction (11)₂ - (10)₂?
Answer:
(01)₂
Right column: 1-0=1. Left column: 1-1=0. The result is 01. (In decimal: 3 - 2 = 1).
124
What does "execute" permission allow a user to do with a file?
Answer:
Run the file if it is a program or script.
Execute permission is necessary to launch an application or run a script file.
125
What is the sum of (111)₂ and (111)₂?
Answer:
(1110)₂
Right column: 1+1=10 (0, carry 1). Middle: 1+1+carry(1)=11 (1, carry 1). Left: 1+1+carry(1)=11 (1, carry 1). Result is 1110. (In decimal: 7 + 7 = 14).
126
Which of the following is NOT a good practice for naming files?
Answer:
Using special characters like `*`, `/`, and `\` in the file name.
These special characters are often reserved by the operating system for other functions and can cause errors or unexpected behavior if used in a file name.
127
In the path `/users/jane/documents/project1/draft.txt`, which is the immediate parent directory of `draft.txt`?
Answer:
`project1`
The file `draft.txt` is located directly inside the `project1` directory.
128
How many basic logic gates exist in digital electronics?
Answer:
Seven
The seven basic logic gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR. [cite: 274]
129
If a user has only "read" permission for a file, they can:
Answer:
Open and view the file.
Read permission allows access to the content of a file without the ability to change it.
130
[cite_start]Which coding scheme is used by IBM? [cite: 466]
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. [cite: 466]