You are on page 1of 9

FINAL EXAMINATION DECEMBER 2011 SEMESTER EXAMINATION 2/2011/2012 ACADEMIC SESSION COURSE COURSE CODE DURATION FACULTY PROGRAMME

: : : : INTRODUCTION TO WEB DESIGN IAS 1113 3 HOURS COMPUTER SCIENCE AND INFORMATION TECHNOLOGY : BACHELOR OF COMPUTER SCIENCE (SOFTWARE ENGINEERING) (HONS) BACHELOR OF COMPUTER SCIENCE (HONS) BACHELOR OF SCIENCE IN IT WITH SUPPLY CHAIN MANAGEMENT (HONS) BACHELOR OF MULTIMEDIA INDUSTRY (HONS) BACHELOR OF INFORMATION TECHNOLOGY (HONS) BACHELOR OF INFORMATION TECHNOLOGY (KNOWLEDGE MANAGEMENT) (HONS) : MDM NAHDATUL AKMA AHMAD : MDM NAHDATUL AKMA AHMAD (1)

LECTURER GROUP

INSTRUCTIONS TO CANDIDATES This paper consists of three (3) sections: Section A 20 questions (multi-choice questions) Section B 5 questions Section C 2 questions Answer all questions in Section A, B and C. All answers of: Section A, B and C must be written in answer booklet provided. The answer for each question in Section C must start on a new page. Candidates are NOT ALLOWED to bring any unauthorized items into the exam hall except with the permission of your invigilator. Do Not Open the Question Paper Until Instructed This Question Paper Consists of Nine (9) Printed Pages

CONFIDENTIAL

FCSIT/ IAS1113/DEC11

SECTION A (20 Marks) Answer ALL questions. For each question choose the best answer.

1.

Which of the following is the correct HTML code for adding background color? A. B. C. D. <body bcolor="yellow"> <body bgcolor="yellow"> <body background=yellow> <background>yellow</background>

2.

<body text=blue link=red vlink=green alinkred> What is the meaning of vlink in the above coding? A. B. C. D. Visible link Visited link Virtual link Viewing link

3.

One of the attribute that <img> tag supports is vspace. Which of the following is the description about this attribute? A. B. C. D. To specify the location of the graphic file To specify text to display in place of an inline image To controls the amount of space above and below the image To indicates the amount of space to the left and right of the image

4.

Which of the following is the correct HTML code to open link in a new browser window? A. B. C. D. <a href="url" new> <a href="url" target="_new"> <a href="url" target="_blank"> <a href="url" target="_parent">

5.

Which of the following is NOT the reason for using GIF image format? A. B. C. D. When our image has 256 colors or less When we want to use animated image When we want to use transparent colors When we want to use photographic images

CONFIDENTIAL/2

FCSIT/ IAS1113/DEC11

6.

What are the two kinds of tables can you place in a Web Page? A. B. C. D. Graphical table and Text table Graphical table and Iconic table Hierarchical table and Iconic table Hierarchical table and Graphical table

7.

How can you make a list that lists the items with numbers? A. B. C. D. <dl> <ol> <ul> <list>

8.

Which property will open a page in a new window? A. B. C. D. target="_son" target="_self" target="_top" target="_blank"

9.

Why do designers often use slight variations of black and white as background colors ? A. B. C. D. Personal choice Easy to manage the web page To make the page more readable Black and white are attractive colors

10.

Which is the most suitable type for banners, buttons, dividers, clipart and other simple images? A. B. C. D. jpg bmp psd gif

11.

<frameset cols="120,*"> Which of the following convey the meaning for the above code? A. B. C. D. Top frame would be 120 pixels high Top frame would be 120 inches high Left frame would be 120 pixels wide Left frame would be 120 inches wide

CONFIDENTIAL/3

FCSIT/ IAS1113/DEC11

12.

What is a name for a file that specifies how the screen is divided into frames? A. B. C. D. Frameset Frametable Framepage Frame src

13.

Which of the following is a VALID HTML code? A. B. C. D. <fontface="verdana"> <font face="verdana"> <font type="verdana, arial"> <fonttype="verdana, arial">

14.

