B.Sc. (Computer Science) Sem 1 BSc CS Semester 1 (2017 2018) 2018 Programming With Python Question Paper - Mumbai University | munotes
Loading PDF...
Older exam
None: this is the earliest we hold
Newer exam
2018 - Open Source Software
Semester-end · BSc CS Semester 1 (2017 2018)
→
Questions asked in this paper
- 2) Figures to the right indicate marks
-
Q3 Illustrations, in-depth answers and diagrams will be appreciated
-
Q4 Mixing of sub-questions is not allowed
-
Q1 Attempt All(Each of 5Marks) (15M)
- (a) Multiple Choice Questions
-
Q1 <,>,<=are operators
-
Q2 Which of the following function converts a string to all lowercase?
-
Q3 Python is language
-
Q4 What is the output of Python” ])?
-
Q5 What is “Hello” “e”)
- ii) Heeeo ii) Hlllo iii) Heleo iv) None of these
- (b) Fill in the blanks
-
Q1 What is the data type of the below object 2 marks
-
Q2 Ternary operator (?) is used for
-
Q3 The term IDLE stands for
-
Q4 To use mathematical we need to import
-
Q5 of a class is called as
- (c) Write answers for the following in few lines the use of del statement
-
Q3 What is the output when following statement is executed ?
-
Q4 Define Expression statement
-
Q5 Explain the use of “break” statement
- Q.P. Code: 12208
-
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.)
-
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
-
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.
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.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
B.Sc. (Computer Science) / Sem 1 · 56 papers
Questions? Email contact@munotes.in
Done!