munotes®

BSc CS Sem 1 BSc CS Semester 1 (2019 2020) Nov 2020 PYTHON I Question Paper - Mumbai University | munotes

BSc CS Semester 1 (2019 2020) Question Paper, Nov.pdf
SEM 1 · BSc CS Semester 1 (2019-2020) · 397 KB · 1 May 2025

Loading PDF...

Questions asked in this paper

  • 2) Figures to the right indicate marks
  1. Q3 Illustrations, in-depth answers and diagrams will be appreciated
  2. Q4 Mixing of sub-questions is not allowed
  3. Q1 Attempt All (Each of 5 marks)
    • a. Multiple Choice Questions
  4. Q1 operators Which of the following function converts a string to all uppercase?
  5. Q3 Python is language
    • a. b. interpreted d. procedure 4, What is the output of max[100,96,46,33]?
  6. Q5 What is “Hello )?
    • a. True b. None of these
    • b. Fillin the blanks
  7. Q1 What is the data type of below object ?
  8. Q2 // used for
  9. Q3 An instance of class is called an
  10. Q4 To use sqrt function we need to import module
  11. Q5 What is the output when following statement is executed ?
    • c. Write answers for the following in few lines Explain use of continue statement
  12. Q2 How to denote single line comment in python
  13. Q3 How to create dictionary using dict( ) function
  14. Q4 Write the use of del statement
  15. Q5 Write syntax to create a list
  16. Q2 Answer the following. (Attempt any three) 15 marks
    • a. Define variable. Explain different rules for defining a variable
    • b. Write a program to calculate area of square and rectangle .Take input from user
    • c. Explain various data types in python
    • d. Explain any five relational operators
    • e. Write a short note on Tuple
    • f. Explain isalnum( ),find( ), replace( ) with examples
  17. Q3 Answer the following.(Attempt any three)
    • a. Explain Break statement with example
    • b. Write a program to find even or odd number. Take the input from user
    • c. Explain for loop with an example
    • d. Write a program to print reverse of a number .Take input from user
    • e. Write a program to differentiate between local and global variable
    • f. What is nested while loop?
  18. Q4 Answer the following. (Attempt any three)
    • a. Explain dictionary concept
    • b. Explain any five dictionary methods
    • c. Explain any 5 built in functions
    • d. What is anonymous function?
    • e. Write a short note on class
    • f. Write a program to create anonymous function to calculate average of numbers
  19. Q5 Answer the following.(Attempt any three)
    • a. Explain math module and its function
    • b. Explain operator precedence
    • c. How to update elements in a list?
    • d. Write a program to find factorial of a number
    • e. Define user defined functions. Write the syntax to define user defined function Give example for the same

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

Report or request

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.

Connected Papers
BSc CS / Sem 1 · 56 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!