OSMANIA UNIVERSITY
FACULTY OF SCIENCE
ANNIE BESANT WOMEN’S COLLEGE
BSC (MSCs & MPCs) (II Year IV SEM)
SEMESTER EXAM
SUBJECT: COMPUTER SCIENCE
SEC-2 (PYTHON-II)
TIME : 1 ½ Hours Max Marks: 40 M
________________________________________________________________
I. Answer any four of the following six [Link] carries four
marks.
(4 * 4 = 16 m)
1. Write in short note about indentation in python
2. Write in short note about nested and infinite loop.
3. How to read input from the keyboard with example
4. Write in short note about the passing arguments to functions with
example.
5. Write in short note on
a) Global variable.
b) Global Keyword.
6. Describe how the exceptions are handled in python with example.
II. Answer all the following two [Link] carries twelve marks.
(2 * 12 = 24 m)
7.(a).
(i).Explain about Program Development Cycle.
(ii).Explain some important features of Python.
(Or)
(b).
(i).Discuss different types of operators with ex.
(ii).Write a Python program for multiplication table input from
keyboard using loops.
8.(a).
(i) Explain about designing a program to use functions.
(ii).Explain about Math Module with examples.
(Or)
(b).
(i).Write a Python program to calculate Area & Perimeter of
different shapes using storing functions.(8m)
(ii).Write about function definition & function call in python (4m)
*** ALL THE BEST ***