0% found this document useful (0 votes)
15 views6 pages

DCSD 19.1F Web Application Development

The document contains questions from a past exam paper on web application development. It includes questions on HTML, CSS, JavaScript, PHP, XML, XSLT, ASP.NET and information security topics. The questions test knowledge on creating web pages, form validation, data representation and transformation, and security concepts.

Uploaded by

gihanya2000
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)
15 views6 pages

DCSD 19.1F Web Application Development

The document contains questions from a past exam paper on web application development. It includes questions on HTML, CSS, JavaScript, PHP, XML, XSLT, ASP.NET and information security topics. The questions test knowledge on creating web pages, form validation, data representation and transformation, and security concepts.

Uploaded by

gihanya2000
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/ 6

NATIONAL INSTITUTE OF BUSINESS MANAGEMENT

Diploma in Computer System Design 19.1F -NIB-SOC-ITB-2-4-11


Diploma in Software Engineering 19.1F -NIB-SOC-COM-2-4-11
Diploma in Computer Networks 19.1F-NIB-SOC-EHNS-2-4-11
Web Application Development
Date:02 March 2020 Time Allowed:3hrs
Answer all questions

Question 1 (20 Marks)


a) Write HTML elements to design the following web page, Apply necessary
formatting using an internal CSS style. (12 Marks)

H1 heading Happy Drive Automotive Ltd X


Red color, Arial Font,
centered. Welcome to Happy Drive Automotive Ltd
We provide the best accessories for your vehicle. Come and see the price
Paragraph
and quality of our products.
Brown color, Justify
Our products include:
H2 heading • GPS Navigators
Blue color, • Diagnostic Tools
Underlined
• Wireless Transmitters

GPS Navigators
Paragraph
Justify, Font Size
Stock clearance sale of Diagnostic & Test Tools will be held
15px, Calibri Font on 20th October 2020.

H3 heading Don’t miss this opportunity!!!


Arial Font, Red
color, Italic

b) Create the following HTML Frameset document where column widths are equal.
(Assume that linked pages are already designed and available) (08 Marks)

Home X

About.html Register.html

Page 1 of 5
Question 2(20 Marks)
a) Write a java script program to input values for student id, marks1, marks2 and
marks3 into variables and to calculate and display average and grade. (10 Marks)

Average Grade
Average <=50 Fail
Average > 50 Pass

b) Consider the form given below. Write a JavaScript function to include the following
validations for the data input through the form. (You are required to write only the
JavaScript function. Do not create the form). (10 Marks)
i. The ‘Name’ and ‘Address’ fields should not be empty.
ii. ‘Telephone No” should be numeric.
iii. “Type of Pizza” should be selected.
iv. “Extra Cheese” options should be checked.

Display suitable messages to the user based on the result of each validation.

List Values:

▪ Select Topping
▪ Veggie
▪ Chicken
▪ Supreme

Page 2 of 5
Question 3(15 Marks)
a) Consider the form given below: (15 Marks)

List item:

▪ Vanilla
▪ Chocolate
▪ Fruit

Write a PHP page to display the Name, Delivery Address, Type of cake ordered, Quantity
ordered and Amount Payable. Consider the following information to calculate the Amount
Payable. (You do not need to
Type of Cake Price(Rs)
create the form)
Vanilla 180.00
Chocolate 200.00
Fruit 230.00

• If extra topping is ordered, Rs 50/= should be added to the price.


• Amount Payable = Price * Quantity Ordered

Question 4 (20 Marks)


a) Consider the book details table given below:
Book ID Book Name Category Price (LKR)
B001 Adobe Photoshop Designing 500.00
B002 Programming with C++ Programming 800.00
B003 Computer Networking Networking 750.00

i. Write a well-formed XML document to represent the data in the table. (12 Marks)
ii. Using the above XML document, design an XSL document to display the following
webpage. (08 Marks)

Page 3 of 5
H1 heading Book Details X
Blue color, font ABC Bookshop Ltd
size=40pt, Underlined,
Center Align We have Adobe Photoshop Books in Designing Category Starting
from LKR 500.00.
Paragraph
For more details contact us: 0112 66 88 12
Font size : 15pt,
color=Brown Paragraph
Font size : 25pt,
color=Red , Bold

Question 5(15 Marks)


a) Design the following form using ASP.Net controls. (15 Marks)

Page 4 of 5
Question 6 (10 Marks)
1. What is World Wide Web (www)?

a. A collection of web pages are called WWW.


b. World Wide Web is the Internet.
c. E-mails and World Wide Web is Internet.
d. It is service which runs on Internet.

2. World Wide Web operates on ____________

a. ICMP c. HTTP
b. UDP d. SMTP

3. What is not a main component of Information Security?

a. Communication c. Availability
b. Privacy d. Integrity
4. What do you mean by www.nibm.lk/galle/index.html ?

a. www is a sub domain of nibm.lk domain.


b. www is web service name and nibm.lk is the domain name.
c. www.nibm.lk is the full qualified domain name.
d. www is web server name and nibm.lk is the hostname name.

5. A hacker contacts you using a phone or email and attempts to acquire your password.
This is called as ________________

a. spoofing c. spamming
b. phishing d. bugging

6. The phrase __________ describes viruses, worms, Trojan horse attack applets, and
attack scripts.

a. malware c. phish
b. spam d. virus

7. A __________’s main purpose is to prohibit unauthorized access to your computer via


the Internet.

a. popup blocker c. spyware blocker


b. firewall d. spam filter

8. Which of the following statements is correct regarding encryption?

a. Sender gets receivers public key. c. Sender gets receivers private key.
b. Private Key is distributed freely. d. All of the above.

9. Encryption is?

a. A spyware protection
b. A method of converting data in to a deferent format to transmit over the Internet.
c. A method of formatting data in the web.
d. A virus protecting application.

10. To create a copy of files in the event of system failure, you create a __________.

a. restore file c. backup


b. bootstrap d. redundancy

Page 5 of 5
Page 6 of 6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy