Skip to content

Website Development Essential

CIS · Final · Summer 26

This browser can’t show the PDF here

Open it, and your phone’s PDF viewer takes it, or download it.

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 Computing and Information System Final Examination, Summer-2026 Course Code: CIS133, Course Title: Web Development Essentials Level: 1 Term: 3 Exam Duration: 2 Hours Marks: 40 Answer ALL Questions [The figures in the right margin indicate the full marks and corresponding course outcomes. All portions of each question must be answered sequentially.] 1. a) What are HTML attributes? Explain the difference between block-level and inline elements in HTML. Give suitable examples of each. | 5 | CO1 1. b) What are CSS selectors? Explain the CSS Box Model. Describe the roles of content, padding, border, and margin with a suitable diagram/example. | 5 | CO1 2. a) Construct an HTML registration form for a university workshop using a table layout. The form should include fields for Participant Name, Email Address, and Contact Number. There should also be a Preferred Workshop Topics using checkboxes. Finally, the form must contain both a Submit button and a Reset button to allow users to submit the form or clear the entered information. The code output should be: [Figure: University Workshop Registration Form with fields Participant Name, Email Address, Contact Number, Preferred Workshop Topics (checkboxes for Artificial Intelligence, Web Development, Data Science), Submit and Reset buttons] | 5 | CO2 2. b) Write HTML markup to produce the following formatted text: i. Warning: Please save your work before closing the browser. ii. My favorite book is The Alchemist by Paulo Coelho. iii. The chemical formula of sulfuric acid is H2SO4. iv. The area of a circle is A = Pi*r^2. v. The original price was Tk. 500Tk. 5000Tk. but the discounted price is Tk. 900. | 5 | 3. a) Generate the following webpage using HTML and CSS. The required images are provided as A.jpg, B.jpg, and C.jpg. [Figure: Section Title Goes Here with three feature columns titled Feature Title One, Feature Title Two, Feature Title Three with respective icons and descriptions] | 5 | CO3 3. b) Construct the following Table using HTML & internal CSS. [Font name = "Times New Roman"]. Seminar Schedule Seminar | Day | Schedule | Topic Seminar | Monday | Begin: 8:00 a.m. | End: 5:00 p.m. | Introduction to XML Seminar | Monday | Validity: DTD and Relax NG Seminar | Tuesday | Begin: 8:00 a.m. | End: 11:00 a.m. | XPath Seminar | Tuesday | Begin: 11:00 a.m. | End: 2:00 p.m. | XSL Transformations Seminar | Tuesday | Begin: 2:00 p.m. | End: 5:00 p.m. | XSL Formatting Objects Seminar | Wednesday | Begin: 8:00 a.m. | End: 12:00 p.m. | | 5 | 4. a) You are developing a simple password validation system for a website. Each user creates a password during registration. Develop a JavaScript program that: 1. Takes a password as input. 2. Checks the length of the password according to the given conditions. 3. Displays the appropriate validation message. Conditions: - If the password is less than 5 characters, display "Password Unacceptable". - If the password is 5 to 10 characters, display "Weak Password". - If the password is more than 10 characters, display "Strong Password". Sample Input: abc Sample Output: Password Unacceptable | 4 | CO4 4. b) A small online bookstore stores information about a book using a JavaScript object. The object contains the book title, price, quantity, and discount percentage. Write a JavaScript program to create an object named book, with appropriate values and perform the following tasks: 1. Display the book title. 2. Calculate the total price based on the price and quantity. 3. Calculate the discount amount. 4. Calculate the final price after applying the discount. 5. If the final price is greater than 5000, display "Premium Purchase"; otherwise, display "Regular Purchase". Sample Input: Title: "JavaScript Basics", Price: 1200, Quantity: 5, Discount: 10 Expected Output: Book: JavaScript Basics, Total Price: 6000, Discount: 600, Final Price: 5400, Premium Purchase | 6