0% found this document useful (0 votes)
51 views2 pages

Web Development Mock Paper SEC-2

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)
51 views2 pages

Web Development Mock Paper SEC-2

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

COMPUTER SCIENCE HONOURS

Paper: SEC-2 (Web Development)


Full Marks: 75
Mock Paper III
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Section - A
Answer any five questions:
(a) What are the key differences between a website and a web application?
(b) What is the role of CSS in separating content from presentation?
(c) What are HTML attributes? Give two examples.
(d) Differentiate between inline JavaScript and inline CSS.
(e) What is the purpose of the <fieldset> and <legend> tags in forms?
(f) What is the difference between relative and absolute positioning in CSS?
(g) Explain the difference between <link> and <style> tags.
(h) What is the purpose of the viewport meta tag in responsive design?

Section - B
Answer any three questions:
(a) Explain the different types of lists available in HTML with examples.
(b) Discuss different CSS units (px, %, em, rem, vh, vw) with examples.
(c) What is the difference between CSS transitions and animations?
(d) Write short notes on cross-browser compatibility issues in web development.
(e) What are the steps to host a website on a local server?

Section - C
Answer any five questions:
3. (a) What are the three different ways to apply CSS in an HTML page? Give examples.
(b) Differentiate between <span> and <div> with examples.
(c) List and explain any four attributes of the <img> tag.
4. (a) Explain the concept of fixed and fluid layouts in web design.
(b) What is a responsive grid system? Explain its importance.
(c) Discuss the importance of validating HTML forms.
5. (a) Write HTML code to create a product table with columns: Product Name, Price,
Quantity, and Total.
(b) Explain the different border styles available in CSS with examples.
6. (a) Write HTML code to design a registration form for an online course with:
 Full Name
 Email
 Phone Number
 Course selection (Dropdown with 3 courses)
 Payment method (Radio button)
 Submit button
(b) Explain the importance of optimizing images and multimedia for faster web loading.
7. (a) Differentiate between <br> and <hr> tags with examples.
(b) What are pseudo-elements in CSS? Explain with examples.
(c) What is the difference between absolute links and relative links?
8. (a) Explain the importance of typography in creating user-friendly websites.
(b) What are CSS shadows (text-shadow, box-shadow)? Give examples.
(c) Write short notes on color psychology in web design.
9. (a) Write HTML and CSS code to create a simple responsive footer section with three
columns.
(b) Explain how z-index works in CSS with an example.
(c) Compare <section>, <article>, and <aside> tags.
10. (a) Explain the steps involved in deploying a website on a live web server.
(b) What is the difference between CSS Flexbox and CSS Grid?
(c) Write HTML/CSS code to create a responsive three-card layout (like service
cards).

You might also like