For More Quiz Questions click here to download Global Quiz on Google PlayStore

NATIONAL OPEN UNIVERSITY OF NIGERIA

UNIVERSITY VILLAGE, PLOT 91, CASDASTRAL ZONE, NNAMDI AZIKIWE EXPRESS WAY, JABI, ABUJA.
FACULTY OF SCIENCES
OCTOBER/NOVEMBER 2014 EXAMINATION

COURSE CODE:                                                         CIT341                                                          

COURSE TITLE:                                                        Data Structures

DURATION:                                                               3 Hours

INSTRUCTIONS:                                                       Answer any Four (4) Questions

 

1a.       State the for properties of Array List                                                                                 [8 marks]

1b.       Write a Java if_else Statement code snippet to determine the class of a student grade using the student score. Given that:                                 [9.5 marks]

Score between 1 and 39 =F

Score between 40 and 44 =E

Score between 45 and 49 =D

Score between 50 and 59 =C

Score between 60 and 69 =B

Score between 70 and 100 =A

 

2a.       Define the following:                                                                                                         [3.5 marks]

i.          A class

ii.         An interface

iii.        A package

2b.       Enumerate and explain any four common ways of performing Memory allocation     [12marks]

 

3a.       Write short note on Algorithm                                                                                         [5.5 marks]

3b.       Copy and complete the Table below by sequentially executing the stack operations[12 marks]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Initialise (A)

Push (X,A)

Pop (A)

Push (Y,A)

Push (L,A)

Push (A,A)

Pop (A,A)

Push (X,A)

 

                                                                                                                                        

 

4a.       Enumerate and explain two classifications of Arrays                                                    [5.5 marks]

4b.       Define the following Queue operation(s)                                                                          [12 marks]

i.          Initialise(Q)

ii.         Add(X,Q)

iii.       IsEmpty

iv.        IsFull

v.         Initialise

vi.        Destroy

 

5a.       Explain Stack with a simple physical representation                                                     [6.5 marks]

5b.       State and explain two classes of Data Structures with example                                    [11marks]

 

6a.       Write short note on Array                                                                                                [5.5 marks]

6b.       Copy and complete the following table by generating the contents of queue after

operation for the given actions                                                                                          [12 marks]

 

 

Action

Contents of queue after operation

1

Initialise (Q)

 

2

Add (A,Q)

 

3

Add (B,Q)

 

4

Add (C,Q)

 

5

Remove (Q)

 

6

Add (F,Q)

 

7

Remove (Q)

 

8

Remove (Q)

 

9

Remove (Q)

 

10

Add (X,Q)

 

11

Add (Y,Q)

 

12

Remove (Q)

 

 


For More Quiz Questions click here to download Global Quiz on Google PlayStore


Select NOUN Past Questions & Answers by Faculties

Sciences

National Open University of Nigeria (NOUN) Faculty of Sciences Past Questions and Answers.

Education

National Open University of Nigeria (NOUN) Faculty of Education Past Questions and Answers.

Arts & Social Sciences

National Open University of Nigeria (NOUN) Faculty of Arts and Social Sciences Past Questions and Answers.

Law

National Open University of Nigeria (NOUN) Faculty of Law Past Questions and Answers.

Management Sciences

National Open University of Nigeria (NOUN) Faculty of Management Sciences Past Questions and Answers.

Health Sciences

National Open University of Nigeria (NOUN) Faculty of Health Sciences Past Questions and Answers.

Agriculture Sciences

National Open University of Nigeria (NOUN) Faculty of Agricultural Sciences Past Questions and Answers.

Select Project Topics & Materials by Categories

Accounting

Universities, Polytechnic's and Colleges of Education Accounting Project Topics and Materials.

Biology

Universities, Polytechnic's and Colleges of Education Biology Project Topics and Materials.

Business Education

Universities, Polytechnic's and Colleges of Education Business Education Project Topics and Materials.

Chemistry

Universities, Polytechnic's and Colleges of Education Chemistry Project Topics and Materials.

Computer Science

Universities, Polytechnic's and Colleges of Education Computer Science Project Topics and Materials.

Criminology & Security

Universities, Polytechnic's and Colleges of Education Criminology & Security Project Topics and Materials.

Economics

Universities, Polytechnic's and Colleges of Education Economics Project Topics and Materials.

Education

Universities, Polytechnic's and Colleges of Education Education Project Topics and Materials.

English/Linguistic

Universities, Polytechnic's and Colleges of Education English/Linguistic Project Topics and Materials.

Entrepreneurship

Universities, Polytechnic's and Colleges of Education Entrepreneurship Project Topics and Materials.

Environmental Science

Universities, Polytechnic's and Colleges of Education Environmental Science Project Topics and Materials.

Law

Universities, Polytechnic's and Colleges of Education Law Project Topics and Materials.

Marketing

Universities, Polytechnic's and Colleges of Education Marketing Project Topics and Materials.

Physics

Universities, Polytechnic's and Colleges of Education Physics Project Topics and Materials.

Political Science

Universities, Polytechnic's and Colleges of Education Political Science Project Topics and Materials.

Public Administration

Universities, Polytechnic's and Colleges of Education Public Administration Project Topics and Materials.

How to login to NOUN Elearn Portal

You can now use you matric number to login as your username and  password in a lowercase.

https://elearn.nouedu2.net/login/

Note that you are to change your passw...

Facebook posts