Programming With Python

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

STELLA MARIS COLLEGE (AUTONOMOUS) CHENNAI 600 086

(For candidates admitted during the academic year 2019 – 20)

SUBJECT CODE: 19CS/PC/PP14

M. Sc. DEGREE EXAMINATION, NOVEMBER 2019


INFORMATION TECHNOLOGY
FIRST SEMESTER

COURSE : MAJOR CORE


PAPER : PROGRAMMING WITH PYTHON
TIME : 1 ½ HOURS MAX. MARKS: 50

SECTION-A
Answer ALL the questions: (5x2=10)

1. Give the features of Python.


2. Write the two ways of implementing a counter controlled loop.
3. Give an example for slicing and repetition operations.
4. What is Tkinter?
5. How an exception is handled in Python?

SECTION-B
Answer any FOUR of the following questions: (4x5=20)

6. State the rules for identifier. Give an example for simultaneous assignment and named
constants.
7. Give the syntax and uses of any five function which helps in drawing shapes, colors
and fonts.
8. With a suitable example explain how classes are declared with hidden data and objects
are constructed.
9. Explain any five List functions.
10.Illustrate the uses of the three geometry managers.
11.Define Python Dictionaries. Write a code to create a dictionary from two tuples.

SECTION-C
Answer any TWO of the following questions: (2x10=20)

12.Discuss about the types of Selection statements with examples.


13.Define Function. How is it defined and called in python? Explain the various ways
values are returned from functions.
14.Write short notes on creating, opening, reading and writing data to files.

************

You might also like