All quizzes

Guest practice

Unit 3: Programming Fundamentals

Questions
30
Answered
0
Time left
--:--
Guest mode: this attempt shows an instant score but is not saved. Sign up or log in before playing to store results.
Quiz progress 0% complete
1

Which algorithm compares each element with all others?

2

What is a named block of code in JavaScript that performs a specific task and can be called multiple times?

3

Which loop is used when the number of iterations is known?

4

Which JavaScript statement stops a loop?

5

Which JavaScript construct is used to repeat a block of code a certain number of times?

6

Which JavaScript function displays a message box?

7

Which CSS property is used to align text?

8

Which HTML tag is used to create an unordered list?

9

What will the `console.log(typeof "Hello")` command show in the JavaScript console?

10

Which JavaScript statement is used for decision making?

11

Which HTML tag is used to display an image on a webpage?

12

Which CSS property is used to make text bold?

13

Which CSS property is used to change text color?

14

Which HTML section contains metadata?

15

Which algorithm gives the best result in minimum steps?

16

Which JavaScript method converts text to a number?

17

Which JavaScript method is used to find the length of an array?

18

What is the process of finding and fixing errors in a computer program called?

19

Which HTML tag is used to create a table row?

20

Which testing method checks individual units of code?

21

Which algorithm is best for large sorted data?

22

Which HTML tag is used to create a link to another web page?

23

In JavaScript, which keyword is used to declare a variable that can be changed later?

24

What is the output of a Boolean expression?

25

Which algorithm searches an element by dividing the list into halves?

26

What is a set of step-by-step instructions for a computer to solve a problem called?

27

Which CSS property controls the size of text?

28

Which JavaScript structure can store key-value pairs?

29

Which data structure stores elements in a sequence?

30

Which sorting algorithm repeatedly swaps adjacent elements?

Exit quiz