0% found this document useful (0 votes)
480 views7 pages

Review Questions S5mce

This document contains 49 review questions for a computer networking and programming exam. The questions cover topics like network topologies, computer hardware, operating systems, databases, programming concepts in languages like C++, Java and Visual Basic.

Uploaded by

gostzenda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
480 views7 pages

Review Questions S5mce

This document contains 49 review questions for a computer networking and programming exam. The questions cover topics like network topologies, computer hardware, operating systems, databases, programming concepts in languages like C++, Java and Visual Basic.

Uploaded by

gostzenda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

IFAK

S5MCE
TERM 2
REVIEW QUESTIONS S5MCE

Q1. In a company there are 5 computers distributed into different offices and all
offices share one printer .The managements wants to build a computer network
that connects all the computers and printer
a. Identify a topology to use in this situation (2 marks)
b. Draw arrangement of computers using identified topology (4 marks)
c. Draw a full mesh network topology structure (4 marks)
Q2. Swapping means exchanging the values of one variable with another variable.
Write a program a C++ function that swaps two numbers and display the values of
those numbers before and after swapping.
Don’t use the temporary variable. (10 marks)
Q3. a. Define the term Database (2 marks)
b. Explain different areas where database applied (8 marks)
Q4. a.What is a Database administrator? (2marks)
b. Differentiate file-based system and DBMS (4marks)
c. Give four popular softwares designed to manage a Database (4marks)
Q5. Write a c++ program that will prompt a user to insert 2 numbers and
generate a simple calculator using switch case (10marks)
Q6. Explain the following network topologies:
 Bus topology (3 marks)
 Ring topology (3 marks)
 Star topology (3 marks)
 Mesh topology (3 marks)
 Extended topology (3 marks)
Q7. Using for loop write a c++ program to print the sum of 10 first odd numbers
(15 marks)
Q8. Give 3 examples of an audio port that connects audio devices to the computer
(3marks)
Q9. List four main components of computer system (4 marks)
Q10. Write an algorithm that will prompt a user to calculate your age (5 marks)
Q11. What is a loop? (2 marks)
Q12. Using illustrations, explain at least four standard symbols used in flowchart
design. (4 marks)
Q13. To exchange files, a track of music from one device to another. What do you
use? (4 marks)
Q14. Is Laptop hardware maintenance difficult comparing to desktop computer
maintenance? Explain your answer. (4marks)
Q15. (a) What is protocol? (2 marks)
(b) Give any five main functions of the protocols (5 marks)
Q16. What is the difference between CUI and GUI? (4marks)
Q17.a. what is meant by Operating system (2marks)
b. Give at least 2 examples of operating system (2marks)
c. Explain the functions of operating system (6marks)
Q18. a. Define the term “debugging “ (2marks)
b. Examine 3 types of errors in computer programming (6marks)
Q19. Define computer network. (2marks)
Q20. a) which of the following cables can be used to have the connection?
(2marks)
i. VGA (Video Graphic Array) cable;
ii. Network cable;
iii. AC Power cable.
b) Describe the role of the remaining cables. (4marks)

Q21. Discuss common uses of laptop computer in schools and society in general.
(5marks)
Q22. Draw a flowchart that allow the user to input a password. This password is
composed with one existing word(ab55tr). If the two words match, then print”
PASS “on the screen. If the words do not match “NO ACCESS “is shown.
(6marks)
Q23. Categorize following devices according to their transmission mode. (5marks)
a) TV
b) Radio
c) Walkie-Talkie
d) Phone
e) Computer
Q24. Compare Database Management System and traditional File processing
system (8 marks)
̅̅̅̅̅̅
Q25. Design a logic circuit and truth table for the following expression 𝑨𝑩𝑪 + 𝑨𝑩𝑪
(8mrks)
Q26. What are the four functions of operating system? (4marks)
Q27. Discuss the steps involved in building a visual basic application. (6marks)
Q28. Four secondary schools in RUHANGO District are displaying the number of
students per year that they registered in 2015, 2016, 2017 and 2018.(6marks)
a. How many rows and columns will be in the table that contains the
displayed data?
b. Declare an array called population to contain the needed data.
Initialize the array population with numbers of your choice.
Q29. Consider a database used to record information about the marks that
students get in the different exams of different subject studying in Math-Computer
Science-Economics combination. STUDENT entity is described by StudentId,
StudentName and School; SUBJECT_STUDYING is identified by SSId, SSName,
SSClass and SSRoom and EXAM entity is described by EId, EName, ETime and
ERoom. Construct an E-R diagram that models STUDENT, SUBJECT_STUDYING
and EXAM as entities that uses ternary relationship. (3 marks)

