munotes®

B.Sc. (Computer Science) Sem 1 Introduction to Programming with Python Nov 2023 Question Paper - Mumbai University | munotes

Introduction To Programming With Python Question Paper, Nov 2023.pdf
SEM 1 · 42 KB · 4 Nov 2026

Loading PDF...

Questions asked in this paper

Solved paper All 24 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

SECTION I - Q1) Attempt any four: 20 Marks

  1. A) What is lambda function? Explain it with the help of an example.
    Read the model answer
  2. B) Differentiate between for loop and while loop in Python.
    Read the model answer
  3. C) What is break, continue, and pass in Python? Explain it with the help of an example.
    Read the model answer
  4. D) Write a python program to print sum of digit by creating function.
    Read the model answer
  5. E) Write a python program to print Fibonacci series till n. Take n as input from user.
    Read the model answer
  6. F) Write a python program to print factorial of a number.
    Read the model answer

SECTION II - Q2) Attempt any four: 20 Marks

  1. A) Write a brief comparison of Python with C and Java.
    Read the model answer
  2. B) What are the different features of python programming language.
    Read the model answer
  3. C) Explain the memory management in python.
    Read the model answer
  4. D) Write a python program to check whether a string is palindrome or not.
    Read the model answer
  5. E) Write program in Python to define and call functions for suitable problem.
    Read the model answer
  6. F) Write a python program to find LCM and HCF in python.
    Read the model answer

SECTION III - Q3) Attempt any four: 20 Marks

  1. A) Explain the different operators used in python.
    Read the model answer
  2. B) What is Arrays . Illustrate your answer with suitable example.
    Read the model answer
  3. C) Explain the different types of functions using examples.
    Read the model answer
  4. D) Write a program to implement dictionary in python for suitable problem. Demonstrate various operations on it.
    Read the model answer
  5. E) Write a python program to find whether a given number is odd or even.
    Read the model answer
  6. F) Write a Python program to demonstrate the precedence and associativity of operators.
    Read the model answer

SECTION IV - Q4) Attempt any five: 15 Marks

  1. A) What are the different input and output operations in python.
    Read the model answer
  2. B) What are the different Loop control statements used in python.
    Read the model answer
  3. C) Differentiate between list and arrays in python.
    Read the model answer
  4. D) Write a program to show how slicing works in tuples.
    Read the model answer
  5. E) Write a program to find whether a given number is prime or not.
    Read the model answer
  6. F) Write a program to find whether a given number is perfect or not.Take input from user.
    Read the model answer

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Done!
Done!