munotes®

BSc IT Sem II ATKT 2018-19 - ATKT Object Oriented Question Paper with Solutions

MU B.Sc. (Information Technology) student group Free to join

Mumbai University Solved Question Papers munotes.in

ATKT

BSc IT · Sem II

2018-19 - ATKT Object Oriented Examination

Previous Year Question Paper with Solution

munotes.in Mumbai

munotes.in

First published on munotes.in on 12 November 2026.

Published by munotes.in, Mumbai.

Model answers written and edited by the munotes.in editorial desk.

Passages from this volume may be quoted, in print, online or by an AI system, with credit: name munotes.in and link to this volume's page. The volume may not be reproduced as a whole. Full terms at munotes.in/content-license.

munotes.in is an independent study resource for students of the University of Mumbai. It is not affiliated with the University of Mumbai, and is not endorsed by it.

The University does not publish an official answer key for this paper. The answers in this volume are model answers, written to show how a full-mark answer is built. They are a study aid, not an authority on what an examiner marked.

The question paper reproduced here is the paper as set by the University of Mumbai at the 2018-19 - ATKT Object Oriented examination.

munotes.in ii
munotes.in iii
munotes.in iv
munotes.in v

The Paper as Set

The questions in this volume are the questions asked at the 2018-19 - ATKT Object Oriented examination, reproduced as the University of Mumbai set them, in the order it set them. Nothing has been reworded, added or left out. Only the answers are ours. See the original question paper.

Duration 2½ hours  ·  Total marks 75  ·  30 questions answered

How to use this volume

Solve the paper first, under exam conditions and against the clock. Then read the answers here and mark your own. Reading a solution before attempting the question feels productive and teaches very little, because recognising an answer is not the same as being able to write one.

munotes.in vi

SECTION I

Q.1

Attempt any three of the following · 15 Marks

munotes.in 1

a.Discuss procedure oriented programming paradigm. Also discuss its characteristics.[5]

Answer

For full marks, cover: what the procedure oriented paradigm is, a diagram of functions sharing global data, its characteristics, a short program in that style, its drawbacks, and a conclusion.

Meaning

In the procedure oriented programming (POP) paradigm, a program is a list of instructions, grouped into functions (procedures). The programmer thinks first about the steps needed to solve the problem. Data is kept separately, often in global variables, and the functions work on it.

C, Pascal, FORTRAN and COBOL are procedure oriented languages.

The structure

main()

/ | \

function1 function2 function3

\ | /

munotes.in 2

global data (open to every function)

The work is divided top-down: main() calls functions, which may call smaller functions. All of them read and change the same global data.

Characteristics

  1. The emphasis is on doing things: the algorithm, step by step.
  2. A large program is divided into smaller programs called functions.
  3. Most functions share global data.
  4. Data moves openly from function to function.
  5. Functions transform data from one form to another.
  6. Program design follows the top-down approach.

A program in this style

#include <iostream>

using namespace std;

int marks[3] = {72, 85, 64}; // global data, open to every function

int total()

{

munotes.in 3

int t = 0;

for (int i = 0; i < 3; i++)

t += marks[i];

return t;

}

double average()

{

return total() / 3.0;

}

int main()

{

cout << "Total: " << total() << endl;

cout << "Average: " << average() << endl;

return 0;

}

Output

Total: 221

Average: 73.6667

munotes.in 4

Here 72 + 85 + 64 = 221, and 221 / 3.0 is 73.6667 at cout's default six significant digits. Any function could change marks, because it is global.

Drawbacks

  1. Global data has no protection: one faulty function can spoil it for all.
  2. Data and the functions that use it are kept apart, so real things are hard to model.
  3. A change in a data structure forces changes in every function that uses it.
  4. New data types cannot be used with operators such as + in a natural way.

Conclusion. Procedure oriented programming divides a program into functions and puts the emphasis on algorithms. Its characteristics are top-down design and global data shared openly by functions, which makes large programs hard to protect and change.

munotes.in 5

The rest of the answers

The first answer is free. The rest come with the B.Sc. (Information Technology) Semester 2 solved papers.

You have read the question paper and its first answer in full. Buy the solved papers once and you can read every answer of every solved paper in this semester.

Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in

Or solved papers only: ₹499
Or notes + practical solutions: ₹499

The question paper itself stays free, and so does the syllabus.

Issue

Found an error in this volume? Report it and we will check it against the paper.

Done!