wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

TOPIC 1

Total questions: 63

Worksheet time: 32mins

Name
Class
Date
1.

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.

a)

task

b)

color

c)

animal

d)

weather

2.

Fill in the blank: Programming helps to ________ real-world problems such as calculating marks, managing student records, and tracking attendance.

a)

solve

b)

ignore

c)

create

d)

complicate

3.

Fill in the blank: Programming can automate ________ work by generating reports automatically instead of doing manual calculations.

a)

repetitive

b)

creative

c)

sporadic

d)

random

4.

Fill in the blank: Programming is used to build applications and ________ such as mobile apps, websites, ATM systems, and e-learning platforms.

a)

systems

b)

animals

c)

furniture

d)

paintings

5.

Fill in the blank: Programming improves efficiency and ________ by reducing human error and enabling faster processing.

a)

accuracy

b)

complexity

c)

confusion

d)

delay

6.

Fill in the blank: Programming supports many ________ including education, healthcare, banking, transportation, and business.

a)

industries

b)

colors

c)

animals

d)

seasons

7.

Fill in the blank: Programming helps develop logical thinking and ________ skills, which are important for IT careers.

a)

problem-solving

b)

drawing

c)

singing

d)

dancing

8.

Fill in the blank: One way programming solves real-world problems is by being ______ than doing things manually.

a)

faster

b)

slower

c)

louder

d)

heavier

9.

Fill in the blank: Programming is more ______.

a)

accurate

b)

colorful

c)

expensive

d)

fragile

10.

Fill in the blank: Programming can handle large ______.

a)

data

b)

apples

c)

cars

d)

shoes

11.

Fill in the blank: Programming automates ______ tasks.

a)

repetitive

b)

creative

c)

random

d)

sporadic

12.

Which of the following is an example of programming in Education?

a)

A) Instantly generate invoices and total payments

b)

B) Automatically calculate final marks and grades

c)

C) Securely check balances and transfer funds

d)

D) Use GPS to find the fastest route based on traffic

13.

Which of the following is an example of programming in Business?

a)

Manage patient appointments and records efficiently

b)

Instantly generate invoices and total payments

c)

Securely check balances and transfer funds

d)

Automatically calculate final marks and grades

14.

Which of the following is an example of programming in Banking?

a)

Securely check balances and transfer funds

b)

Use GPS to find the fastest route based on traffic

c)

Instantly generate invoices and total payments

d)

Manage patient appointments and records efficiently

15.

Which of the following is an example of programming in Healthcare?

a)

Manage patient appointments and records efficiently

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

16.

Which of the following is an example of programming in Transport?

a)

Use GPS to find the fastest route based on traffic

b)

Instantly generate invoices and total payments

c)

Securely check balances and transfer funds

d)

Manage patient appointments and records efficiently

17.

Read the passage: Programmers create, improve, and maintain software that helps industries work faster, safer, and smarter.

a)

Creating software

b)

Improving software

c)

Maintaining software

d)

Designing buildings

18.

Fill in the blank: Programmers help industries work ________, safer, and smarter.

a)

faster

b)

slower

c)

harder

d)

weaker

19.

Which role is responsible for building applications such as desktop systems and university systems?

a)

Mobile App Developer

b)

Software Developer

c)

Data / Database Developer

d)

AI / Automation Developer

20.

Which role builds apps for Android/iOS, such as delivery apps and e-wallet apps?

a)

Software Developer

b)

Mobile App Developer

c)

Cybersecurity / Security Programmer

d)

QA / Software Tester

21.

Which role manages data systems like student records and banking transactions?

a)

Data / Database Developer

b)

AI / Automation Developer

c)

QA / Software Tester

d)

Software Developer

22.

Which role tests software to find bugs and ensure quality?

a)

Cybersecurity / Security Programmer

b)

QA / Software Tester

c)

Mobile App Developer

d)

Data / Database Developer

23.

Which role protects systems from attacks and data leaks?

a)

AI / Automation Developer

b)

Cybersecurity / Security Programmer

c)

Software Developer

d)

Mobile App Developer

24.

Which role builds smart systems such as chatbots and recommendation systems?

a)

Data / Database Developer

b)

AI / Automation Developer

c)

QA / Software Tester

d)

Cybersecurity / Security Programmer

25.

Which generation of programming languages is known as Machine Language?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

26.

Which generation of programming languages is Assembly Language?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

27.

The 3rd Generation of programming languages includes high level languages like ________, C, C++, etc.

a)

FORTRAN

b)

HTML

c)

COBOL

d)

Python

28.

Fill in the blank: The 4th Generation of programming languages includes high level languages like RAMIS, Perl, ________, etc.

a)

PHP

b)

Assembly

c)

COBOL

d)

FORTRAN

29.

Early Programming (1940s–1950s): Programs were written in ______ language (0s and 1s).

a)

machine

b)

assembly

c)

high-level

d)

natural

30.

Early Programming (1940s–1950s): Writing and understanding programs in machine language was very ______.

a)

difficult

b)

easy

c)

funny

d)

quick

31.

Early Programming (1940s–1950s): Programming in machine language was error-prone and ______.

a)

time-consuming

b)

automatic

c)

fun

d)

instantaneous

32.

Assembly language used short words called ______ instead of binary.

a)

mnemonics

b)

operators

c)

registers

d)

labels

33.

