NATIONAL OPEN UNIVERSITY OF NIGERIA
University Village, Plot 91, Jabi Cadastral Zone, Nnamdi Azikiwe Expressway, Abuja
FACULTY OF SCIENCES
Computer Science Department
2023_1 POP EXAMINATION 231
Course Code: CIT 484
Course Title: Website Design and Programming
Credit: 2 Units
Time Allowed: 2 hours
Instruction: Answer Questions One (1) and any other TWO (2) questions.
Questions One (25 Marks) – Compulsory
1 (a) Briefly describe the Internet. (2 marks)
1 (b) List five methods of connecting to the internet. (5 marks)
1 (c) Contrast between Java and JavaScript. (10 marks)
1 (d) Complete the html code below to include a JavaScript function that accepts two
values and prints out the product (i.e. multiplies the values). (10 marks)
<html>
<head>
…
…
.
.
…
</head>
<body>
</body>
</html>
1 (e) What is VPN, VOIP and TCP? (3 marks)
Question Two
2 (a) List five physical tags and five logical tags. (5 marks)
Page 1 of 3
2 (b) Distinguish between physical tags and logical tags. (2 marks)
2 (c) Describe Hypertext link. (3 Marks)
2 (d) Write the HTML code snippet to recreate the list as shown below (i.e. indented
with the same text).
(10 marks)
Questions Three
3 (a) List the two major sections of HTML documents and mention one tag that it
contains. (4 Marks)
3 (b) Describe, with examples, any four parts of a complete URL. (12 Marks)
3 (c) What do you understand by the term web design? (2 Marks)
3 (d) List two modern uses of the internet. (2 marks)
Question Four
4 (a) Describe four (4) JavaScript primitive data types. (8 Marks)
4 (b) List four major groups/classes of operators (with two examples of each) used in
JavaScript. (6 Marks)
4 (c) Write a JavaScript function (i.e. without the html elements) that accepts two
numeric values, find the sum, and sends the statement (using alert) “Greater than
100” if the sum is greater or equal to 100 and the statement “Less than 100” if the
sum is less than 100. (6 marks)
Page 2 of 3
Question Five
5 (a) Discuss briefly the following concepts as related to Object Oriented Programming
(i) Objects, (ii) Classes, (iii) Polymorphism and (iv) Inheritance. (4 marks)
5 (b) Distinguish between the absolute and relative URL. (2 Marks)
5 (c) Describe the HTML form. (2 Marks)
5 (d) Write the HTML code snippet that would recreate the picture below:
(12 marks)
Page 3 of 3