Mumbai University Solved Question Papers munotes.in
2018 2019
BSc IT · Sem II
2019 - OBJECT ORIENTED PROGRAMMING Examination
Previous Year Question Paper with Solution
munotes.in Mumbai
Mumbai University Solved Question Papers munotes.in
2018 2019
BSc IT · Sem II
2019 - OBJECT ORIENTED PROGRAMMING Examination
Previous Year Question Paper with Solution
munotes.in Mumbai
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 2019 - OBJECT ORIENTED PROGRAMMING examination.
The questions below are the paper as the University of Mumbai set it at the 2019 - OBJECT ORIENTED PROGRAMMING examination, in the order it was set.
MarksPage
MarksPage
MarksPage
The questions in this volume are the questions asked at the 2019 - OBJECT ORIENTED PROGRAMMING 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.
Q.1
Attempt any three of the following · 15 Marks
Answer
For full marks, cover: what procedure oriented programming is, how such a program is organised, a short program written that way, its characteristics, its weaknesses, the languages that follow it, and a conclusion.
Procedure oriented programming (POP) sees a program as a sequence of tasks. Each task is written as a function, also called a procedure or subroutine. The programmer thinks first about the steps to follow, the algorithm, and only then about the data those steps use.
The problem is split top-down. The whole job is broken into a few large tasks, and each large task is broken into smaller functions. main() calls them in order, and they share data kept outside every function.
main()
/ | \
addItem() addItem() printBill()
\ | /
global data: items, total
A college canteen bill, written the procedure oriented way:
#include <stdio.h>
int items = 0;
double total = 0;
void addItem(double price)
{
items = items + 1;
total = total + price;
}
void printBill(void)
{
printf("Items: %d\n", items);
printf("Total: Rs %.2f\n", total);
}
int main(void)
{
addItem(40);
addItem(25.5);
addItem(60);
printBill();
return 0;
}
Output
Items: 3
Total: Rs 125.50
The total is 40 + 25.5 + 60 = 125.5. Both items and total are global. Any function in the file could change them, not only addItem().
total to a wrong value, and the fault is hard to trace.C, Pascal, FORTRAN and COBOL are the usual procedure oriented languages.
Conclusion. Procedure oriented programming divides a program into functions, designed top-down, that work on largely global data. It is simple for small tasks. Its open data and its split between data and functions make large programs hard to protect and change.
The rest of the answers
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.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Found an error in this volume? Report it and we will check it against the paper.