Assembly Language (1950s): Assembly language is easier than ______ language.

a)

machine

b)

high-level

c)

object-oriented

d)

markup

34.

Assembly Language (1950s): Assembly language is still ______-dependent.

a)

hardware

b)

software

c)

platform

d)

language

35.

Which of the following is a feature of High-Level Languages (1960s–1980s)?

a)

Programs built using objects

b)

Closer to human language

c)

Designed for web, mobile, and AI

d)

Faster development and easier maintenance

36.

Which language is an example of Object-Oriented Languages (1990s)?

a)

FORTRAN

b)

Java

c)

Python

d)

COBOL

37.

Fill in the blank: Modern Programming Languages (2000s–Now) are designed for ________, mobile, and AI.

a)

web

b)

desktop

c)

gaming

d)

embedded

38.

COBOL is used for business systems and is an example of a High-Level Language (1960s–1980s).

a)

True

b)

False

39.

Which of the following is NOT an example of a Modern Programming Language?

a)

Python

b)

JavaScript

c)

C

d)

Swift

40.

Fill in the blank: Object-Oriented Languages support ________ and modular design.

a)

reuse

b)

ambiguity

c)

redundancy

d)

instability

41.

Which language is used for scientific calculations?

a)

C++

b)

FORTRAN

c)

JavaScript

d)

Swift

42.

What does the DRY principle stand for in programming fundamentals?

a)

Don't Repeat Yourself

b)

Do Repeat Yourself

c)

Develop Rapidly Yourself

d)

Don't Reuse Yet

43.

What is the full form of SRP in programming design principles?

a)

Single Responsibility Principle

b)

System Resource Protocol

c)

Software Reliability Process

d)

Service Routing Policy

44.

What does the KISS principle stand for in programming fundamentals?

a)

Keep It Simple and Straightforward

b)

Keep It Short and Sweet

c)

Keep It Secure and Safe

d)

Keep It Syntactically Sound

45.

What does DRY stand for in programming fundamentals?

a)

Do Repeat Yourself

b)

Don't Repeat Yourself

c)

Don't Reuse Yourself

d)

Do Reuse Yourself

46.

Fill in the blank: The DRY principle encourages you to write code once and ______ it instead of repeating it.

a)

reuse

b)

delete

c)

ignore

d)

compile

47.

Why is the DRY principle important?

a)

Makes code longer and harder to read

b)

Makes code shorter and cleaner

c)

Increases errors and bugs

d)

Makes code harder to maintain

48.

Fill in the blank: The DRY principle helps to reduce ______ and bugs in code.

a)

errors

b)

comments

c)

variables

d)

functions

49.

Which of the following is NOT a way to apply the DRY principle?

a)

A) Use functions/methods

b)

B) Use loops when steps repeat

c)

C) Use variables instead of repeating values

d)

D) Repeat the same code for each item

50.

Fill in the blank: To apply the DRY principle for repeated data, you should use ______ or lists.

a)

arrays

b)

variables

c)

functions

d)

loops

51.

Which example demonstrates NOT following the DRY principle?

a)

Create a function like calculateTotal(price, quantity)

b)

Use the same function for Item A, B, C

c)

Calculate total price for Item A, Item B, and Item C separately (same steps repeated)

d)

Use loops for repeated steps

52.

What is the Single Responsibility Principle (SRP)?

a)

One program module should do only one job.

b)

One program module should do many jobs.

c)

One program module should be ignored.

d)

One program module should be deleted.

53.

Why is the Single Responsibility Principle (SRP) important?

a)

Code becomes easier to understand

b)

Easier to test

c)

Easier to fix and update

d)

Less chance of breaking other parts

e)

All of the above

54.

Fill in the blank: According to SRP, one program module (function/class) should do only ______ job.

a)

one

b)

many

c)

random

d)

difficult

55.

Which of the following is NOT an example of SRP (Single Responsibility Principle)?

a)

A) A function that reads input

b)

B) A function that calculates total

c)

C) A function that prints receipt

d)

D) A function that reads input, calculates total, prints receipt, and saves to database

56.

What does the KISS principle stand for in programming fundamentals?

a)

Keep It Simple and Straightforward

b)

Keep It Short and Sweet

c)

Keep It Safe and Secure

d)

Keep It Smart and Strong

57.

What is KISS? Fill in the blank: Write programs in the ______ way that works.

a)

simplest

b)

complex

c)

fastest

d)

longest

58.

Why is the KISS principle important?

a)

Easier to read and understand

b)

Easier to debug

c)

Easier to maintain

d)

Less chance of mistakes

e)

Makes programs more complicated

59.

How can you apply the KISS principle? Fill in the blank: Use clear variable names (e.g., ______, not tm1)

a)

totalMarks

b)

tm1

c)

x1

d)

abc

60.

According to the KISS principle, you should use short and clear logic in your programs.

a)

True

b)

False

61.

The KISS principle suggests using advanced techniques even when simple ones are sufficient.

a)

True

b)

False

62.

Which of the following is NOT an example of applying the KISS principle?

a)

Using many conditions and long formulas for a simple calculation

b)

Using a direct formula and clear steps

c)

total = price * quantity

63.

Fill in the blank: According to the KISS principle, use simple structures first, such as ______ and ______.

a)

if-else, loop

b)

switch, recursion

c)

class, inheritance

d)

pointer, reference