0% found this document useful (0 votes)
10 views

WEB Imp Ques

fghfg

Uploaded by

anubhav.gcetj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

WEB Imp Ques

fghfg

Uploaded by

anubhav.gcetj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

SECTION A: Front-End Development

1. Web Designing and Development Basics

1. Explain the Web designing development cycle in detail.


2. Differentiate between client-side and server-side
development with examples. Discuss the commonly used
technologies for both sides.
3. Differentiate Websites, Web pages, and Web applications
with suitable examples.
4. Differentiate between the World Wide Web and the
Internet.

2. HTML Basics

5. What are the different types of lists in HTML? Explain


with sample code.
6. Explain self-closing tags in HTML. List 10 examples of
self-closing tags.
7. Create an HTML document that uses CSS to:
o Add padding of 0.5em to all H1 and H2 elements.
o Apply a grooved border style.
o Add a margin of 0.5em.
8. Explain rowspan and colspan in HTML tables with an example.

3. CSS Basics and Layout

9. Explain the CSS Box Model with a diagram. (10)


10. Discuss different types of CSS Selectors with
examples. (
11. What is the purpose of the CSS float property?
Differentiate between left, right, none, and inherit values
for float.
12. Explain how CSS is used to create responsive designs
using media queries.

4. Web Concepts

13. Explain the following web concepts:


oHTTP
oURL
oDNS
14. Discuss the importance of Accessibility in web
design. How can developers ensure websites are
accessible?
15. How does the alt attribute of the <img> tag affect
accessibility, and what happens if it is omitted?

SECTION B: Back-End Development

1. JavaScript Basics and DOM

16. How are variables declared in JavaScript, and what


are their data types?
17. Explain the differences between var, let, and const in
variable declaration.
18. Explain the Document Object Model (DOM) in detail.
Discuss its importance and demonstrate how JavaScript
interacts with the DOM.
19. Discuss the concept of event-driven programming in
the context of the DOM.

2. Validation and Form Handling

20. Compare form validation techniques in JavaScript and


PHP. Write examples in both languages to demonstrate
email validation.
21. How does PHP interact with HTML forms in a server-
side context?
22. Discuss techniques for validating user input in PHP.

3. Programming in JavaScript and PHP

23. Write JavaScript and PHP programs to check whether a


given number is prime. Extend the programs to generate
and display a list of all prime numbers within a given
range.
24. Write a JavaScript program to:
o Create a dynamic table with user inputs.
o Display results in a sorted order using event-driven
functionality.

4. Object-Oriented Programming (OOP) in PHP


25. Discuss Object-Oriented Programming (OOP) in PHP.
Explain classes, objects, inheritance, encapsulation, and
polymorphism with an example.
26. Provide examples of designing and implementing
classes in PHP.
27. Discuss error handling in PHP using try-catch blocks
with an example.

5. Advanced Web Development

28. Explain session handling in PHP. Provide an example


to demonstrate how sessions are used to maintain user
state.
29. Discuss how cookies and sessions differ in PHP, with
practical examples.
30. Explain AJAX and its role in web development. Write
a simple example demonstrating asynchronous data fetching
using AJAX with PHP.

6. Security and Best Practices

31. Discuss the importance of input sanitization and


validation to prevent SQL injection and XSS attacks.
Provide examples using PHP.
32. How can HTTPS improve website security? Explain the
role of SSL certificates.
33. Explain the concept of CSRF (Cross-Site Request
Forgery) and how to protect against it in PHP.

You might also like