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 351
COURSE TITLE: C# Programming
TIME ALLOWED: 21/2hrs
INSTRUCTION: Answer any four (4) questions.
QUESTIONS
1a. Write a simple code to compile a file named Programming.cs on the hard drive
of a computer. (91/2 marks)
1b. State 2 applications of boxing and unboxing. (8 marks) [Total = 171/2 marks]
2a. Write down the appropriate comment for the following:
- XML documentation ) 3 marks each; 3×2=6
- Multiple line
2b. State 2 common forms of the command line utility. (111/2 marks)
[Total
= 171/2 marks]
3a. What is the main role of an Integrated Development Environment? (4 marks)
3b. Give the guiding principle for accomplishing the following:
- Grouping statements into one unit (4 marks)
- Designating an end statement (4 marks)
- Enhancing a source code legibility (51/2 marks)
[Total
= 171/2 marks]
4a. Describe how memory leaks are handled in C# programming? (51/2 marks)
4b. Give a brief description of any 2 template types accessible in Visual C# projects. (12 marks)
[Total = 171/2 marks]
5a. What is the main significance of VisualStudio.NET with respect to having an
Integrated Development Environment? (21/2 marks)
5b. List 3 regular programming tasks carried out in VisualStudio.NET. (15 marks)
[Total
= 171/2 marks]
6. Carefully study the diagram provided below and answer the subsequent questions:
6a. Identify and name the object within the source code. (3 marks)
6b. Write the command line for compiling this object. (121/2marks)
6c. Name any 2 operators in this source code. (2 marks)
[Total
= 171/2 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.