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
1341
In semantic versioning MAJOR.MINOR.PATCH, what does a change in the "MINOR" number suggest?
Answer:
New functionality has been added in a backward-compatible manner.
The minor version is incremented when new features are introduced to the software, but in a way that does not break existing functionality from previous versions in the same major release.
1342
Software that provides the basic foundation for a computer's operation is:
Answer:
System Software
System software, including the operating system and device drivers, provides all the essential services that allow the computer hardware and other software to work.
1343
A "library" in programming is:
Answer:
A collection of pre-written code, functions, and routines that a programmer can use.
Libraries provide reusable code for common tasks (like mathematical calculations or network communication), saving programmers from having to write everything from scratch.
1344
A programmer writing a plan or a simplified, informal description of a program's logic before writing the actual code is creating:
Answer:
Pseudocode
Pseudocode is a way of outlining a program using plain language structured like code but without the strict syntax rules of a real programming language. It is used for planning and design.
1345
Which technique in object-oriented programming reduces redundant work?
Answer:
Reuse of code
Code reuse saves time by using existing code components instead of writing new ones.
1346
A computer's BIOS is an example of:
Answer:
Firmware
The BIOS (Basic Input/Output System) is low-level software embedded in a chip on the motherboard, making it a classic example of firmware.
1347
Which statement best compares compiled and interpreted code execution speed?
Answer:
Compiled code generally runs faster than interpreted code.
Since a compiled program is already translated into the CPU's native machine code, it can be executed directly and very quickly. An interpreted program requires the extra step of translation for each line every time it is run, which adds overhead and slows it down.
1348
Which of the following runs continuously whenever the computer is on?
Answer:
The operating system kernel
The kernel is the core of the OS and is loaded into memory when the computer starts up. It remains in memory and runs for the entire duration the computer is on to manage system resources.
1349
Which of the following is an abstract data type?
Answer:
Class
A class defines a template without specifying implementation details.
1350
Which type of translator processes and executes source code line-by-line, without creating a separate executable file?
Answer:
Interpreter
An interpreter reads one line of source code at a time, translates it, and executes it immediately before moving on to the next line. This is different from a compiler, which translates the entire program first.