Pre-test 1 S5 ICT

1.Which of the following input devices is not necessary for video conferencing?

A.Web cameraB.Image scanner

C.MicrophoneD.Speaker or headphone

2.Which of the following is not a function of a common network operating system?

A.Monitoring and restricting access to network resources

B.Printing management

C.Software development management

D.User account management

3.Which of the following is not open source software?

A.Internet ExplorerB.Apache HTTP Server

C.Fedora LinuxD.Open Office

4.Which of the following statements about HTML is not correct?

A.A HTML file consists of text only.

B.H TML is a markup language.

C.< title> and </title> tags bound the title of a web page.

D.All HTML tags are in pairs.

5.Uniform Resource Locator (URL) is to locate

A.a particular web page or file existing in a web site.

B.a leased line reserved for related users.

C.a remote line for connecting users to the Internet.

D.a data line that provides unlimited access time.

6.An IT teacher advises the Principal to install wireless access points on theschool LAN system.Which of the following is/are reason(s) to support the teacher's advice'?

(1)More computers can access the system without extra hubs.

(2)Computers can access the system on the basketball court.

(3)The data transfer rate is higher.

A.(1) onlyB.(3) only

C.(1) and (2) onlyD.(2) and (3) only

7.Each computer in a network can be identified uniquely by its

A.login nameB.Internet Protocol address

C.Personal Identity NumberD.email address

8.Which of the following must bean invalid Uniform Resource Locator?

A.

C.

9.Which of the following actions should not be carried out when constructing a web page?

A.Insert more than one hyperlink.B.Compile the HTML file.

C.Insert multimedia elements except photos.D.Use .htm as the filename extension.

10.Which of' the following statements about Domain Name and Internet Protocol address is nut correct?

A.The Internet Protocol address of a common network device consists of four sets of numbers.

B.Domain Name is normally easier to remember.

C.Domain Name can remain unchanged even if the host computer is moved to a different network.

D.Domain Name supports a faster connection to the requested host computer.

11.A personal digital assistant (PDA) and a computer are connected through a cable. Which of the following task(s) is/are commonly performed?

(1)Use the PDA to browse web pages through the computer.

(2)Synchronise the databases of the PDA and the computer.

(3)Install software into the PDA.

A.(1) onlyB.(1) and (2) only

C.(2) and (3) onlyD.(3) only

12.What is the minimum number of file(s) needed to create the following web page?

A.1B.2

C.3D.4

  1. Mary constructs a web site and saves it into her hard disk with the file structure as shown in Figure 1.

(a)In order to display the image file “peak.jpg” in the web page “peak.htm”, Mary uses the following HTML, codes to link the image file to the web page.

<img src = “C:\trip\web\images\peak.jpg”>

However, when Mary browses her web site through the Internet after all the files in the folder “C:\trip\web” have been uploaded onto the web server of her school, she finds that the image “peak.jpg” cannot be displayed in the web page “peak.htm”. Give one possible reason why this happens, and describe how to correct the problem.

(4 marks)

(b)Mary includes the following HTML codes in the web page “index. htm”. Draw what will be displayed in the browser. (3 marks)

<ol>

<li>RepulseBay</li>

<li>VictoriaPeak</li>

<li>Stanley Market </li>

</ol>

(c)To further enrich the contents of the web page “index.htm”, Mary also includes the following HTML codes in the page.

<a href=”

<img src = ”C:\trip\web\images\peak.jpg”width=”250”height=”175”border=”2”

align=”middle”>

</a

Describle briefly how these HTML codes work and what will be displayed in the browser.

(4 marks)

(d)Mary downloads the image file “peak.jpg” from the web site of a non-profit making organization, The Hong Kong Tourism Board. She does not make any profit from her own web site. Is it ethical to use the image in her web page? Explain your answer briefly.

(2 marks)

(e)Mary wants to conduct a survey on the popularity of Hong Kong’s sightseeing places. However, she is only familiar with HTML codes. Is it possible for her to construct online questionnaires on her web site? Explain your answer briefly.

(2 marks)

