Sei sulla pagina 1di 13

NATIONAL HND EXAMINATION PAPER STRUCTURE FOR COMPUTER

ENGINEERING: INFORMATION AND COMMUNICATION TECHNOLOGY

Paper: CASE STUDY


Specialty: INFORMATION AND COMMUNICATION TECHNOLOGY
Nature of the paper: written
Parts: three (03) sections
Duration of the paper: 6hrs
Coefficient: 5

I. PRESENTATION OF PAPERS
a) Nature of the paper : written
b) Structure of paper

The case study should be divided in three (03) sections, as followed:

i) SECTION I: Programming : 40%

This section should be divided in two separated parts to test the ability of the candidate in
programming, and stress on the ICT aspect, especially as far as web design is concerned as
follows:

(1) C language [This section should not go beyond the following topics]
(a) Programming principle
(b) C variable and conditions
(c) Expression and operators
(d) Arrays
(e) Functions
(f) Structures
(g) Files
NB: GNU GCC Compiler found in codeblock or Pelle C
(2) Web design (Static web page)
(a) HTML5
(b) CSS3
NB: The candidate will assume editing with NotePad++ editor
NB: The candidate should respect indentation when writing any sript.
ii) SECTION II: Networking : 45%
This section is made up of structural independent questions
(1) Fundamentals
(2) Switching
(3) Routing
(4) IPV4 subneting
(5) Basic security
(6) Troubleshooting
iii) SECTION III: INTERFACING: 15%
This section is a set of Combined Computer Architecture, Digital Electronics and
Analog Electronics, firmware programming, and a bit of RTOS.
(1) Microprocessor interfacing technique
[It is made up of structural independent questions on the following topics]
(a) Interfaces (Relays, Transistors, LED, SSR, push button…)
(b) Sensor- A/D: LDR Light Depending Resistors, LM35 Temperature sensor,
Humidity sensor, Potentiometer, PWM, OPAMP, FLIP FLOP….
(c) Protocols: RS232, SPI, I2C…
(2) Using Microcomputer/Microcontroller Unit as interface for Personal
Computer
[Use of the Arduino board as Recommended for Computer Architecture II ]
(a) Use Arduino board as A/D and D/A converter to send/receive data to
exchange with a host PC.
c) Objectives of the paper:

The case study is meant to access theoretically the ability of an HND candidate
to tackle real life problem, and propose solutions. The candidate should be directed
with straightforward questions, as mentioned above. Because ICT is actually a cross
platform where Software, Hardware, Telecoms, Networks and Electrical engineering
meet, the candidate must have knowledges in all those sections.

The case study will consist in creating two (02) applications that will be hosted
in a server, one in C, and another one is a web page. The candidate will also take care
of the networking, by setting and managing the network. At last he will write a
program to interface some hardware through the server.

d) Duration of paper : 06 (six)Hours


e) Total number of points for the paper: 100(One hundred)
i) Programming : 40 Marks
ii) Networking : 45 Marks
iii) Computer Architecture: 15 Marks
f) Coefficient of the paper: 05(five)
g) Name of the paper: CASE STUDY FOR ICT
II. ASSESSMENT CRITERIA
a) Outline the key elements of assessment
i) SECTION I Programming : 40 Marks
(1) C LANGUAGE (20Marks)
(a) Structural independent questions (5marks)
(b) Small problem (15marks)
(2) WEB DESIGN (20Marks)
(a) HTML5 (7marks)
(b) CSS3 (13marks)
ii) SECTION II Networking : 45 Marks
This section is made up of structural independent questions
iii) SECTION III INTERFACING: 15 Marks
(1) INTERFACES (5Mrks)
(2) ARDUINO PROGRAMMING (10Marks)
Paper: CASE STUDY Sample 1
Specialties: ICT
Coef: 5
Duration: 6hrs

SECTION I : PROGRAMMING
1. C LANGUAGE (20Marks)
1.1. Define the following (5marks)
1. Compiler
2. Program
3. Syntax
4. Preprocessor directives
5. printf ("solution : x = %f !\n",b);

1.2. Small problem (15marks)

Write a c program for a restaurant that will display the following menu.

Figure 1

When the choice is selected by entering the corresponding number, it tells the user the
choice selected, if the number entered is not among the range 1 to 4 he should be prompted “You
will remain stave”.
2. WEB DESIGN (20Marks)

Figure 2
2.1. HTML5 (7marks)

Using HTML5 structural tags, propose an html script to produce the design of figure 2

2.2. CSS3 (13marks)

Using CSS3 Cascading style sheet, propose a CCS script to produce the style of figure 2

SECTION II: Networking : 45Marks