Q30. Discuss on operations that are applied on stack (3 marks)

Q31. The commonly measured qualities in the network performance are……and


…… (3 marks)

Q32. Talk about the following types of network (4 marks)

a. PAN

b. LAN

c. MAN

d. WAN

Q33.With example, make a clear difference between simplex, half-duplex and full-
duplex(3 marks)

Q34. find the truth table for the following gates (3 marks)

a. AND gate

b. XOR gate

c. NOR gate

Q35. convert the following numbers (3 marks)


a. 10001102 to decimal number

b. 235114 to binary number

c. 4FCCB16 to octal number

Q36.show by example how comments are used in C++ (2 marks)

Q37.Define the following database terms: (6 marks)


a) Data redundancy
b) Data integrity
c) data inconsistency
d) Data dependence:
Q38. Answer the following.

a) What is structure in c++ programming. (2 marks)


b) How to declare a structure in c ++. (2 marks)

Q39. A. The following table describes information about employees, study it and
answer the following questions.

a) Define a table and identify all the components of employee table. (2 marks)
b) What is the possible domain for field EmpId? (1mark)
c) How many records are shown? (1 mark)
d) How many attributes are shown? (1 mark)
e) Explain the datatype for each field. (1 mark)

B. (4 mrks)
A School needs to store information about Teacher (identified by TeacherId,
FirstName, Surname, Salary, Qualification, Address, Contact); Combination
(identified by CombinationId, CombinationName), Student (identified by
StudentId, FirstName, Surname, Address, Schoolfees, ContactNumber) and
Subject (identified by subjectId, SubjectTitle).
Discribe the logical relationships between objects
i. Teacher-Student,
ii. Teacher-Combination,
iii. Student-Combination
iv. and Teacher-Subject.
Q40. list and explain the main concepts of object-oriented programming. (10
marks)

Q41. Write a program that calculate the Roots of a Quadratic Equation


ax2 +bx +c in C++ using pointers. (10 MARKS).

Q42. Consider a database used to record information about the marks that
students get in the different exams of different subject studying in Math-Computer
Science-Economics combination.
STUDENTentity is described by StudentId, StudentName and School;
SUBJECT_STUDYINGis identified by SSId, SSName, SSClass and SSRoom
and
EXAM entity is described by EId, EName, ETime and ERoom.
Construct an E-R diagram that models STUDENT, SUBJECT_STUDYING
and EXAM as entities that uses ternary relationship. (10 MARKS)

Q43. a) What are the advantages of Object-Oriented Programming over other


programming styles? (5 marks)
b) Create a class called person and object called obj which has 2 public
functions and the 3 private data members: getdata() and putdata(). The getdata()
prompts the user to enter his or her first name , last name and age, the putdata()
displays on the screen the user first name last, name and age. (10 marks)

Q44. a) What is normalization? (2 marks)


b) List down database anomaly. (3 marks)
c) What is the cardinality and existence of each of the following relationships in
just the direction given? State any assumptions you have to make. (4 marks)
a. Husband to wife
b. Car and steering wheel
c. Student to degree
d. Child to parent.
d) What are the rules for 1NF? What violates the First Normal Form for a
database table? .
Convert the following table in 1NF. (6marks)
Q45. Your school has acquired 60 computers from the Rwanda Education Board
(REB) and wishes to distribute them as follows:
 Administration: 3 computers
 Staff room: 7 computers
 Computer lab for students in Ordinary level: 30 computers
 Computer lab for students in Advanced level: 20 computers

a. List and describe specifications of all materials needed to setup 2 wireless


LANs within the school. (4marks)
b. Is it possible to secure those wireless networks? (1mark)
c. Indicate the type of wireless security to be used. (3marks)
d) How does the message switching differ from circuit switching? (2marks)

Q46. Write the java program to swap two numbers entered from keyboard.
(10marks)

Q47. What is the difference between class and structure in C++? Give a syntax for
each (4marks)
Q48. List and explain 5 basic concepts of Object Oriented Programming in
C++(5marks)

Q49. Consider a=77 and b=23 of type unsigned int. Complete the following table
by considering 8 bits. (5marks)
EXPRESSION BINARY DECIMAL VALUE
a 01001101 77

b 00010111 23

a&b

A|b

a^b

a<<2

b>>1

Q50. What is the output of the following program? (3marks)


#include <iostream>
using namespace std;
int main()
{
int rows=5;
for(int i = 1; i <= rows; ++i)
{
for(int j = 1; j <= i; ++j)
{
cout << j << " ";
}
cout << "\n";
}
return 0;
}

N.B: For the test revision, you will consider questions of S5 Only.
For the Exam revision, consider all questions!!

GOOD LUCK!!

You might also like