munotes®

B.Sc. (Computer Science) Sem 1 BSc CS Semester 1 (2017 2018) 2018 Programming With Python Question Paper - Mumbai University | munotes

BSc CS Semester 1 (2017 2018) Question Paper, 2017.pdf
SEM 1 · BSc CS Semester 1 (2017-2018) · 269 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 5Marks) (15M)
    • (a) Multiple Choice Questions
  4. Q1 <,>,<=are operators
  5. Q2 Which of the following function converts a string to all lowercase?
  6. Q3 Python is language
  7. Q4 What is the output of Python” ])?
  8. Q5 What is “Hello” “e”)
    • ii) Heeeo ii) Hlllo iii) Heleo iv) None of these
    • (b) Fill in the blanks
  9. Q1 What is the data type of the below object 2 marks
  10. Q2 Ternary operator (?) is used for
  11. Q3 The term IDLE stands for
  12. Q4 To use mathematical we need to import
  13. Q5 of a class is called as
    • (c) Write answers for the following in few lines the use of del statement
  14. Q3 What is the output when following statement is executed ?
  15. Q4 Define Expression statement
  16. Q5 Explain the use of “break” statement
    • Q.P. Code: 12208
  17. Q2 Attempt the following (Any THREE) (15M)
    • (a) What is the difference between simple and compound. statements? Explain with example
    • (b) What is Datatype? What are the rules and conventions for declaring a
    • (c) Explain any five arithmetic operators in Python
    • (d) Write a short note on tuple
    • (e) Define Function. Write the syntax to define function. Give example of
    • (f) Write a program to calculate Simple Interest. Take Principal amount, rate of interest and number of years from the user. (Hint: Simple Interest= (Principal amount * Rate of interest * Number of years) 100.)
  18. Q3 Attempt the following (Any THREE) (15M)
    • (a) How do we implement if , elif, else condition? Explain with an example
    • (b) Discuss the difference between local and global variable
    • (c) What is actual and formal parameter? Explain the difference along with
    • (d) Explain continue statement
    • (e) What is nested while loop? Explain with example
    • (f) Write a program to print reverse of anumber. Take input from user
  19. Q4 Attempt the following (Any THREE) (Each of 5Marks) (15M)
    • (a) Discuss Anonymous function
    • (b) Explain “Dictionary” concept
    • (c) Define Built-in functions. List any 4 built-in functions. Explain dir()
    • (d) Write a program to create an anonymous function to calculate cube of a
    • (e) What is List? Explain with example
    • (f) Write a short note on class Attempt the following (Any THREE) (Each of 5Marks) (15M)
    • (a) Discuss Operator Precedence along with an example
    • (b) Explain Time module and its function
    • (c) What is comment? Why we need it? How do we implement it?
    • (d) Write a python program to take a string from user and count number of vowel present in it
    • (e) Explain for loop with example

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
B.Sc. (Computer Science) / Sem 1 · 56 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!