Get premium membership and access revision papers, questions with answers as well as video lessons.
Got a question or eager to learn? Discover limitless learning on WhatsApp now - Start Now!

Bbit 1102: Unit Title: Basic Electricity And Optics Question Paper

Bbit 1102: Unit Title: Basic Electricity And Optics 

Course:Bachelor Of Business Information Technology

Institution: Mount Kenya University question papers

Exam Year:2011



UNIVERSITY EXAMINATION 2010/2011
SCHOOL OF PURE AND APPLIED SCIENCES
DEPARTMENT OF INFORMATION TECHNOLOGY

EXAMINATION FOR BACHELOR OF BUSINESS INFORMATION TECHNOLOGY
UNITCODE: BBIT 1102: UNIT TITLE: BASIC ELECTRICITY AND OPTICS
DATE: APRIL 2011 MAIN EXAM 2 HOURS
Instructions:
1. This paper has two parts: Section ‘A’ and Section ‘B’.
2. Section ‘A’ has ONE question which is COMPULSORY and carries 30 marks.
3. Section ‘B’ has FOUR questions of which you are required to attempt ANY TWO.
4. The TWO questions in Section ‘B’ carry a total of 40 marks.
SECTION A :( 30 MARKS)
1. a. Differentiate between dynamic binding and static linking as they are used in
polymorphism. (4mks)
b. What is operators overloading? And list the operators that cannot be overloaded
(2mks)
c. What is procedural oriented programming? What are it main characteristics.(4mks)
d. What are the unique advantages to an object oriented programming paradigm?
(4mks)
e. Describe the major parts of a C ++ program (3mks)
f. Write a C++ program to read two numbers from the keyboard and display the
larger value on the screen. (4mks)
g. Write a C++ program to initialize a set of character array and to display the
content of the array (6mks)
h. Enumerate the rules of naming variables in C++ (3mks)

SECTION B: (40MARKS)
2. a. How does object oriented approach differ from object based approach (2mks)
b. Write a program that will print the following output
1
22
333
4444
55555
............ (6mks)


c. What are manipulators? Explain two type of manipulators that are used in C++
program (2mks)
d. Why do we need the pre-processor directive #include (2mks)
e. Explain the concepts of data abstraction and encapsulation. (4mks)
f.What are the three basic steps in the process of programming that sets of objects
must do in order to communicate to another object (4mks)
3. a. Explain the control structures that are used in C++, giving an example in each.
(8mks)
b. Explain the syntax rules functions for opening a file and closing a file (2mks)
c. List five characteristics of constructors (5mks)
e. Write a C++ program to demonstrate multiple inheritance. (5mks)
4. a. Answer the following questions in reference to Object oriented programming
(i) What is an array? (1mk)
(ii) And what is meant by array initialization and what type of classes are
used for array initialization (3mks)
b. Explain the following syntactic rules
(i) Public inheritance
(ii) Protected inheritance
(iii) Private inheritance






More Question Papers


Popular Exams



Return to Question Papers