3
Riphah International University, Faisalabad Web Programming – Quiz-01 (10 Marks) Name: Reg #: Q.1) Fill in the blanks (2.5 Marks) 1. HTML page is interpreted by the Browser ____________ 2. HTML describes the Structure __________ of a page 3. We are learning following version of HTML _HTML 5.0 ________ 4. TCP/IP abstract _4 _____ layer model 5. WWW is only _Subset/Part _____ of _Internet _________ Q.2) What are the five early features of web that are still the core features of modern web (2.5 Marks) A URL to uniquely identify a resource on the WWW. The HTTP protocol to describe how requests and responses operate. A software program (later called web server software) that can respond to HTTP requests. HTML to publish documents. A program (later called a browser) to make HTTP requests from URLs and that can display the HTML it receives. Instructor: Uzair Saeed 1

Quiz1 Solution

Embed Size (px)

DESCRIPTION

other

Citation preview

Riphah International University, Faisalabad

Web Programming Quiz-01 (10 Marks)Name:

Reg #:

Q.1) Fill in the blanks (2.5 Marks)1. HTML page is interpreted by the Browser____________

2. HTML describes the Structure__________ of a page

3. We are learning following version of HTML _HTML 5.0________

4. TCP/IP abstract _4_____ layer model

5. WWW is only _Subset/Part_____ of _Internet_________Q.2) What are the five early features of web that are still the core features of modern web (2.5 Marks)

A URL to uniquely identify a resource on the WWW.

The HTTP protocol to describe how requests and responses operate.

A software program (later called web server software) that can respond to HTTP requests.

HTML to publish documents.

A program (later called a browser) to make HTTP requests from URLs and that can display the HTML it receives.

Q.3) Write the HTML code for the following list (2 Marks)

Server Side1. PHP

2. MySQL

Client Side1. HTML2. JavaScript jQuery

3. CSS

  • Server Side
  1. PHP
  2. MySQL

Client Sider

  1. HTML
  2. JavaScript
  • jQuery

CSS

Q.4) Consider following folder/file structure (3 Marks)

C:\myfiles\projects\website1\index.html

C:\myfiles\projects\website1\contact.html

C:\myfiles\projects\website1\services\service-a.html

C:\myfiles\projects\website1\images\photo.jpg

C:\myfiles\projects\website1\products\category-a\product-aa.htmlAnswer the following question

a) Write down the tag with relative path when you want to create a link to contact.html in index.htmlContactb) Write down the tag with relative path when you want to load photo.jpg in service-a.html

c) Write down the tag with relative path when you want to create a link to product-aa.html in service.htmlProductInstructor: Uzair Saeed

1