FirstRanker.com
FACULTY OF SCIENCE
B.Sc. VI-Semester (CBCS) Examination, May / June
--- Content provided by FirstRanker.com ---
Subject : Computer Science : (G : Python-2)
Paper - VII (SEC -4)
Time : 1½ Hours
Note : Answer ALL the questions.
PART - A (2 x 5 = 10 Marks)
--- Content provided by FirstRanker.com ---
(Short Answer Type)
- (a) Explain five methods to process matrices with examples.
OR
Explain formatting strings with syntax and example. - (a) Explain functions as First Class Objects with example.
OR
What is a List? Explain briefly creating lists using range() function.
--- Content provided by FirstRanker.com ---
(Essay Type)
- Explain various functions to create arrays in numpy with syntax and example. Write a program to reshape array into 2D.
OR
List the methods to sort a string. Write a program to Search for a String. - (a) (i) Explain Positional arguments and keyword arguments with an example.
(ii) Write a program to solve towers of Hanoi using recursion.OR
--- Content provided by FirstRanker.com ---
Explain Sets in Python. Write a program to convert List into Dictionary.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: OU B-Sc Last 10 Years 2010-2020 Question Papers || Osmania University