Surprise Questions
Anonymous Questions
Surprise Questions
Anonymous Questions
Surprise Questions
100

 What is the difference between Client and Server?


Answer:

  • Client: Sends requests (e.g., Browser, Mobile App)
  • Server: Processes requests and sends responses
100

 What is an API?


Answer: API (Application Programming Interface) is a way for different applications to communicate with each other.

100

 Which HTTP method is idempotent and commonly used for updates?


Answer: PUT

100

 What is HTTP?


Answer:

HTTP (HyperText Transfer Protocol) is the protocol used for communication between clients and servers.

100

 Which CSS unit is relative to the root font size?


Answer: rem

200

 What does Status Code 404 mean?


Answer: The requested resource was not found.

200

 What does Status Code 500 mean?


Answer: Internal Server Error occurred on the server.

200

Why is Node.js called Single-Threaded?


Answer: Node.js uses a single main thread but can handle multiple requests efficiently through the Event Loop and asynchronous operations.

200

What is package.json?


Answer: It is a configuration file that stores project information, scripts, and dependencies.

200

Question: What does LLM stand for?


Answer: Large Language Model

300

Which protocol is used to transfer web pages?

answer  : HTTP

300

 Which property makes text bold?


Answer: font-weight

300

 What data structure follows First In First Out (FIFO)?


Answer: Queue

300

 Which method adds an element to the end of an array?


Answer: push()

300

What is the default position value in CSS?


Answer: static

400

 Which middleware parses JSON data?


Answer: express.json()

400

Why use .env file?


Answer:
.env stores sensitive data.

400

Which HTML5 element is used for video?


Answer: <video>

400

Difference between find() and save()?


Answer:

find() - ind() 

save() - Stores data.

400

What port does Express commonly run on during development?


Answer: 3000 (or any configured port)

500

What does Status Code 200 mean?





Answer: The request was successful.

500

 What is the main advantage of using AI APIs instead of building your own model?


Answer: Faster development and lower infrastructure cost.

500

What is a REST API?




Answer:
 
A REST API uses HTTP methods (GET, POST, PUT, DELETE) to perform operations on resources.

500

Which layout system is designed for two-dimensional layouts?


Answer: CSS Grid

500

 What type of data is AI trained on?


Answer: Large datasets