Number System
HTML
CSS
JavaScript
Node.js & Express.js
100

If a number system has base N, what is the highest digit possible?


Answer: Nāˆ’1

100

Which input type hides the entered characters?

Answer: password

100

What is the default value of position?

Answer: static

100

What happens if you access a let variable before declaration?


Answer:
Reference Error (Temporal Dead Zone).

100

. Why do we use modules in Node.js?


Answer:
To organize code and make it reusable.

200

. Which number system is most commonly used by programmers to represent memory addresses?


Hexadecimal

200

Which tag stores machine-readable data?

<meta>

200

Which CSS property includes padding and border inside the specified width?

Answer: box-sizing: border-box

200

Why is using var generally discouraged in modern JavaScript?


Answer:
Because of hoisting and lack of block scope.

200

 Why is express.json() necessary?


Answer:
To convert incoming JSON data into JavaScript objects.

300

Which decimal number is represented by Binary 100000000?

Answer: 256

300

Which tag improves SEO more: <div> or <article>?

Answer: <article>

300

Which property centers items vertically and horizontally in Flexbox?

Answer: justify-content + align-items

300

 What problem does a Closure solve in JavaScript?



A closure allows a function to remember and access variables from its outer scope even after the outer function has finished executing.

300

Why is POST used when creating data?


Answer:
Because it sends data to the server for processing and storage.

400

Convert Binary 101011110011 to Hexadecimal.

Answer: AF3

400

Which HTML element is used only once as the page's primary content area?

Answer: <main>

400

Which CSS unit is relative to the root element and which is relative to its parent element?


Answer:
rem → Root element
em → Parent element

400

What is the difference between map() and forEach()?



map() creates and returns a new array, while forEach() simply executes a function for each element without returning a new array.

400

 Why are HTTP status codes important?


Answer:
They tell the client whether a request succeeded or failed.

500

Convert Hexadecimal 1A3F to Decimal.

Answer: 6719

500

Which tag is used to group form fields together?

Answer: <fieldset>

500

Why does width: 100% sometimes cause horizontal scrolling?


Answer:
Because padding and border are added to the width when using content-box.

500

 Why do we need closures in real-world applications?



They help preserve data, create private variables, and maintain state between function calls.

500

 Why do we use next()?


Answer: To pass control to the next middleware.