Mumbai University Solved Question Papers munotes.in
Mobile Application Development
BSc CS · Sem 4
Mar 2025 Examination
Previous Year Question Paper with Solution
munotes.in Mumbai
Mumbai University Solved Question Papers munotes.in
Mobile Application Development
BSc CS · Sem 4
Mar 2025 Examination
Previous Year Question Paper with Solution
munotes.in Mumbai
First published on munotes.in on 12 November 2026.
This edition revised 13 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 Mar 2025 examination.
The questions below are the paper as the University of Mumbai set it at the Mar 2025 examination, in the order it was set.
MarksPage
MarksPage
The questions in this volume are the questions asked at the Mar 2025 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 · 24 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.
Q1)
Attempt any four: · 20 Marks
Answer
For full marks, cover: what an operator is; the five arithmetic operators with an example of each; integer division and the sign of the remainder; the assignment operator and the five compound assignments; one program with its output.
An operator is a symbol that works on one or more values and gives a result. The values are called operands. In a + b, the operator is + and the operands are a and b. Kotlin has arithmetic, assignment, comparison, logical and range operators. This answer covers the first two.
| Operator | Meaning | Example (a = 17, b = 5) | Result |
|---|---|---|---|
+ | addition | a + b | 22 |
- | subtraction | a - b | 12 |
* | multiplication | a * b | 85 |
| Operator | Meaning | Example (a = 17, b = 5) | Result |
|---|---|---|---|
/ | division | a / b | 3 |
% | remainder (modulus) | a % b | 2 |
Two rules cause most of the mistakes:
17 / 5 is 3, not 3.4. Make one side a Double to keep the fraction: 17.0 / 5 is 3.4.-17 % 5 is -2, and 17 % -5 is 2.= is the assignment operator. It stores the value on its right in the variable on its left, as in var fee = 1000.
Kotlin's keyword list names five more, the "augmented assignment operators". Each one works on the variable and stores the result back in it.
| Operator | Same as | Starting from fee = 1000, in order | fee becomes |
|---|---|---|---|
+= | fee = fee + 200 | fee += 200 | 1200 |
-= | fee = fee - 100 | fee -= 100 | 1100 |
*= | fee = fee * 2 | fee *= 2 | 2200 |
/= | fee = fee / 4 | fee /= 4 | 550 |
%= | fee = fee % 100 | fee %= 100 | 50 |
Only a var can be changed this way, because a val keeps its first value. Kotlin's documentation adds a rule: "Assignments are NOT expressions in Kotlin." So an assignment cannot be used as a value, and val copy = (fee = 5) does not compile.
File: Operators.kt
fun main() { val a = 17 val b = 5 println("a + b = ${a + b}") println("a - b = ${a - b}") println("a * b = ${a * b}") println("a / b = ${a / b}") println("a % b = ${a % b}") println("17.0 / 5 = ${17.0 / 5}") println("-17 % 5 = ${-17 % 5}") println("17 % -5 = ${17 % -5}") var fee = 1000 fee += 200 println("after += 200: $fee") fee -= 100 println("after -= 100: $fee") fee *= 2 println("after *= 2: $fee") fee /= 4 println("after /= 4: $fee") fee %= 100 println("after %= 100: $fee")}Output:
a + b = 22a - b = 12a * b = 85a / b = 3a % b = 217.0 / 5 = 3.4-17 % 5 = -217 % -5 = 2after += 200: 1200after -= 100: 1100after *= 2: 2200after /= 4: 550after %= 100: 50
Conclusion. Arithmetic operators compute a new value from their operands. Assignment operators store a value in a variable, and the compound forms combine both steps. Watch integer division and the sign of %.
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 should we fix or add?
Found an error in this volume? Report it and we will check it against the paper.