All quizzes

Guest practice

Unit 3: Programming Fundamentals

Questions
40
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 HTML5 tag is used to define the main content of a document, separate from the header and footer?

2

Which HTML element is used for the largest heading?

3

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

4

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

5

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

6

Which JavaScript loop runs at least once?

7

Which HTML tag is used to create an unordered list?

8

Which HTML section contains metadata?

9

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

10

Which CSS property is used to change the background color of an element?

11

Which sorting algorithm repeatedly swaps adjacent elements?

12

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

13

Which CSS property is used to align text?

14

Which error is detected during program execution?

15

Which algorithm gives the best result in minimum steps?

16

In programming, a set of step-by-step instructions to solve a problem is called a/an:

17

Which CSS property is used to make text bold?

18

Which language is used to define the structure and content of a web page?

19

Which CSS property controls the size of text?

20

Which testing method checks individual units of code?

21

Which JavaScript method converts text to a number?

22

Which CSS property is used to change text color?

23

Which error occurs due to wrong logic in a program?

24

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

25

Which JavaScript operator is used to compare both value and type?

26

Which JavaScript statement stops a loop?

27

Which data structure stores elements in a sequence?

28

Which JavaScript keyword is used to declare a variable?

29

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

30

Which algorithm compares each element with all others?

31

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

32

Which JavaScript keyword is used to define a function?

33

Which JavaScript statement is used for decision making?

34

What is the main purpose of CSS (Cascading Style Sheets)?

35

Which HTML attribute is used to provide additional information about an element?

36

What is the main purpose of an algorithm?

37

Which JavaScript function displays a message box?

38

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

39

Which algorithm is best for large sorted data?

40

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

Exit quiz