=========================preview======================
(IELM330)final07.pdf
Back to IELM330 Login to download
======================================================
IELM 330: IT for Logistics and Manufacturing
Final Exam, Max time: 2.5 Hrs, Max score = 100 (total on paper: 105)

Q1. HCI [2+2+6+2=12]
(a)
Several online newspaper websites have an auto-refresh mode: even if the web client takes no action, the page re-loads after each 60 seconds (typically) to ensure that the client gets the latest news. Give one reason why this design is bad (if it violates some HCI heuristic, which one?). Suggest a simple way to improve this design.

(b)
Typical FORM tags in HTML files do not give visual or audio feedback to the user when the submit button is clicked (this violates Nielsens guideline). Write at least two techniques that can be used to improve the design of such web-pages.

(c)
One of Nielsens guidelines is to design HCI for Flexibility and efficient use. Give two examples of this guideline in the design in each of the following:


Keyboard
(i)

(ii)


Mouse
(i)

(ii)



Web browser (e.g. Internet Explorer)
(i)

(ii)


(4) Approximately 10% of the population has some form of color-blindness. Write two design features of web browsers (e.g. Internet explorer) that accommodates for such users.
Q2. Basic IT algorithms [10+12=22]
(a) Given below is the incomplete pseudo-code for a comb-sort function. The input to the function is an Nx2 array, A, with the following data: A[i, 0] is a string that stores a persons name; A[i, 1] is an integer that stores the age of the person with name A[i, 0]. Complete the pseudo-code so that the function will sort the names in the array by descending age.
For example, the input: should be sorted out as:
John 12
Jack 14
Brian 34
Robert 23

Brian 34
Robert 23
Jack 14
John 12

gap = number_of_rows( A); repeat if gap >
gap =
end if
i= 0
flag = false
repeat

until i + gap >=
until gap = and flag =

(b) The website of a small company has hundreds of html files, organized in a set of folders and sub-folders. The top level folder is called c:/home (this folder has several html files, and some sub-folders, etc.). Each html file may contain links zero or more files within the website.
You are hired to write a small VB program to check and report any dead links: a dead link is a link (contained in one file) referring to some file that does not exist on the website. Write the pseudo-code of the program that can perform this function.
Note:
(i) You can assume that there is a function, dir( ), which works as follows:
dir ( my_folder, FILE) . returns an array, each element of the array is the name of a file in the folder called my_folder; dir ( my_folder, DIR) . returns an array, each element of the array is the name of a sub-folder of the folder my_folder.
(ii) Focus on the logic --dont worry about the exact VB function names.
(iii) Please declare any list, array, etc. at the top, and write clearly what data is stored in each.
Q3. Networks and Communica