💻
Programming Medium

Web Development Intermediate

JavaScript, APIs, databases and intermediate web development concepts!

15 Questions
30s Per Question
0+ Plays
← All Programming Quizzes 📚 Study Guide for this category →
💡 Create account to save scores & earn XP
📋 View All 15 Questions & Answers

1. What is the purpose of SQL?

  • A. To style web pages
  • B. To query and manage relational databases ✓
  • C. To write server-side scripts
  • D. To create mobile apps

💡 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?

  • A. To speed up code execution
  • B. To style code
  • C. To track and manage changes to code over time ✓
  • D. To debug code

💡 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?

  • A. No difference
  • B. === is faster
  • C. == checks value only; === checks value and type ✓
  • D. == checks type; === checks value

💡 == compares values with type coercion. === (strict equality) compares both value and type without coercion.

4. What does JSON stand for?

  • A. Java Source Object Notation
  • B. JavaScript Object Notation ✓
  • C. Java Serialized Object Node
  • D. JavaScript Online Notation

💡 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?

  • A. Document Object Model ✓
  • B. Data Object Management
  • C. Document Oriented Markup
  • D. Dynamic Object Model

💡 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?

  • A. GET is faster; POST is slower
  • B. GET submits data securely; POST does not
  • C. GET retrieves data; POST sends data to be processed ✓
  • D. They are identical

💡 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?

  • A. Remote Execution State Transfer
  • B. Representational State Transfer ✓
  • C. Remote Entity Service Transfer
  • D. Resource Execution State Transfer

💡 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?

  • A. To run JavaScript
  • B. To style pages
  • C. To store data persistently in the browser with no expiry ✓
  • D. To make HTTP requests

💡 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?

  • A. A type of database
  • B. A small piece of data stored in the browser ✓
  • C. A server-side script
  • D. A type of CSS selector

💡 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?

  • A. A fast-loading website
  • B. A website that responds to user input quickly
  • C. A design that adapts to different screen sizes ✓
  • D. A website with animations

💡 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. A type of database
  • B. A pre-built structure that provides a foundation for building applications ✓
  • C. A type of algorithm
  • D. A hardware component

💡 A framework provides reusable code and structure to build applications faster. Examples: React, Django, Laravel.

12. What does "npm" stand for?

  • A. Node Package Module
  • B. New Programming Method
  • C. Node Project Manager
  • D. Node Package Manager ✓

💡 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?

  • A. To design web pages
  • B. To style HTML elements
  • C. To store data permanently
  • D. To allow different software applications to communicate ✓

💡 An API (Application Programming Interface) defines rules for how software components interact and share data.

14. Which SQL command retrieves data from a database?

  • A. INSERT
  • B. UPDATE
  • C. DELETE
  • D. SELECT ✓

💡 SELECT is used to retrieve data from a database: SELECT * FROM users WHERE age > 18.

15. What does "async/await" do in JavaScript?

  • A. Creates a loop
  • B. Handles asynchronous operations more cleanly ✓
  • C. Defines a class
  • D. Imports a module

💡 async/await is syntactic sugar over Promises, making asynchronous code easier to write and read.

More Programming Quizzes

View all Programming quizzes →