Professional Documents
Culture Documents
Paix-Travail-Patrie Peace-Work-Fatherland
MINISTERE MINISTRY
DE l’ENSEIGNMENT SUPERIEUR OF HIGHER EDUCATION
DURATION 5HOURS
SETTING 1
Instructions: Answer all questions. You are authorized to use only non-programmable
calculator.
1|4
b. Write a c program to implement such an algorithm for an array of
arr[10] = { 10, 9, 7, 101, 23, 44, 12, 78, 34, 23}
2|4
Question 1
List all the items sorted alphabetically. Then list only the first 3. Then the last 3.
Question 2
list only the items that are more than $1 per unit price
Question 3
list all the items with their extended price (quantity * price)
Question 4
list the total cost of all the items in the store
Question 5
how many different items do we have in the store?
SECTION D:
NETWORKING (15 MARKS)
Consider the network below.
Using cisco packet tracer,
configure all ip interfaces as shown on the diagram below and configure any routing protocol of
your choice to make both networks can connect to each other.
3|4
4|4