Font size
WorksheetsTOPIC 1
Total questions: 63
Worksheet time: 32mins
Programming is the process of designing and writing a set of instructions (code) that tells a computer what to do, how to do it, and when to do it to solve a ______ or problem. Fill in the blank.
task
color
animal
weather
Fill in the blank: Programming helps to ________ real-world problems such as calculating marks, managing student records, and tracking attendance.
solve
ignore
create
complicate
Fill in the blank: Programming can automate ________ work by generating reports automatically instead of doing manual calculations.
repetitive
creative
sporadic
random
Fill in the blank: Programming is used to build applications and ________ such as mobile apps, websites, ATM systems, and e-learning platforms.
systems
animals
furniture
paintings
Fill in the blank: Programming improves efficiency and ________ by reducing human error and enabling faster processing.
accuracy
complexity
confusion
delay
Fill in the blank: Programming supports many ________ including education, healthcare, banking, transportation, and business.
industries
colors
animals
seasons
Fill in the blank: Programming helps develop logical thinking and ________ skills, which are important for IT careers.
problem-solving
drawing
singing
dancing
Fill in the blank: One way programming solves real-world problems is by being ______ than doing things manually.
faster
slower
louder
heavier
Fill in the blank: Programming is more ______.
accurate
colorful
expensive
fragile
Fill in the blank: Programming can handle large ______.
data
apples
cars
shoes
Fill in the blank: Programming automates ______ tasks.
repetitive
creative
random
sporadic
Which of the following is an example of programming in Education?
A) Instantly generate invoices and total payments
B) Automatically calculate final marks and grades
C) Securely check balances and transfer funds
D) Use GPS to find the fastest route based on traffic
Which of the following is an example of programming in Business?
Manage patient appointments and records efficiently
Instantly generate invoices and total payments
Securely check balances and transfer funds
Automatically calculate final marks and grades
Which of the following is an example of programming in Banking?
Securely check balances and transfer funds
Use GPS to find the fastest route based on traffic
Instantly generate invoices and total payments
Manage patient appointments and records efficiently
Which of the following is an example of programming in Healthcare?
Manage patient appointments and records efficiently
Automatically calculate final marks and grades
Securely check balances and transfer funds
Use GPS to find the fastest route based on traffic
Which of the following is an example of programming in Transport?
Use GPS to find the fastest route based on traffic
Instantly generate invoices and total payments
Securely check balances and transfer funds
Manage patient appointments and records efficiently
Read the passage: Programmers create, improve, and maintain software that helps industries work faster, safer, and smarter.
Creating software
Improving software
Maintaining software
Designing buildings
Fill in the blank: Programmers help industries work ________, safer, and smarter.
faster
slower
harder
weaker
Which role is responsible for building applications such as desktop systems and university systems?
Mobile App Developer
Software Developer
Data / Database Developer
AI / Automation Developer
Which role builds apps for Android/iOS, such as delivery apps and e-wallet apps?
Software Developer
Mobile App Developer
Cybersecurity / Security Programmer
QA / Software Tester
Which role manages data systems like student records and banking transactions?
Data / Database Developer
AI / Automation Developer
QA / Software Tester
Software Developer
Which role tests software to find bugs and ensure quality?
Cybersecurity / Security Programmer
QA / Software Tester
Mobile App Developer
Data / Database Developer
Which role protects systems from attacks and data leaks?
AI / Automation Developer
Cybersecurity / Security Programmer
Software Developer
Mobile App Developer
Which role builds smart systems such as chatbots and recommendation systems?
Data / Database Developer
AI / Automation Developer
QA / Software Tester
Cybersecurity / Security Programmer
Which generation of programming languages is known as Machine Language?
1st Generation
2nd Generation
3rd Generation
4th Generation
Which generation of programming languages is Assembly Language?
1st Generation
2nd Generation
3rd Generation
4th Generation
The 3rd Generation of programming languages includes high level languages like ________, C, C++, etc.
FORTRAN
HTML
COBOL
Python
Fill in the blank: The 4th Generation of programming languages includes high level languages like RAMIS, Perl, ________, etc.
PHP
Assembly
COBOL
FORTRAN
Early Programming (1940s–1950s): Programs were written in ______ language (0s and 1s).
machine
assembly
high-level
natural
Early Programming (1940s–1950s): Writing and understanding programs in machine language was very ______.
difficult
easy
funny
quick
Early Programming (1940s–1950s): Programming in machine language was error-prone and ______.
time-consuming
automatic
fun
instantaneous
Assembly language used short words called ______ instead of binary.
mnemonics
operators
registers
labels
Assembly Language (1950s): Assembly language is easier than ______ language.
machine
high-level
object-oriented
markup
Assembly Language (1950s): Assembly language is still ______-dependent.
hardware
software
platform
language
Which of the following is a feature of High-Level Languages (1960s–1980s)?
Programs built using objects
Closer to human language
Designed for web, mobile, and AI
Faster development and easier maintenance
Which language is an example of Object-Oriented Languages (1990s)?
FORTRAN
Java
Python
COBOL
Fill in the blank: Modern Programming Languages (2000s–Now) are designed for ________, mobile, and AI.
web
desktop
gaming
embedded
COBOL is used for business systems and is an example of a High-Level Language (1960s–1980s).
True
False
Which of the following is NOT an example of a Modern Programming Language?
Python
JavaScript
C
Swift
Fill in the blank: Object-Oriented Languages support ________ and modular design.
reuse
ambiguity
redundancy
instability
Which language is used for scientific calculations?
C++
FORTRAN
JavaScript
Swift
What does the DRY principle stand for in programming fundamentals?
Don't Repeat Yourself
Do Repeat Yourself
Develop Rapidly Yourself
Don't Reuse Yet
What is the full form of SRP in programming design principles?
Single Responsibility Principle
System Resource Protocol
Software Reliability Process
Service Routing Policy
What does the KISS principle stand for in programming fundamentals?
Keep It Simple and Straightforward
Keep It Short and Sweet
Keep It Secure and Safe
Keep It Syntactically Sound
What does DRY stand for in programming fundamentals?
Do Repeat Yourself
Don't Repeat Yourself
Don't Reuse Yourself
Do Reuse Yourself
Fill in the blank: The DRY principle encourages you to write code once and ______ it instead of repeating it.
reuse
delete
ignore
compile
Why is the DRY principle important?
Makes code longer and harder to read
Makes code shorter and cleaner
Increases errors and bugs
Makes code harder to maintain
Fill in the blank: The DRY principle helps to reduce ______ and bugs in code.
errors
comments
variables
functions
Which of the following is NOT a way to apply the DRY principle?
A) Use functions/methods
B) Use loops when steps repeat
C) Use variables instead of repeating values
D) Repeat the same code for each item
Fill in the blank: To apply the DRY principle for repeated data, you should use ______ or lists.
arrays
variables
functions
loops
Which example demonstrates NOT following the DRY principle?
Create a function like calculateTotal(price, quantity)
Use the same function for Item A, B, C
Calculate total price for Item A, Item B, and Item C separately (same steps repeated)
Use loops for repeated steps
What is the Single Responsibility Principle (SRP)?
One program module should do only one job.
One program module should do many jobs.
One program module should be ignored.
One program module should be deleted.
Why is the Single Responsibility Principle (SRP) important?
Code becomes easier to understand
Easier to test
Easier to fix and update
Less chance of breaking other parts
All of the above
Fill in the blank: According to SRP, one program module (function/class) should do only ______ job.
one
many
random
difficult
Which of the following is NOT an example of SRP (Single Responsibility Principle)?
A) A function that reads input
B) A function that calculates total
C) A function that prints receipt
D) A function that reads input, calculates total, prints receipt, and saves to database
What does the KISS principle stand for in programming fundamentals?
Keep It Simple and Straightforward
Keep It Short and Sweet
Keep It Safe and Secure
Keep It Smart and Strong
What is KISS? Fill in the blank: Write programs in the ______ way that works.
simplest
complex
fastest
longest
Why is the KISS principle important?
Easier to read and understand
Easier to debug
Easier to maintain
Less chance of mistakes
Makes programs more complicated
How can you apply the KISS principle? Fill in the blank: Use clear variable names (e.g., ______, not tm1)
totalMarks
tm1
x1
abc
According to the KISS principle, you should use short and clear logic in your programs.
True
False
The KISS principle suggests using advanced techniques even when simple ones are sufficient.
True
False
Which of the following is NOT an example of applying the KISS principle?
Using many conditions and long formulas for a simple calculation
Using a direct formula and clear steps
total = price * quantity
Fill in the blank: According to the KISS principle, use simple structures first, such as ______ and ______.
if-else, loop
switch, recursion
class, inheritance
pointer, reference