2.A secondary school Athletics Club uses a fill-out form posted on its web site to collect information from its members. Shown below is the draft of the screen layout:

(a) Identify three types of input fields shown in the above form.Describe briefly the characteristics of each type. (6 marks)

(b) The current method for the input of a student’s Form (level of study) is not satisfactory. Explain briefly why. Suggest two better alternatives for this input field. (3 marks)

(c) Suggest another input type for collecting the information of students’ exact weight and height. Explain briefly. (2 marks)

(d) What is the function of clicking the ‘Reset’ button at the bottom?(1 mark)

(e) How will the data entered be processed after the ‘Submit’ button is clicked?(2 marks)

(f) How can a web designer post this form onto the Athletics Club’s web site?(1 mark)

Suggested Solution:

1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12
B / C / A / D / A / C / B / D / B / D / C / B

1. (a) The link of the image in the web page refers to the path “C:\...” in Mary’s own computer. 1

Hence the server cannot locate the image in the path referring to Mary’s machine. 1

Mary can use path relative to the root directory in the <img> tag. 2

(b) 1. RepulseBay

2. VictoriaPeak

3. Stanley Market 3

(c) ~ When the image is clicked. It will open the YRL 1

in a new window. 1

~ The dimensions of the image displayed on the web page are 250 * 175 pixels 1

with border 2 pixels in thickness, and the image is aligning in the center of the web page. 1

(d) It is ethically incorrect. Mary will cause copyright infringement as she has no permission

from The Hong Kong Tourism Board to use the image. 2

OR

It is ethically correct if Mary has sought an official approval from The Hong Kong Tourism

Board.

(e) No, Mary needs to write a program and install it in the server to process the users’ inputs. 2

OR

Yes, Mary can create forms using HTML and collects the questionnaire by email.

2. / (a)The type of input fields for entering ‘Student No.’, ‘Student Name’ and ‘Form’ is called text box. It is an area that allows a visitor to enter data or information.
The type of input field for collecting the information of a student’s choice of groups is called checkbox. It allows a visitor to select multiple options among a set of options.
The type of input field for collecting the information of a student’s sex is called radio button. It allows a visitor to select one option among alternatives. / 2
2
2
(b)A user may not input the expecting text ‘F1’, ‘F2’, etc.
If unknown text is entered, the processing of the information will become difficult.
The input method can be improved by using radio type or drop-down menu. / 1
2
(c)It is suggested to use a slider bar. A slider bar control can define a range of possible values and let a user get an exact value along the bar. / 2
(d)Clicking the ‘Reset’ button will reset all the fields in the form to their default values. OR, It will clear all input fields. / 1
(e)The data entered will be sent to a form processing application or a Common Gateway Interface (CGI) program which processes the information on the web server. OR, data will be validated and then loaded to a table in a database application. / 2
(f)He has a use a file transfer tool or an FTP program to post the form on the web site. / 1

ICT S5 Test on Web page and networks

1.Which of the following is not suitable for a Wide Area Network?

A.Blue ToothB.Satellite

C.Optical fibreD.T1 leased line

2.When typing ' in a browser at school, which of the following servers are probably involved?

(1)Domain name server(2)SQLServer

(3)FTP server(4)Proxy server

A.(1) and (3) onlyB.(2) and (3) only

C.(2) and (4) onlyD.(1) and (4) only

3.A Company provides email accounts for their staff. Staff can install any email program to access their emails. In addition, the company also provides web-based mail for them. Why?

(1)Staff can open their email accounts on any computer connected to the Internet.

(2)The storage size of web-based email accounts is larger.

(3)The emails will not be deleted after reading and can be retrieved later.

A.(1)onlyB.(2) only

C.(1) and (2) onlyD.(2) and (3) only

4.Lily tells her friends, Ka Kee (), Po Yan () and Mo Yi (), the date of her birthday party through an email as shown below. Which of the following statements cannot be derived from this email?

A.Ka Kee knows that the birthday party is held on 25/4.

B.Ka Kee knows that Po Yan receives the email.

C.Po Yan knows that Mo Yi receives the email.

D.Mo Yi knows that Ka Kee and Po Yan receive the email.