1) What do you understand by full duplex and half duplex in networking? (2mrks)
2) There exist two models in networking, OSI and TCP. What is the full meaning of
OSI? (1mrk)
3) How is data referred to at the various layers of the OSI model? (7mrks)
4) What is the full meaning of MAC in MAC address and IP in IP address? (2mrks)
5) What is the function of above addresses? (2mrks)
6) What layer(s) does the application layer of the TCP model correspond to in the OSI
model? (2mrks)
7) Outline the various layers of the TCP model and their various protocols (10mrks)
8) Subnet the address space 172.16.0.0/16 to provide at least 80hosts addresses per
subnet while creating as many subnets as possible. (6mrks)
9) What is the full meaning of DNS and explain what happens from when you type in the
name of a website until when the webpages appears on the screen. (4mrks)
10) What is the full meaning of DHCP and how does it function in a network? (4mrks)
11) What is a router? (1mrk)
12) What do you understand by routing? (2mrks)
13) List four routing protocols. (2mrks)
SECTION III: INTERFACING: 15Marks
1. INTERFACES (5Mrks)
1.1. Define: SPI, RS232. (2Mrks)
1.2. Design a circuit diagram to interface a microprocessor or microcontroller provided
the logic used is TTL, and components available are resistors, transistors, and relays.
(3Mrks)

2. ARDUINO PROGRAMMING (10Marks)

Write a program, using an Arduino board to display the Analog value sensed from a
potentiometer and display it every 2Seconds on the PC.
Paper: CASE STUDY Marking guide Sample 1
Specialties: ICT
Coef: 5
Duration: 6hrs

SECTION I : PROGRAMMING
1. C LANGUAGE (20Marks)
1.1. Define the following (5marks)
1. Compiler: A compiler is a special program that processes statements written in
a particular programming language and turns them into machine language or
"code" that a computer's processor uses
2. Program: A computer program is a collection of instructions that performs a
specific task when executed by a computer.
3. Syntax: The syntax of a computer language is the set of rules that defines the
combinations of symbols that are considered to be a correctly structured
document or fragment in that language
4. Preprocessor directives: Preprocessor directives are lines included in a program
that being with the character #, which make them different from a typical
source code text.
5. printf ("solution : x = %f !\n",b); this instruction will print on the screen :
solution : x = (content of b converted in float)! (break line)
1.2. Small problem (15marks)

#include <stdio.h>
#include <stdlib.h>

int main()
{

int choice;
printf("=== Menu ===\n\n");
printf("1. ERU\n");
printf("2. EKWANG\n");
printf("3. BITTER LEAF\n");
printf("4. TOMATO SAUCE\n");
printf("\nMake your choice ? ");
scanf("%d", &choice);
printf("\n");
switch (choice)
{
case 1:
printf("You have selected ERU. !");
break;
case 2:
printf("You have selected EKWANG ...");
break;
case 3:
printf("You have selected BITTER LEAF ...)");
break;
case 4:
printf("You have selected TOMATO SAUCE !");
break;
default:
printf("You will stay stave !");
break;
}
printf("\n\n");
return 0;

}
3. WEB DESIGN (20Marks)

3.1. HTML5 (7marks)

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" />
<title>COMPUTER</title>
</head>

<body>

<header>
<h1>Web Design</h1>
</header>

<nav>
HTML<br/>
CSS<br/>
JAVASCRIPT<br/>
XAJAX<br/>
JQUERY<br/>
</nav>

<section>
<h1>HTML</h1>
<p>
HyperText Markup Language (HTML) is the …
</p>
<h1>CSS</h1>
<p>
CSS (Cascading Style Sheets, also called …
</p>
<h1>PROTOCOL</h1>
<p>
In telecommunications, a communication <span class="important">protocol</span> …
</p>
</section>

<footer>
Copyright © Eaphysud.com
</footer>

</body>
</html>
3.2. CSS3 (13marks)

header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
nav {
line-height:30px;
background-color:#eeeeee;
height:500px;
margin-left: 200px;
width:200px;
float:left;
padding:5px;
}
section {
width:700px;
float:left;
padding:10px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
.important{

color: red;
}

SECTION II: Networking : 45Marks

1. Ans: in a full duplex mode, data is transmitted simultaneously in both


directions.while in a half duplex mode data transmission takes place in one
direction at a time.
2. Ans: Open System Interconnection.
3. Ans:
4. Ans:MAC=Media Access Control,IP=Internet Protocol
5. Ans:MAC address is a hard coded address which uniquely identifies a computer on a network.
IP address is that address that helps computers to connect to the internet and communicate with
each other in a network.
6.Ans: application layer and presentation layer
7. Ans:

8. Ans :

9. Ans: DNS=domain name saver, when the name of a site is entered into the address bar of the web
browser, the dns then converts that name into its corresponding IP address of which a request is now
sent to the web server requesting for that particular webpage, and when the page is found, it can
now be displayed on your screen.
10. Ans: DHCP =dynamic host configuration protocol. Assigns IP addresses to hosts automatically.
11 A router is a networking device that segments broadcast domains. it also helps to interconnect
networks.

12. Routing is the processes by which the router takes when it wants to make a decision on the best
way for it to get a packet to its destination successfully.

13. RIPv1,RIPv2, EIGRP, OSPF,BGP

SECTION III: INTERFACING: 15Marks


1. INTERFACES (5Mrks)
1.1. Define: (2Mrks
SPI A serial peripheral interface (SPI) bus is a module for serial communication
which uses three or four conductors. One conductor is used to receive data, one to
send data, one for synchronization and one alternatively for selecting a device to
communicate with.
RS232. is a standard for serial communication transmission of data

1.2. Design a circuit diagram to interface a microprocessor or microcontroller provided


the logic used is TTL, and components available are resistors, transistors, and relays.
(3Mrks)

2. ARDUINO PROGRAMMING (10Marks)