Get premium membership and access revision papers, questions with answers as well as video lessons.

Bit2204:Introduction To Computer Programming And Algorithms Question Paper

Bit2204:Introduction To Computer Programming And Algorithms 

Course:Bachelor Of Information Technology

Institution: Meru University Of Science And Technology question papers

Exam Year:2014




(a) Explain the following Visual Basic data types (i) Numeric (4 Marks) (ii) String (2 Marks) (iii) Date (2 Marks) (iv) Variant (2 Marks) (v) Boolean (2 Marks) (b) Explain briefly each of the following approaches in structured programming: (i) Decision Tables (6 Marks) (ii) Decision Trees (6 Marks) (iii) Pseudo code (6 Marks)
SECTION B (Attempt any TWO Question from this Section)
QUESTION TWO – (20 MARKS)
(a) Explain the four main categories of control structures in structured programming. (8 Marks) (b) (i) Explain what a variable is (2 Marks) (ii) Discuss the explicit an implicit declarations of variables in Visual Basic. (10 Marks)
QUESTION THREE – (20 MARKS)
(a) Explain what is meant by programming in small (2 Marks) (b) Discuss the importance of joining programming groups on the Internet. (8 Marks) (c) Draw a flowchart that can be used to solve a Quadratic Equation. (10 Marks)
QUESTION FOUR – (20 MARKS)
Explain the following control structures, giving and example in each case.
(a) If… Then selection structure (4 Marks) (b) If… Then…Else selection structure (4 Marks) (c) Nested If… Then… Else structure (4 Marks) (d) Select…Case selection structure (4 Marks) (e) Do While… Loop Statement (4 Marks)
QUESTION FIVE – (20 MARKS)
(a) (i) Visual Basic programs can be broken into smaller logical components called Procedures. Explain two benefits of using procedures in programming. (4 Marks) (ii) A procedure can be Sub, Function or Property Procedure. Explain the terms Sub Procedure, Function Procedure and Property Procedure. (6 Marks) (b) (i) Explain what an algorithm is in computer systems. (2 Marks) (ii) Outline five properties of an algorithm (5 Marks) (c) Explain three ways of expressing algorithms (3 Marks)






More Question Papers


Popular Exams



Return to Question Papers