0% found this document useful (0 votes)
8 views2 pages

Python Programming

The document outlines the structure and instructions for the End Semester Examination for the BSc in Computer Science at Modern College of Arts, Science & Commerce. It includes details on the exam format, sections with various types of questions, and specific topics related to Python programming. The examination consists of multiple-choice questions, short answers, and programming tasks, totaling a maximum of 35 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Python Programming

The document outlines the structure and instructions for the End Semester Examination for the BSc in Computer Science at Modern College of Arts, Science & Commerce. It includes details on the exam format, sections with various types of questions, and specific topics related to Python programming. The examination consists of multiple-choice questions, short answers, and programming tasks, totaling a maximum of 35 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Progressive Education Society’s

Modern College of Arts, Science & Commerce Ganeshkhind, Pune – 16


(Autonomous)
End Semester Examination: OCT / NOV 2024
Faculty: Science and Technology

Program: BSc(Comp05) Semester: SET: A


Program (Specific): (Computer Science) Course Type: SECC-I
Class: TY BSc(Computer Science) [Link]: 35
Name of the Course: Python Programming.
Course Code: 24CS3510 Time: 2Hr
Paper: I
Instructions to the candidate:
1) There are 4 sections in the question paper. Write each section on separate page.
2) All Sections are compulsory.
3) Figures to the right indicate full marks.
4) Draw a well labeled diagram wherever necessary.

SECTION: A
Q1) Multiple choice question [ 5 x 1 = 5]
1. Tuples are shown by,
a) { } c) [ ]
b) ( ) d) < >
2. A function is defined using the,
a) def keyword c) create keyword
b) defn keyword d) All of the mentioned
3. Which statement is allow you to check multiple expressions?
a) if c) if else
b) elif d) None of mentioned.
4. State true or false : A single line comment in python is written by / operator.
5. State true or false: Default access mode is write mode.

Q2) Answer any 4 of the following in one sentence [ 4 x 1 = 4]


1. Enlist the types of file in Python.
2. Explain the function enumerate( ).
3. What is Typecasting?
4. Define Dictionary.
5. Explain meaning of module.
6. List down any 3 built-in functions in dictionary.
Progressive Education Society’s
Modern College of Arts, Science & Commerce Ganeshkhind, Pune – 16
(Autonomous)
End Semester Examination: OCT / NOV 2024
Faculty: Science and Technology

SECTION: B
Q3) Answer any 4 of the following [ 4 x 2 = 8]
1. Explain the range() function and its parameters.
2. Compare between pop() and del in list.
3. List features of Python.
4. What is difference between List and Tuple.(2 points)
5. Explain Anonymous function with example.
6. List datatypes in Python.

SECTION: C
Q4) Answer any 4 of the following [ 4 x 2 = 8]
1. List down any 4 built-in exceptions with cause of error.
2. How to give comments in Python?
3. Explain basic sets operation.
4. Write a python program to accept a number and check whether it is perfect number or not.
5. Write a program to find length of set.
6. Write a program to find square root of a number.

SECTION: D
Q5) Answer any 2 of the following [ 5 x 2 = 10]
1. Explain the loop control statements with an example.
2. Explain following terms with example:
i. Tuple ii. List iii. Set iv. String v. Dictionary
3. Write a python program to Count Vowels and Consonants in a String.
4. Write a program to accept a string from user and display the string in
reverse order eliminating the letter ‘s’ from the string.

You might also like