JavaScript, APIs, databases and intermediate web development concepts!
1. What is the purpose of SQL?
💡 SQL (Structured Query Language) is used to interact with relational databases — querying, inserting, updating, and deleting data.
2. What is the purpose of "version control" in programming?
💡 Version control (like Git) tracks changes to code, allows collaboration, and enables reverting to previous versions.
3. What is the difference between "==" and "===" in JavaScript?
💡 == compares values with type coercion. === (strict equality) compares both value and type without coercion.
4. What does JSON stand for?
💡 JSON (JavaScript Object Notation) is a lightweight data format for storing and transporting data between a server and client.
5. What does DOM stand for in web development?
💡 The DOM (Document Object Model) is a programming interface for HTML and XML documents, representing the page as a tree of nodes.
6. What is the difference between GET and POST HTTP methods?
💡 GET retrieves data from a server. POST sends data to the server for processing, like form submissions.
7. What does REST stand for in web APIs?
💡 REST (Representational State Transfer) is an architectural style for designing networked APIs using HTTP methods.
8. What is the purpose of the "localStorage" in browsers?
💡 localStorage allows web applications to store key-value pairs persistently in the browser with no expiration time.
9. What is a "cookie" in web development?
💡 Cookies are small text files stored in the browser to remember user preferences, sessions, and tracking data.
10. What is "responsive design" in web development?
💡 Responsive design uses flexible layouts so web pages look and function well on all devices and screen sizes.
11. What is a "framework" in programming?
💡 A framework provides reusable code and structure to build applications faster. Examples: React, Django, Laravel.
12. What does "npm" stand for?
💡 npm (Node Package Manager) is the default package manager for Node.js, used to install and manage JavaScript packages.
13. What is the purpose of an API?
💡 An API (Application Programming Interface) defines rules for how software components interact and share data.
14. Which SQL command retrieves data from a database?
💡 SELECT is used to retrieve data from a database: SELECT * FROM users WHERE age > 18.
15. What does "async/await" do in JavaScript?
💡 async/await is syntactic sugar over Promises, making asynchronous code easier to write and read.