What is the difference between Client and Server?
Answer:
What is an API?
Answer: API (Application Programming Interface) is a way for different applications to communicate with each other.
Which HTTP method is idempotent and commonly used for updates?
Answer: PUT
What is HTTP?
Answer:
HTTP (HyperText Transfer Protocol) is the protocol used for communication between clients and servers.
Which CSS unit is relative to the root font size?
Answer: rem
What does Status Code 404 mean?
Answer: The requested resource was not found.
What does Status Code 500 mean?
Answer: Internal Server Error occurred on the server.
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.
What is package.json?
Answer: It is a configuration file that stores project information, scripts, and dependencies.
Question: What does LLM stand for?
Answer: Large Language Model
Which protocol is used to transfer web pages?
answer : HTTP
Which property makes text bold?
Answer: font-weight
What data structure follows First In First Out (FIFO)?
Answer: Queue
Which method adds an element to the end of an array?
Answer: push()
What is the default position value in CSS?
Answer: static
Which middleware parses JSON data?
Answer: express.json()
Why use .env file?
Answer:
.env stores sensitive data.
Which HTML5 element is used for video?
Answer: <video>
Difference between find() and save()?
Answer:
find() - ind()
save() - Stores data.
What port does Express commonly run on during development?
Answer: 3000 (or any configured port)
What does Status Code 200 mean?
Answer: The request was successful.
What is the main advantage of using AI APIs instead of building your own model?
Answer: Faster development and lower infrastructure cost.
What is a REST API?
Answer:
A REST API uses HTTP methods (GET, POST, PUT, DELETE) to perform operations on resources.
Which layout system is designed for two-dimensional layouts?
Answer: CSS Grid
What type of data is AI trained on?
Answer: Large datasets