Skip to content
VUBuddy

CS201 Midterm Solved MCQs Updated

Introduction to Programming PDF 437 KBUpdated 23 Oct 2026
Midterm past paper CS201 Midterm Solved MCQs Updated PDF 437 KB
vubuddy.com
Type
Midterm past paper
Course
CS201 Introduction to Programming
Size
PDF 437 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 437 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 43. Download the file for all 43 pages.

MIDTERM (SHORT NOTES) · 2024 - 2025 · CS201 MCQ’s · Lecture # 01:

What is a program in the context of programming?

✅ A sequence of steps to solve a problem A random collection of commands A set of files and folders An error checking method

According to Alan Perlis, why is teaching programming against the grain of modern education?

✅ It involves planning, organizing, and being self-critical Because it is boring and repetitive Because it’s expensive Because students don’t need computers

What does Steve Summit mean by saying computers need detailed instructions?

✅ Computers need precise and complete instructions Computers are smart and understand human language Computers can infer what we mean Computers can fix our mistakes

Why is programming considered important?

✅ It improves problem-solving and analytical thinking It is only for software engineers It makes computer games It avoids using application software

Which of the following is not a skill required for programming?

Using a mouse ✅ Avoiding comments in code Paying attention to detail Thinking about reusability

Why should code be commented liberally?

✅ To explain functionality for yourself and others To make the program run faster To confuse the compiler To hide logic from users

What does it mean when we say “computers are stupid”?

✅ They follow instructions exactly without understanding They can’t perform arithmetic They get viruses easily They cannot be programmed

What is the purpose of a program design recipe?

✅ To follow structured steps for writing code To learn different programming languages To find bugs in operating systems To build hardware systems

Which step is not part of the design recipe mentioned in the lecture?

✅ Guessing the output Analyzing a problem Using examples Formulating precise comments

What should be the first step in writing a program?

✅ Understand and analyze the problem Copy code from the internet Start coding immediately Create graphics first

Which statement about reusability is true?

✅ Reusable code saves time and effort Reusable code should always be rewritten Reusability is not important Comments make code reusable

What should be assumed about users when designing a program?

They are computer experts They can write code ✅ They may not understand technical terms They can debug errors

Why is it bad to be vague when writing code?

✅ The computer cannot infer or guess intentions It confuses other programmers It slows the system It makes the UI look ugly

What is meant by logical correctness in programming?

✅ Code should solve the problem as intended Code must run fast Code must be grammatically correct Code should be complicated

What makes programming fun, according to the lecture?

✅ It’s a creative way to solve problems It’s a way to get rich It’s easier than using apps It avoids using logic

Lecture # 02:

What are the two main categories of software?

✅ System software and Application software Hardware and Software Compiler and Interpreter Operating system and Antivirus

Which of the following is not part of system software?

✅ Microsoft Word Device Drivers Utilities

What is the primary function of an operating system?

To entertain users To create games ✅ To manage hardware resources To browse the internet

What is a device driver?

A hardware component ✅ A program that helps communicate with hardware A gaming software A virus checker

Why do we need drivers for devices like printers and scanners?

✅ To allow the computer to interact with them To make them look good To prevent hacking To store passwords

All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.