NATIONAL OPEN UNIVERSITY OF NIGERIA
14/16 AHMADU BELLO WAY, VICTORIA ISLAND, LAGOS
SCHOOL OF SCIENCE AND TECHNOLOGY
MARCH/APRIL 2014 EXAMINATION
COURSE CODE: CIT 834
COURSE TITLE: OBJECT-ORIENTED PROGRAMMING USING C#
TIME ALLOWED: 3HOURS
INSTRUCTION: ANSWER ANY FIVE (5) QUESTIONS
QUESTIONS
1a. Within the context of programming using C#, what solution would you proffer, in the event that a web service from Microsoft .NET client sample does not connect through a proxy server? (4 marks)
1b. Outline the basic steps required to build a sample in C#. (10 marks)
[Total
= 14 marks]
2a. Give a brief definition of the following terms:
- Keyword ) 5 marks each
- Namespace
2b. What determines the type of setup Instruction used for C# Development?
(4 marks)
[Total
= 14 marks]
3a. Explain the concept of ‘private method’ within the context of object-oriented
programming using C#. (8 marks)
3b. State syntax for adding two integer variables to a Parallelogram class. (6 marks)
[Total
= 14 marks]
4. Study the figure below carefully and answer the questions that follow:
4a. Give any 2 reasons why this this application is considered suitable for learning object-
oriented programming using C# and utility programs? (4 marks)
4b. State the procedure involved in creating a new Console Application project.
(10 marks)
[Total = 14 marks]
5a.Write any five (5) distinctive features of Static constructors (10 marks)
5b. Give a brief description of method overloading (4 marks)
[Total
= 14 marks]
6. Enumerate the steps required to build a novel class to represent a triangle. The class
should be created in such a way that it will define the triangle’s height, base-length and
area.
[Total
= 14 marks]
7a. State any two characteristics of object-oriented programming. (8 marks)
7b. State the criterion for using the static property. (6 marks)
[Total
= 14 marks]
For the 2015 – till date past questions for this course CLICK HERE
Contact me for your TMA, GST302 Business plan writeup, Project Writeup and also get your Exam Summary for this course.