WAEC 2026 Programming Questions and Answers (OBJ & Essay) May/June

WAEC 2026 Programming Questions and Answers (OBJ & Essay) May/June

WAEC 2026 Programming Questions and Answers (Objective & Essay) – May/June

Preparing for WAEC 2026 Programming requires a solid understanding of basic coding concepts, algorithms, data structures, and problem-solving techniques. This guide provides carefully structured objective and essay questions with answers to help candidates get ready for the WAEC 2026 Programming examination. Study each question thoroughly and practice regularly to boost your confidence and performance.

Click here to get 2026 WAEC & NECO Questions and Answers

WAEC 2026 Programming Questions and Answers (OBJ ) May/June,  OBJECTIVE QUESTIONS (1–20)

1. What is programming?
A. Writing stories
B. Writing instructions for a computer
C. Drawing diagrams
D. Playing games
Answer: B

2. Which of the following is a programming language?
A. HTML
B. CPU
C. RAM
D. Mouse
Answer: A

3. What does CPU stand for?
A. Central Process Unit
B. Central Processing Unit
C. Computer Personal Unit
D. Control Processing Unit
Answer: B

4. Which symbol is used for comments in Python?
A. //
B. <!– –>
C. #
D. **
Answer: C

5. Which data type is used to store whole numbers?
A. Float
B. Integer
C. String
D. Boolean
Answer: B

6. What is the output of: print(2 + 3)?
A. 5
B. 23
C. 6
D. Error
Answer: A

7. Which of these is an input device?
A. Monitor
B. Printer
C. Keyboard
D. Speaker
Answer: C

8. What is an algorithm?
A. A computer virus
B. A step-by-step procedure to solve a problem
C. A hardware device
D. A software bug
Answer: B

9. Which of the following is a loop structure?
A. if
B. for
C. print
D. input
Answer: B

10. What is the correct file extension for Python files?
A. .java
B. .py
C. .html
D. .exe
Answer: B

11. What does IDE stand for?
A. Integrated Development Environment
B. Internal Device Engine
C. Input Data Editor
D. Integrated Design Engine
Answer: A

12. Which of the following is a conditional statement?
A. loop
B. if
C. print
D. input
Answer: B

13. What is debugging?
A. Writing code
B. Removing errors from code
C. Installing software
D. Deleting files
Answer: B

14. Which operator is used for addition?
A. –
B. *
C. +
D. /
Answer: C

15. What is a variable?
A. A fixed value
B. A container for storing data
C. A program
D. A device
Answer: B

16. Which of these is an example of output?
A. Mouse
B. Keyboard
C. Monitor
D. Scanner
Answer: C

17. Which keyword is used to define a function in Python?
A. func
B. define
C. def
D. function
Answer: C

18. What is the result of 10 / 2?
A. 2
B. 5
C. 10
D. 20
Answer: B

19. Which data type is True or False?
A. String
B. Integer
C. Boolean
D. Float
Answer: C

20. What is flowchart used for?
A. Drawing pictures
B. Representing algorithms graphically
C. Writing programs
D. Storing data
Answer: B

WAEC 2026 Programming Questions and Answers ESSAY May/June,  (1–20)

1. Define programming.

Programming is the process of writing instructions that a computer follows to perform specific tasks.

2. Explain what an algorithm is.

An algorithm is a step-by-step method used to solve a problem or perform a task.

3. List three programming languages.

Python, Java, C++

4. What is a flowchart?

A flowchart is a diagram that shows the sequence of steps in solving a problem.

5. Explain the term variable.

A variable is a named storage location used to hold data in a program.

6. Mention two types of data types.

Integer and String

7. What is debugging?

Debugging is the process of identifying and fixing errors in a program.

8. Explain input and output.

Input is data entered into a computer, while output is the result produced by the computer.

9. What is a loop?

A loop is a control structure that repeats a set of instructions until a condition is met.

10. State the use of conditional statements.

Conditional statements are used to make decisions in a program.

11. Write a simple Python program to display “Hello World”.

print(“Hello World”)

12. What is an IDE?

An IDE is software used to write, test, and debug programs.

13. Differentiate between compiler and interpreter.

A compiler translates the entire program at once, while an interpreter translates line by line.

14. What is a function?

A function is a block of code designed to perform a specific task.

15. State two examples of input devices.

Keyboard and Mouse

16. State two examples of output devices.

Monitor and Printer

17. What is a syntax error?

A syntax error occurs when code does not follow the rules of the programming language.

18. Explain the term data type.

A data type defines the kind of value a variable can store.

19. What is pseudocode?

Pseudocode is a simple way of writing program logic in plain language.

20. List two characteristics of a good program.

Accuracy and Efficiency

Follow the WAEC & NECO NEWS channel on WhatsApp

Leave a Reply