Adaptive Practice
Programming Concepts
10 questions • Earn up to 107 XP • First attempt — go for 100%!
0
XP
0
Correct
x1
Combo
Question 1 of 10
⏱ 0:30
Easy
Which of the following is NOT a programming paradigm?
Easy
In programming, what does the term 'variable' refer to?
Easy
Which of the following is an example of a high-level programming language?
Medium
What is the output of the following pseudocode?
x = 5
if x > 3 then
print("Hello")
else
print("World")
Medium
Which data structure is best suited for implementing recursive function calls?
Medium
In object-oriented programming, what does 'encapsulation' mean?
Hard
Consider the following code snippet:
for i = 1 to 5 do
for j = 1 to i do
print(j)
What is the total number of times 'print' is executed?
Medium
Which of the following best describes 'polymorphism' in programming?
Hard
What will be the output of the following pseudocode?
x = 10
while x > 0 do
x = x - 3
print(x)
Medium
In the context of programming, what is 'recursion'?