What is the reason of adding an alternative text to the images? A. B. C. D. User friendly In case the user wishes to load a different picture The user can save the image using the text as a name The user can get an idea of what the image is before it loads

15.

Which sequence of HTML tags is correct? A. B. C. D. <html><head><title></<title></head><body></body></html> <html><head></head><body><title></<title></body></html> <html><head><title></<title><body></body></head></html> <html><title></<title><head></head><body></body></html>

16.

HTML sending and transferring file using which protocol? A. B. C. D. FTP POP3 HTTP SMTP

17.

Which is the correct syntax for making a submit button? A. B. C. D. <form action=> <input type="submit" name="s1" value=" Press " /> </form> <input type="submit" name="s1" value=" Press " /> <form action=> </form> <form action=> <input type="button" name="s1" value=" Submit " /> </form>

CONFIDENTIAL/4

FCSIT/ IAS1113/DEC11

18.

Select the correct command for adding an image to a web page. A. B. C. D. <src img="url"> <img src="url"> <image src="url"> <img srcimg="url">

19.

Which one is the extension for HTML? A. B. C. D. css xml htm xhtml

20

This tag creates linking mark to text within a document. The text that is marked can be link to it from other points. Which one is the correct tag for the statement? A. B. C. D. <a> <p> <hr> <link>

CONFIDENTIAL/5

FCSIT/ IAS1113/DEC11

SECTION B (50 Marks) Answer ALL questions.

Question 1 a) Define the purpose of the following HTML tags in defining a structure of a table: i. ii. iii. <tr> <td> <th> (6 marks) b) Two ways of specifying colour in HTML are using color names and colour values. Briefly explain the advantages and disadvantages of each way. (4 marks)

Question 2 a) Construct HTML code for a 2 x 2 table. (5 marks) b) Explain three things that should be avoided when choosing a background image for a web page. (3 marks)

Question 3 a) Explain the purpose of the <form> tag? (2 marks) b) Construct HTML code for attribute that is used to limit entry the StudentName textbox to no more than 20 characters. (2 marks) c) Construct HTML code for tag that is used to create a selection list with a field named Color and with the options Red, Green, Yellow and Blue. (4 marks) d) Construct HTML code to send your form to the e-mail address nahdatul@unisel.edu.my. (2 marks)

CONFIDENTIAL/6

FCSIT/ IAS1113/DEC11

Question 4 a) Explain why the <body> tag is unnecessary for pages that contain frames. (2 marks) b) Construct HTML code that being used to remove the scroll bars from the frame for home.html. (2 marks) c) Construct a HTML tag that would be used to set the frame border width to 5 pixels. (2 marks) d) Construct a HTML code that would be use to direct all hypertext links in a document to the News target. (2 marks) e) Construct a HTML tag that would be used to set the frame border color of every frame on the page to yellow. (2 marks) Question 5 a) Produce a HTML code to produce the following set of checkboxes. Enclosed all the checkboxes within a group box.

(5 marks) b) Produce a complete HTML code for the following form:

(7 marks)

CONFIDENTIAL/7

FCSIT/ IAS1113/DEC11

SECTION C (30 Marks) Answer ALL questions.

Question 1 As a programmer you were given a task to develop the following multimedia web page. Produce a complete HTML code based on the details provided.

Format for audio: i. Font face : verdana ii. Audio width : 145 iii. Audio height : 60 iv. Audio file name : crazyfrog.mp3 Format for video: i. Font face : verdana ii. Video width : 300 iii. Video height : 300 iv. Video file name : crazyfrog.mpg Format for Marquee Text: i. Marquee Bgcolor : red (10 marks)
CONFIDENTIAL/8

FCSIT/ IAS1113/DEC11

Question 2 Universiti ABC is a new university located in Shah Alam. This university offered foundation, diploma, degree, masters and PHD programs in various fields where those who are SPM, STPM, Certificate, Diploma and Degree leavers can apply for the suitable programs based on their previous achievement. As a new university, students recruitment rely on manual registration form basis. In order to boost up number of student enrolment, university management wants to embark on student online registration. a) Illustrate the proposed Student Registration Form for this university. (5 marks) b) Produce a complete HTML code for the form. (15 marks)

END OF QUESTION PAPER

CONFIDENTIAL/9

You might also like