We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
Lt atne AisteY OF HOKE ATG
MONDSTERE DE L'ENSPIGNE gp yr St PERIEER SSION FOR THE ORGAN
oF THEEN as i
C1 v
wacom
SOAAISSION NATION ALE DQRGANISS HON wart
DES EXAMENS
nd
2 SESSION
inn wats
XAM OF NIC
ATION
Spesialn Option: Sofware Engincering
spur Procite bf Computes Crest Vatoe: 08
Daration: $ hours
3 #30 marks
SECTION A: ALGORITHM AND PROGRAMMING ja
sand to draw the following diag
cacher sends a student to the board 10 ig diagram,
sum = sum + count
counts count# 1
depen
“OF Lastall the vaniahtes used and their corresponding 2" types (4 marks)
' Page 1 of 3(4 marks)
. Which loop can we used to convert this flowchart to code? Justify your choice
Q2.
Q3. List two software's which can be used to write down the corresponding C++ code of this flowchart
(2 marks)
Using the software install in your computer, write down the corresponding C++ program (20 marks)
(marks)
QS. Explain what the program is doing
Q6. Modify the program in such a way that he prints the sums from the highest to the lowest (15 marks)
ISTRATION (MYSQL) 20 marks
AND ADMI
LOPMEN
CTION B: DATABASE DEV
To design an information system of a bank we have the following diagram:
(marks)
J of this figure S mark
[ Marks)
a database eviled BANK and ereate all the tables, '
and
toe ie with afl his EoMPonents
What is this representing? Deset
¢ the equivalent relational"
opproprine percare teerontosy ny aLageame
“0 "6440 Lormation system of a bank we Rave 1H peu
Depositor
Borrower
1= What is this representing? Describe it with all his components (4 marks)
2+ Give the equivalent relational mode! of this figure (5 marks)
2+" Using appropfinte sorware to'ereate a database entitled BANK and ereate all the tables and
populate each with 3 data's (8 marks)
4- Write a query to select all customer having 3 accounts and which have borrow S00000 ECFA in
your database and you screenshot itand save withthe name HNDSWE2022 in a folder HND2022
: G marks)
SECTION C: WEB DESIGN AIS marks
Page 2 of 3An Armstrong number gf gyce digits is an integer sug, ghat the sum of the cUb=S Fits digits is equal to
the number itself. For eyqmples 371 8 2 Armstrong number since 3°3%3 + 7°7°7 *H1"1 = 371,
+1, Write a PHP funcyon to check if given number entered by the user have 3 digits (3 marks)
2. Write the funetion fo check ia given number of 3 digits entered by the USF iS an Armstrong
number or not, (5 marks)
3.-Write weomplete HTML page with an input text and a button using the question; where the user
will input a value (n) in the text area and press the submit button to geterate the (n) first
Armstrong numbers. Note that the page should have the message “LIST OF PERFECT
NUMBERS" 8s heading 1 before the input text.
SECTION D: NETWORKING
You have gotten a job 25 & networking expert to network a newly created company having 08 computers.
(7 marks)
N15 marks
~ QI. Which additional hardware do we need? Briefly describe each (3 marks)
Q2. Setup peer to peer Network between the 08 computers and assign static IP address on each computer
(S marks)
Q3. Explain what is a static IP address? ee (2 marks)
QA, Alter two FRGrS Le Comp erainetwnlantshs computersonulwauicd to conrcct to the existing
network through wireless (5 marks)
1- Which hardware can we used? Briefly deseribe it?
2+ Connect the laptops to the networks
Page 3 of 3