This document contains exam questions for a Diploma in Information Technology programming course. It asks students to define and discuss object oriented programming concepts, .NET framework features, variable declaration, constants, and code examples to demonstrate concepts like printing text and calculating area of a circle. Students are required to answer one compulsory question and any two other questions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
168 views
Dit 0303 Msa
This document contains exam questions for a Diploma in Information Technology programming course. It asks students to define and discuss object oriented programming concepts, .NET framework features, variable declaration, constants, and code examples to demonstrate concepts like printing text and calculating area of a circle. Students are required to answer one compulsory question and any two other questions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
W1-2-60-1-6
JOMO KENYATTA UNIVERSITY OF AGRICULTURE AND TECHNOLOGY
UNIVERSITY EXAMINATIONS 2016/2017 SECOND YEAR FIRST SEMESTER EXAMINATION FOR THE DIPLOMA IN INFORMATION TECHNOLOGY
DIT 0303: PROGRAMMING DESKTOP APPLICATIONS
DATE: APRIL 2017 TIME: 1.30 HOURS INSTRUCTIONS: ANSWER QUESTION ONE [COMPULSORY] AND ANY OTHER TWO QUESTIONS ========================================================== QUESTION ONE [30 MARKS COMPULSORY] (a) What is object oriented programming [3 marks] (b) Describe features of object oriented programming [6 marks] (c) Describe each of the following [4 marks] (i) MDI (Multiple Documents Interface) (ii) SDI ( Single decimal interface ) (iii) Tool box (iv) Properties window (d) Key elements of .NET are 3, discuss them [6 marks] (e) Write a set code that will accept admission number search the database for admission number and display student name, course code and department [6 marks] (f) Show variable declaration in VB .NET [3 marks] (g) Show how variables are initialized in VB .NET [3 marks]
QUESTION TWO [15 MARKS]
(a) Write a simple code to prove the words “Hello world” [5 marks] (b) 5 types of applications we can develop in .NET [5 marks] (c) What is .NET? [2 marks] (d) Name the key elements of .NET [3 marks]
QUESTION THREE [15 MARKS]
(a) Write a code when compiled and executed it produces the following results a-10, b=30, c=30 [6 marks] (b) What is a constant ? [2 marks] (c) What is an enumeration? [2 marks] (d) Write a code to demonstrate declaration and use of a constant value that accepts a radius of 7 and outputs the area as 153:933 Constant p: 3.14149 [5 marks]
QUESTION FOUR [15 MARKS]
(a) What has changed from Vb 6 to VB.NET? [6 marks] (b) Describe the following [4 marks] (i) menu bar (ii) form window (iii) program (iv) a project (c) Write a simple code 70 print the words “Hello world” [5 marks]
QUESTION FIVE [15 MARKS]
(a) Discuss the declaration statements and description of each in VB.NET [10 marks] (b) Describe 2 categories of statements [10 marks]