5.Which of the following is/are often needed for video conferencing?

(1)Sound card(2)Video display card

(3)Video capture card

A.(1) and (2) onlyB.(1) and (3) only

C.(2) and (3) onlyD.(3) only

6.Which of the following types of file is not suitable for communicating between different types of computers?

A.Text fileB.HTML file

C.mp3 fileD.Execution file

7.Which of the following devices should not be installed at X in the network below? x

A.PrinterB.Server

C.KeyboardD.Computer

8.Ms Wong wants to establish a network of three computers for sharing a printer and some files at home. Which of the following devices is not necessary?

A.Network cardB.Hub

C.RepeaterD.Twisted pair cable

9.TCP and IP are mainly used for

A.network communicationB.virus scan

C.web authoringD.system integration

10.Which part of the e-mail address, , can uniquely identify its owner on the Internet?

C.hkeaaD.admin

11.

The browsing result above shows that some Chinese characters are correctly displayed while some are not. Which of the following is the possible reason?

A.The server uses two different coding schemes to store the Chinesecharacters of the web page.

B.The server uses two different protocols to send the web page to thebrowser.

C.The browser uses two different coding schemes to decode the Chinesecharacters of the web page.

D.The correct display is an image.

12.Which of the following statements about common search engines is/are correct?

(1)Search engines involve complicated searching algorithms.

(2)Different search engines give different search results for the same keyword.

(3)When multiple keywords are entered into a search engine, each entry in the search result must contain all keywords.

A.(1) onlyB.(3) only

C.(1) and (2) onlyD.(2) and (3) only

1.Some information is presented in a table using the following HTML codes: (Some useful HTML codes are given at the end of this question.)

<html>

<body>

<table border=1>

<tr>

<td>Mammals</td>

<td>Birds</td>

<td>Reptiles</td>

</tr>

<tr>

<td>Platypus</td>

<td>Emu</td>

<td>Cobra</td>

</tr>

<tr>

<td>Wombat</td>

<td>Kookaburra</td>

<td>Alligator</td>

</tr>

</table>

</body>

</html>

(a)A web page containing the above HTML codes is displayed by a browser. Sketch the display of the web page as seen on a screen. (4 marks)

(b)What is the function of the pair of tags <body> and </body>?(2 marks)

(c)If the background colour of the cell containing "Emu" is changed to red, which line of code has to be modified? Write the correct HTML codes below. (2 marks)

(d)Insert another row on the top of the table. This row has two cells. The left cell spans across two columns containing content "Warm-blooded". The right cell is one column wide containing content "Cold-blooded". The contents in this row are bold and centred. Write the lines of HTML code which need to be inserted after <table border=1.

(3 marks)

(e)How are the height and the width of a cell in a fixed size table controlled?(2 marks)

(f)(i)Suggest one situation in which a web designer should use lists instead of tables for

presenting information. (1 mark)

(ii)How can an ordered list in HTML be numbered?(1 mark)

Some common HTML codes:
<html> </html> / <th> </th> / <rowspan=#
<body> </body> / <tr> </tr> / <colspan=#>
<table> </table> / <td> </td> / <bgcolor="colour">

2.An Artist designed his own web page using three frames (A), (B) and (C). He would like to share his pictures as well as other information related to Art. Two of the display screens are shown below:

Screen 1: with <My Pictures> button pressed

(A)
My ArtGallery
25-04-2006
(B)
<Home>
<About Me>
<My Pictures>
<Exhibitions>
<Forum>
<Useful Links>
<Feedback> / (C)My Pictures
Page 1 of 3 <123

Screen 2: with <Exhibitions> button pressed

(a)Describe the functions of the three frames (A), (B) and (C).(3 marks)

(b)Give one advantage and one disadvantage of using frames in web page.(2 marks)

(c)All pictures in Screen 1 have original resolution of 2272x1704 pixels.

(i)When a thumbnail is clicked, it shows a picture corresponding to the thumbnail with a resolution of 640x480 pixels within frame (C) even though frame (C) has a resolution of 1024x768 pixels. Explain briefly why the artist designs like this.

