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
31
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.
32
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.
33
Which of the following is an abstract data type?
Answer:
Class
A class defines a template without specifying implementation details.
34
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.
35
The output of a compiler, which is a non-human-readable version of the program, is known as:
Answer:
Object Code
The compiler translates the high-level source code into intermediate object code. This object code is then typically processed by a linker to create the final executable file.
36
Dropbox, Google Drive, and Microsoft OneDrive are popular examples of:
Answer:
Cloud storage and file synchronization services
These services provide online storage space where users can save their files and access them from any internet-connected device. They are a combination of application software and a cloud service.
37
What is a "fork" in the context of open-source software development?
Answer:
When developers take a copy of the source code from a project to start their own independent development.
Forking is a common practice in open-source. If a group of developers disagrees with the direction of a project, they can "fork" it, creating a new version that they control and develop separately.
38
The "release candidate" (RC) phase of software development comes:
Answer:
After beta testing but before the final release.
A release candidate is a version that is believed to be stable enough to be the final product. It is released to a wider audience to catch any last-minute critical bugs before the official launch.
39
The set of rules that defines the combinations of symbols that are considered to be correctly structured statements in a language is its:
Answer:
Syntax
Syntax refers to the grammatical rules of the programming language. If the syntax is incorrect (e.g., a missing semicolon), the program will fail to compile or be interpreted.
40
System software consists of operating systems and:
Answer:
Language translators
System software includes operating systems and language translators that convert programs into machine code.