Module quiz: Frontend development:Full Stack Web Development(Full Stack Web Development) Answers 2025
1. Question 1
Which operator checks for strict equality in JavaScript?
-
❌ !=
-
❌ =
-
✔️ ===
-
❌ ==
2. Question 2
Correct syntax for opening a link in a new tab:
-
❌
<a href="page.html" tab="new">Link</a> -
❌
<a href="page.html" open="new">Link</a> -
❌
<a href="page.html" new="tab">Link</a> -
✔️
<a href="page.html" target="_blank">Link</a>
3. Question 3
HTML element for a row in a table:
-
❌
<td> -
❌
<th> -
❌
<trow> -
✔️
<tr>
4. Question 4
Defines a form element:
-
❌
<input> -
❌
<fabel> -
❌
<button> -
✔️
<form>
5. Question 5
True or False: HTML forms are only for login pages.
-
✔️ False
-
❌ True
6. Question 6
CSS selector to style all <h1> inside .content section:
-
❌ action
-
✔️
.content h1 -
❌ type
-
❌ name
7. Question 7
Flexbox alignment of items in container:
-
❌ flex-align
-
❌ align-self
-
❌ justify-content
-
✔️ align-items
8. Question 8
In the box model, closest to content:
-
❌ outline
-
✔️ padding
-
❌ margin
-
❌ border
9. Question 9
Creates a block-scoped variable:
-
❌ int name = “John”;
-
❌ def name = “John”;
-
❌ define name = “John”;
-
✔️ let name = “John”;
10. Question 10
What happens when an error occurs in try without catch?
-
❌ The error is ignored.
-
❌ The finally block handles it.
-
❌ It is not possible to have try without catch.
-
✔️ The program crashes.
📘 Summary Table
| Q.No | Correct Answer | Summary |
|---|---|---|
| 1 | ✔️ === |
Strict equality in JavaScript. |
| 2 | ✔️ target="_blank" |
Opens link in new tab. |
| 3 | ✔️ <tr> |
Table row element. |
| 4 | ✔️ <form> |
Defines an HTML form. |
| 5 | ✔️ False | Forms can be used for many purposes. |
| 6 | ✔️ .content h1 |
Selects h1 inside section with class. |
| 7 | ✔️ align-items | Aligns items in Flexbox container. |
| 8 | ✔️ padding | Closest layer around content. |
| 9 | ✔️ let | Block-scoped variable in JS. |
| 10 | ✔️ Program crashes | Unhandled error stops execution. |