ExamsSCHOOL OF SCIENCE AND TECHNOLOGY

National Open University Exam Past Question – CIT392 JUNE/JULY EXAMINATION

NATIONAL OPEN UNIVERSITY OF NIGERIA CIT392 Computer Laboratory II

14/16 AHMADU BELLO WAY, VICTORIA ISLAND, LAGOS SCHOOL OF SCIENCE AND TECHNOLOGY JUNE/JULY EXAMINATION

 

COURSE CODE: CIT392

COURSE TITLE: Computer Laboratory II TIME ALLOWED: 2 hrs

INSTRUCTION: Attempt any four (4) questions

 

 

Question 1

 

 

Question 2

  1. a. With respect to the Java programming language and with the aid of examples, write short notes the following terms:
  2. Classes (3 marks)
  3. Methods (3 marks)

iii.   The this keyword (2.5 marks)

  1. b. The Central Bank of Togo has issued bank notes in denominations of 100, 50 and 1

Togolese Dollars. Write a Java program that accepts any integer amount supplied by a user and calculates the smallest number of bank notes required to issue that amount of money to the user. [Hint: For example, to issue 100 Togolese dollars, we need only 1 bank note] . (9 marks)

 

 

  1. a. We want to determine the largest and the smallest number in a list of values. All values are integers.

Write a C++ program that accepts the number of values from a user and then accepts the values themselves and then outputs which is the largest and which is the smallest. (13 marks).

 

  1. With respect to C++ arrays, define the following terms:
  2. Array (1 mark)
  3. Index (1 mark)
YOU MAY ALSO LIKE  National Open University Exam Past Question – SED 811 OCTOBER/NOVEMBER 2014 EXAMINATION

iii. Dimension (1 mark)

  1. c. With the aid of an example, explain briefly C++ pointers (1.5 marks).

Question 3

  1. a. Contrast between;
  2. I) Structured Programmi
  3. II) Object-Oriented Programmi b.   List any four Windows XP commands.

Question 4

  1. There are 5 independent libraries for input/output operations in ADA; enumerate them.
  2. b. Write short notes on any

 

Question 5

  1. List any six Windows XP commands.
  2. b. Write short notes on any fo

Question 6

  1. Enumerate three Non-numeric Data Type in C++
  2. b. Write  short notes on the three (11 ½   marks)

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close