Computer Science
Multiple Choice
Questions
(MCQs) – Sets 48
with Detailed Explanations
🎓 Welcome to edusoars.blogspot.com!
Your trusted platform for mastering competitive exams.
We provide a comprehensive and ever-expanding library of Multiple Choice Questions (MCQs) designed not just for practice, but for true conceptual mastery.
What We Cover:
Our expert-curated MCQs span a wide array of high-demand subjects, including:
* Technology & Engineering: Computer Science, Engineering
* Core Academics: Mathematics, Science
* Testing Skills: Aptitude, Reasoning
* General Awareness: General Knowledge
Why Choose Edusoars?
We help you turn practice time into measurable progress:
* Conceptual Clarity: Every single MCQ is accompanied by a detailed, insightful explanation. This is crucial—you don't just learn what the answer is, you understand the concept behind the solution, allowing you to learn effectively from every mistake.
* Realistic Readiness: Test your knowledge with our variety of practice quizzes and simulated tests. They are designed to be as realistic as possible, helping you benchmark your performance and build exam-day confidence.
* Content That Grows: We are constantly adding new material across all subjects, ensuring you always have fresh, relevant content that reflects the latest exam patterns.
> Stop hoping you're prepared. Start knowing you are.
If you are serious about succeeding in your competitive exams, edusoars.blogspot.com is the strategic resource you need to reach your goals.
SET 48 – Computer Science MCQs
✅ No repetition from Sets 1–47
✅ 10 completely new questions
✅ Each explanation
Level: Class 9–10 / Beginners
1. What is a program?
A. Computer hardware
B. Set of instructions given to computer
C. Output device
D. Data type
✅ Correct Answer: B
Explanation:
A program is a collection of instructions written in a programming language that tells a computer how to perform a specific task. Programs control the working of hardware and software. Without programs, computers cannot function meaningfully or solve problems.
2. What is programming language?
A. Human language
B. Machine part
C. Language used to write programs
D. Output format
✅ Correct Answer: C
Explanation:
A programming language is a formal language used to write instructions that a computer can understand and execute. Examples include C, Python, and Java. Programming languages help humans communicate tasks to computers in a structured manner.
3. What is source code?
A. Machine code
B. Error code
C. Program written by programmer
D. Compiled output
✅ Correct Answer: C
Explanation:
Source code is the original program written by a programmer using a programming language. It is human-readable and must be translated into machine code before execution. Source code allows easy modification, debugging, and maintenance of software.
4. What is object code?
A. Source program
B. Human-readable code
C. Machine-readable code
D. Flowchart
✅ Correct Answer: C
Explanation:
Object code is the machine-readable form of a program generated after compilation. It consists of binary instructions that the computer’s processor can execute. Object code is not easily understood by humans but is essential for program execution.
5. What is compiler?
A. Hardware device
B. Software that translates entire program
C. Executes program line by line
D. Debugging tool
✅ Correct Answer: B
Explanation:
A compiler is a software tool that translates the entire source code into machine code at once. It checks for syntax errors and generates object code. Compilers improve program performance by creating optimized executable files.
6. What is interpreter?
A. Converts whole program at once
B. Executes code without errors
C. Translates program line by line
D. Hardware unit
✅ Correct Answer: C
Explanation:
An interpreter translates and executes a program line by line. It allows easy debugging because errors are shown immediately. Interpreters are commonly used in languages like Python, making them suitable for learning and rapid development.
7. What is syntax error?
A. Logical mistake
B. Error in program logic
C. Violation of language rules
D. Runtime crash
✅ Correct Answer: C
Explanation:
A syntax error occurs when the program violates the grammatical rules of a programming language. Such errors prevent the program from compiling or running. Syntax errors must be corrected before the program can be executed.
8. What is logical error?
A. Grammar mistake
B. Program crash
C. Program gives wrong output
D. Compilation error
✅ Correct Answer: C
Explanation:
A logical error occurs when a program runs successfully but produces incorrect output. These errors happen due to faulty logic or incorrect conditions. Logical errors are harder to detect and require careful testing and debugging.
9. What is runtime error?
A. Error before execution
B. Error after execution
C. Error during program execution
D. Syntax mistake
✅ Correct Answer: C
Explanation:
A runtime error occurs while a program is running. It may be caused by dividing by zero or accessing invalid memory. Runtime errors cause program crashes and must be handled using proper error-checking techniques.
10. What is software testing tool?
A. Hardware device
B. Language translator
C. Tool used to test software
D. Output device
✅ Correct Answer: C
Explanation:
A software testing tool helps testers evaluate program quality by detecting errors and performance issues. These tools automate testing processes and ensure reliability. Testing tools improve software efficiency and reduce development time.
Thank you for visiting! We wish you the absolute best of luck in your studies!
