Established 2026  ·  Free Educational Resources for All

Computer & AI · Self Assessment

Practice Test: What Is Coding?

A 100-mark paper covering "What Is Coding?" — multiple choice, true/false, fill-in-the-blank, column matching, and short answer, all auto-graded instantly.

EDUSAMBAM Editorial Team · 45 questions · 100 marks · Instant self-assessment
45
Questions
100
Marks
5
Sections
100%
Auto-Graded
SectionQuestionsMarks EachTotal
A — Multiple Choice15230
B — True / False10220
C — Fill in the Blank10220
D — Column Matching5 pairs210
E — Short Answer5420
Total45100

Fill-in-the-blank and short-answer questions are checked automatically against accepted answers — exact wording doesn't need to match, but the key term should be present.

0 of 45 answered
0/100
You scored 0%
Keep practicing

Section A — Multiple Choice

30 marks

15 questions · 2 marks each.

1.What is coding?Basic2 pts
2.Which language is commonly used to make websites interactive?Basic2 pts
3.What is "syntax" in coding?Basic2 pts
4.What does a variable do?Basic2 pts
5.What is a loop used for?Basic2 pts
6.What does a conditional let a program do?Basic2 pts
7.What is a function in code?Basic2 pts
8.What is a "bug"?Basic2 pts
9.What does a compiler do?Basic2 pts
10.Coding is used in which of these?Basic2 pts
11.Which language is commonly used for data analysis, automation, and beginner-friendly learning?Basic2 pts
12.Which language is commonly used for large business applications and Android apps?Basic2 pts
13.Which language is commonly used for video games needing top performance?Basic2 pts
14.What does "debugging" mean?Basic2 pts
15.What does an interpreter do?Basic2 pts

Section B — True / False

20 marks

10 questions · 2 marks each.

16.Coding is the process of writing precise instructions for a computer.Intermediate2 pts
17.A computer can guess what you mean, even with imprecise instructions.Intermediate2 pts
18.Every programming language shares the exact same syntax rules.Intermediate2 pts
19.A variable is a named container that holds a piece of information.Intermediate2 pts
20.Loops let you repeat instructions without rewriting them each time.Intermediate2 pts
21.A conditional always runs the same action, no matter what.Intermediate2 pts
22.A function is a reusable, named block of instructions.Intermediate2 pts
23.Even experienced programmers spend time debugging.Intermediate2 pts
24.A compiler translates code one line at a time while the program runs.Intermediate2 pts
25.Coding only powers apps and websites, and nothing else.Intermediate2 pts

Section C — Fill in the Blank

20 marks

10 questions · 2 marks each. Type the missing word or term.

26.______, also called programming, is writing instructions a computer can follow.Intermediate2 pts
27.A structured way of communicating instructions to a computer is called a programming ______.Intermediate2 pts
28.Strict rules about how code must be written are called ______.Intermediate2 pts
29.A named container that holds a piece of information is called a ______.Intermediate2 pts
30.A ______ repeats a set of instructions until a condition is met.Intermediate2 pts
31.A mistake in code is called a ______.Intermediate2 pts
32.The process of finding and fixing mistakes in code is called ______.Intermediate2 pts
33.A ______ translates the whole program before it runs.Intermediate2 pts
34.An ______ translates and runs code line by line.Intermediate2 pts
35.A reusable, named block of instructions is called a ______.Intermediate2 pts

Section D — Column Matching

10 marks

Use the ▲ ▼ buttons to reorder Column B until each row lines up with the correct term in Column A. 2 marks per correct pair.

36–40.Match each coding term to its definition.Advanced10 pts
Column A
Variable
Loop
Conditional
Function
Bug
Column B
Repeats a set of instructions
Chooses between actions based on true or false
A reusable, named block of instructions
A mistake in code
A named container that holds a piece of information

Section E — Short Answer

20 marks

5 questions · 4 marks each. Answer in one or two sentences.

41.What is a variable used for in code?Advanced4 pts
42.Why are loops useful in programming?Advanced4 pts
43.What is the difference between a compiler and an interpreter?Advanced4 pts
44.Give an example of somewhere coding is used, other than apps or websites.Advanced4 pts
45.Why is debugging considered a normal part of writing software?Advanced4 pts
← Back to What Is Coding?