(2 marks)

(ii)What is the aspect ratio of the pictures? Each thumbnail in Screen 1 is designed to have a resolution of 125x75 pixels. Do you think that this is a good design? Justify your answer. (2 marks)

(d)In Screen 2, the list should contain information on 20 exhibition events. How can we view the rest of the events? In order to make it easier for users to find information, the artist built in four sub-heading buttons in Screen 2. Describe briefly how these buttons function.

(3 marks)

(e)When the cursor is placed on the <Feedback> button, the bottom status line on the browser shows mailto:. What happens when the user clicks on the mouse at this moment? Recommend another method to collect the feedback.

(2 marks)

(f)The artist has now decided to host his web site by building his own web server. Give a reason to support his decision. (1 mark)

3.Peter is a student in Hong Kong. He is working on a joint project with Mary who is studying in New York, USA. It is known that the time lag between Hong Kong and New York is 12 hours.

(a)Peter sends emails to communicate with Mary.(4 marks)

(i)Give one advantage of email over the traditional telephone line.

(ii)Give one advantage of the traditional telephone line over email.

(iii)Suggest another two communication methods through the Internet for them.

(b)Peter tries to send a large file as an attachment in an email to Mary. However, the email system does not allow it because of a 'transfer limit per email' policy under all email systems. (4 marks)

(i)Briefly explain why the email system has such policy.

(ii)Briefly describe how to send this file through the Internet successfully.

Peter wants to learn how to connect some computers to form a network. He types 'network' in a search engine to search relevant information from the Internet. Part of the first page of the search result is shown below:

He can only find some useful links on the second page onwards.

(c)(i)Why does the search result include some irrelevant links and place them at the top?

(ii)Describe a way to improve the search result.

(4 marks)

(d)Peter writes a web page in HTML by a text editor:

Source File Expected Display

When he uses a browser to preview the web page, the actual display is not the same as he expects. (2 marks)

(i)What is the difference between the expected display and the actual display?

(ii)Suggest a modification to the source file to solve the problem. (Candidates are not required to write the HTML codes.)

1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 20
A / D / A / C / A / D / C / C / A / A / D / C

1. (a) 4

Mammals / Birds / Reptiles
Platypus / Emu / Cobra
Wombat / Kookaburra / Alligator

(b)The pair of tags <body> and </body> tell the browser the start and the end of the main 2

contents of a web page.

(c)<td bgcolor="red">Emu</td> 2

(d)<tr> 3

<th colspan=2>Warm-blooded</th

<th>Cold-blooded</th>

</tr>

(e)Use a percentage to indicate the percentage of the total height or width of a table. 2

(f)(i)Using lists is recommended if the information contains just one column of data. 1

(ii)An ordered list is numbered by specifying the TYPE attribute, e.g. TYPE=1 or 1

TYPE=a.

2.(a)Frame (A) is a banner frame. Frame (B) is a navigation frame. 3

Frame (C) is a content frame.

(b)With frames, it is easier to navigate across web pages. 1

With frames, the workspace shown on a browser window becomes smaller. 1

(c)(i)Since the workspace of a browser window is small, all pictures have to be resized 2

smaller before they can be viewed. Using lower resolution can also speed up the downloading time of the content.

(ii)The aspect ratio is 4:3. 1

No, the thumbnail is not of 4:3 aspect ratio. There will be some distortion then. 1

(d)If the web page content is longer than the workspace, use the scroll bar to scroll up the 1

information.

The sub-heading buttons have the sorting function and they are toggle buttons. 1

The list can be sorted in ascending or descending order by toggling the buttons. 1

(e)An email application is launched and the user can start to give his feedback through 1

Email.

Use a pre-designed fill-out form to collect the feedback. When <feedback> button is 1

pressed, jump to this form.

(f)Using his own web server, the artist can control and monitor securely the information 1

on his web site.

3.(a)(i)They can communicate with each other in different time periods. / It is cheaper,

(free of charge) / Files can be attached and sent during the communication.1

(ii)Direct instant voice messages can be transmitted between them. (Interactive)1