munotes®

BSc CS Sem 4 Mobile Application Development Mar 2025 Question Paper with Solutions

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

munotes.in

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.

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

The Paper as Set

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.

munotes.in v

SECTION I

Q1)

Attempt any four: · 20 Marks

munotes.in 1

A)Explain the different Kotlin operators:-Arithmetic, Assignment[5]

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.

What an operator is

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.

Arithmetic operators

OperatorMeaningExample (a = 17, b = 5)Result
+additiona + b22
-subtractiona - b12
*multiplicationa * b85
munotes.in 2
OperatorMeaningExample (a = 17, b = 5)Result
/divisiona / b3
%remainder (modulus)a % b2

Two rules cause most of the mistakes:

  • Integer division drops the fraction. Kotlin's documentation says: "Division between integer values always returns an integer result." So 17 / 5 is 3, not 3.4. Make one side a Double to keep the fraction: 17.0 / 5 is 3.4.
  • The remainder takes the sign of the left number. So -17 % 5 is -2, and 17 % -5 is 2.

Assignment operators

= 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.

munotes.in 3
OperatorSame asStarting from fee = 1000, in orderfee becomes
+=fee = fee + 200fee += 2001200
-=fee = fee - 100fee -= 1001100
*=fee = fee * 2fee *= 22200
/=fee = fee / 4fee /= 4550
%=fee = fee % 100fee %= 10050

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.

Program

File: Operators.kt

  1. fun main() {
  2. val a = 17
  3. val b = 5
  4. println("a + b = ${a + b}")
  5. println("a - b = ${a - b}")
munotes.in 4
  1. println("a * b = ${a * b}")
  2. println("a / b = ${a / b}")
  3. println("a % b = ${a % b}")
  4. println("17.0 / 5 = ${17.0 / 5}")
  5. println("-17 % 5 = ${-17 % 5}")
  6. println("17 % -5 = ${17 % -5}")
  7. var fee = 1000
  8. fee += 200
  9. println("after += 200: $fee")
  10. fee -= 100
  11. println("after -= 100: $fee")
  12. fee *= 2
  13. println("after *= 2: $fee")
  14. fee /= 4
  15. println("after /= 4: $fee")
  16. fee %= 100
  17. println("after %= 100: $fee")
  18. }

Output:

munotes.in 5

a + b = 22
a - b = 12
a * b = 85
a / b = 3
a % b = 2
17.0 / 5 = 3.4
-17 % 5 = -2
17 % -5 = 2
after += 200: 1200
after -= 100: 1100
after *= 2: 2200
after /= 4: 550
after %= 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 %.

munotes.in 6

The rest of the answers

The first answer is free. The rest come with the B.Sc. (Computer Science) Semester 4 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!