All quizzes

Guest practice

Unit 3: Programming Fundamentals

Questions
20
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 symbol is used to select a class in CSS?

2

Kofi is creating a table. He wants a cell to span two columns. Which attribute should he use?

3

Samir is designing a webpage. He wants to add a footer at the bottom with copyright information. Which HTML5 semantic tag should he use?

4

Nora is building a website. She wants to add a dropdown list of countries. Which HTML element should she use?

5

Which tag contains CSS in an HTML file?

6

What is a dynamic website?

7

Iman is creating a webpage with a list of items. She wants the list to be numbered. Which HTML tag should Iman use to create an ordered list?

8

What is the process of finding and fixing errors in a computer program's source code called?

9

Which combination is used to create a dynamic website?

10

Chloe is debugging her JavaScript code. She wrote a function that is supposed to add two numbers and return the sum, but it always returns undefined. She checks her code and sees she forgot a keyword. Which keyword does Chloe need to add to return the value?

11

Aisha is creating a link that opens in a new tab. She knows she needs to add an attribute to the <a> tag. Which attribute should she use?

12

What is debugging?

13

Which HTML tag is used to link an external CSS file to an HTML document?

14

Sam is writing JavaScript. He wants to display the current date and time on the webpage. Which built-in JavaScript object should he use?

15

Julia is writing a JavaScript program. She wants to check if a number is even or odd. Which operator should she use to check for evenness?

16

Which HTML tag is used to define the most important heading on a webpage?

17

Diana is working with HTML lists. She wants to create a list where each item has a bullet point. Which list type should she use?

18

Qiao is writing HTML. She wants to add a hyperlink to Google. Which tag should she use?

19

Xia is writing JavaScript. She wants to write a message to the console for debugging. Which method should she use?

20

Priya is working on a website and wants to change the color of all links when the mouse hovers over them. Which CSS pseudo-class should she use?

Exit quiz