Desktop and Web Programming
SWE · Quiz · Fall 26
Paper 4 of 4Batch 44Switch
Batch 44
Paper 4 of 4
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Daffodil International University
Faculty of Science & Information Technology
Department of Software Engineering
Quiz 01
Course Code: SE235, Course Title: Desktop & Web Programming
Section: 44-F
Time: 40 Minutes Marks: 15
Answer ALL Questions
1.
Title
cell1 | cell2 | cell3
cell5 | cell7 | cell8
Construct this table using HTML.
(05)
2. Construct a Fitness Club Enrollment webpage using HTML. The webpage must be structured logically and fulfill the following requirements:
i) Create a registration form that collects the applicant's Full Name, Email Address and Emergency Contact Number. Ensure the Full Name and Email Address fields are marked as required, and include helpful placeholders.
ii) Include a section for selecting a "Primary Fitness Goal" using a dropdown menu with at least three options (e.g., Weight Loss, Muscle Gain, General Health).
iii) Add radio buttons for selecting the "Membership Tier" (Basic, Standard, or VIP). Also, include a date input field for the "Preferred Start Date".
iv) Include a date input field for the "Preferred Start Date", a multi-line text area for "Medical Notes" with a descriptive placeholder, and place 'Submit' and 'Reset' buttons at the very bottom of the form.
v)Apply basic CSS styling to the page: add a background color to the webpage body, ensure the main title heading is center-aligned, and apply a text decoration (such as an underline) to a subheading.
(06)
3 Calculate CSS specificity for the following code:
HTML:
<body><p id="intro" class="highlight">Welcome to Web Programming</p></body>
CSS:
p { color: black; }
.highlight { color: blue; }
p.highlight:first-child { color: green; }
#intro { color: red; }
a) Calculate the specificity of all five selectors in (a, b, c, d) format.
b) Identify the selector with the highest specificity.
c) State the final color of the first letter and the remaining text, with a brief reason.
(04)