WorksheetsComputer Programming Quiz
Total questions: 30
Worksheet time: 15mins
Which of the following is considered software?
Keyboard
Calculator app
Monitor
Mouse
What do we call the physical parts of a computer system?
Software
Hardware
Programs
Code
A person who writes program code is called a:
Developer
Programmer
Engineer
Designer
Software is important because:
It is visible and tangible
It decorates your computer
It allows hardware to work and perform tasks
It powers the electricity
Which of the following is NOT a type of Application Programmer?
Game Developer
Web App Programmer
Network Administrator
Database Programmer
An example of an output device is:
Keyboard
Scanner
Printer
Microphone
The step-by-step method to solve a problem in programming is called:
Debugging
Logical Flow
Problem Solving
Compilation
Which is the first step in the programming process?
Testing
Analysis
Planning
Design
What does the Testing & Debugging phase focus on?
Planning the program layout
Creating errors
Fixing bugs and verifying program behavior
Writing documentation
Which of the following is an example of input?
Clicking a mouse
Printed report
Graph output
Monitor display
Which element of programming stores user input or values?
Input
Data
Output
Loop
A loop in programming:
Stops the program immediately
Executes code only once
Repeats a set of instructions based on a condition
Skips instructions
Conditional execution in programming is mainly used to:
Turn the computer off
Print results
Make decisions based on conditions
Display the UI
Breaking a large program into smaller, reusable parts is called:
Debugging
Looping
Subroutine
Compilation
Which of the following is NOT part of the programming process?
Analysis
Painting
Testing
Development
Which programming paradigm uses functions and reusable code?
Procedural
Object-Oriented
Declarative
All of the above
Which programming paradigm uses real-world objects like 'Car' or 'Person'?
Logical
Object-Oriented
Imperative
Functional
The operating system is an example of:
Application software
Entertainment software
System software
Hardware
A database application programmer typically works with:
Games
Web animations
Tables, records, queries
Microcontrollers
What kind of programmers work on devices like smartwatches and appliances?
Web Developers
Game Developers
Micro Devices Programmers
AI Programmers
You want to create a program that calculates a student's average grade. Which element of programming will store the scores input by the user?
Output
Loop
Data
Operation
In building a simple calculator app, which programming element checks if the operation is 'Add' or 'Multiply'?
Subroutine
Loop
Conditional Execution
Output
Your program has repeated blocks of code that need to run several times. What should you use?
Loop
Subroutine
Data
Debugger
You are in the design phase of a program. What should you be doing?
Typing the final code
Planning logic structures and interface
Collecting user feedback
Fixing bugs
A game developer is likely to use which programming paradigm?
Declarative
Object-Oriented
Functional
Logical
A web app programmer is working on a login page. What programming concept helps ensure only correct passwords allow access?
Input
Loop
Conditional Execution
Output
During testing, your program crashes when entering letters instead of numbers. What process do you need to improve?
Hardware
Debugging
Planning
Subroutine
You're building a report generator that processes hundreds of entries. What helps you repeat a task for each entry?
Input
Loop
Subroutine
Design
A micro device programmer writes code for a washing machine. What is their main limitation?
Data structure
Memory and hardware constraints
Software complexity
Internet speed
Your instructor asks you to modularize your code. Which programming element should you use?
Loop
Subroutine
Input
Output
