🎓 Web Development Essentials

Section 1: Fetch API & HTTP Requests

Q1. Write a Fetch Request

Written Answer (Explanation + Code)

Write a code sample (10-15 lines) that demonstrates making a fetch request with custom headers and handling the response. Use proper MDN terminology.

Q2. Fetch with Options & Authentication

Multiple Choice (Select 1)

Which of the following correctly shows how to send an authentication key in the headers of a Fetch request?

Q3. HTML Form with Fetch

Multiple Choice (Select 1)

What is the correct way to submit form data using Fetch and handle the response?

Section 2: JavaScript Types & Control Flow

Q4. Data Types in JavaScript

Multiple Select (Select all that apply)

Which of the following statements about JavaScript data types are correct?

Q5. Control Flow Structures

Multiple Choice (Select 1)

Which control flow statement is best suited for checking a single variable against multiple possible values?

Section 3: HTTP Protocols & CORS

Q6. HTTP Protocol Layers

Multiple Select (Select all that apply)

Which of the following are layers in the HTTP communication stack?

Q7. CORS Access-Control Header

Multiple Choice (Select 1)

What does the header Access-Control-Allow-Origin: * mean?

Q8. CORS Configuration

Multiple Choice (Select 1)

What does cors({origin: true}) in Express do?

Section 4: XML & HTML Differences

Q9. XML vs HTML Characteristics

Multiple Select (Select all that apply)

Which statements correctly describe the differences between XML and HTML?

Q10. Well-Formed XML

Multiple Choice (Select 1)

Which of the following is an example of well-formed XML?

Section 5: Debugging Techniques

Q11. Browser Developer Tools

Multiple Select (Select all that apply)

Which of these are debugging features available in browser developer tools?

Q12. Debugging Process

Multiple Choice (Select 1)

Which of the following best describes the difference between debugging methods and debugging techniques?

Section 6: Client-Side Storage

Q13. Storage Options Comparison

Multiple Choice (Select 1)

Which storage option is best suited for storing large amounts of data including files and blobs?

Q14. Client-Side Storage Types

Multiple Select (Select all that apply)

Which of the following are valid client-side storage mechanisms in browsers?

Section 7: CSS & Box Model

Q15. CSS Box Model Layers

Multiple Choice (Select 1)

What is the correct order of the CSS box model from inside to outside?

Q16. CSS Styling Approach

Multiple Choice (Select 1)

When styling a web page to achieve specific visual results, which of the following should you consider?

Section 8: UML Diagrams

Q17. UML Diagram Types

Multiple Select (Select all that apply)

Which of the following are valid UML diagram types used in software design?

Section 9: Software Development Methodologies

Q18. Development Methodologies

Multiple Select (Select all that apply)

Which of the following are recognized software development methodologies?

Q19. Agile vs Waterfall

Multiple Choice (Select 1)

What is a key difference between Agile/Scrum and Waterfall methodologies?