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

Python Programming Model Exam I

This document outlines the model examination for the B.E/B.Tech. degree in Computer Science and Engineering at Salem College, focusing on Computer Programming with Python. It includes two parts: Part A consists of 10 short answer questions, while Part B contains 5 detailed questions, each with sub-questions, covering various Python programming concepts. The exam is designed to assess students' understanding and application of programming principles and Python features.

Uploaded by

sivalakshmi1106
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Python Programming Model Exam I

This document outlines the model examination for the B.E/B.Tech. degree in Computer Science and Engineering at Salem College, focusing on Computer Programming with Python. It includes two parts: Part A consists of 10 short answer questions, while Part B contains 5 detailed questions, each with sub-questions, covering various Python programming concepts. The exam is designed to assess students' understanding and application of programming principles and Python features.

Uploaded by

sivalakshmi1106
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SALEM COLLEGE

OF ENGINEERING AND TECHNOLOGY


B.E/[Link]. DEGREE EXAMINATION
DEPARTMENT OF COMPUTR SCIENCE AND ENGINEERING
(COMMON TO MECH , CIVIL , BIO TECH )
MODEL EXAMINATION -I

CS25C02 / COMPUTER PROGRAMMING : PYTHON Year/ Sem: I / I


Date: Time: 3 hours Maximum: 100marks
Reg. No

Answer ALL Questions


PART A-(10X2 =20 marks)
Q.
No. Question CO PO BTL
1. What is programming language give examples. 1 1 2
2. Enlist some features of python. 1 1 3
3. What is purpose of break and continue statement? 2 2 3
4. What is the python supports the control statements? 2 2 3
5. What are named arguments in python? 3 2 3
6. Which is better iteration or recursion? justify your answer 3 2 2
7. What is dictionary? 4 2 4
8. How lists are updated in python? 4 3 3
9. What are different modes of file operation 5 2 3
10. 10. What is command line argument? 5 4 4
Answer ALL Questions
PART B-(5X13=65Marks)
11 (a) Explain in detail about notation of algorithm 1 2 2
(Or)
(b) i. what are the variable? Give example. (6)
ii. what is an algorithm? Summarize the characteristics of a good 1 2 5
algorithm. (7)

12 (a) i. Briefly explain about function prototype with example (8)


ii. Hiding redundancy (2) 3 2 3
iii. Complexity parameters (3)
(Or)
(b) Explain in detail about below and give example
i. Arguments (3)
ii. Actual arguments (3)
iii. Formal arguments (3) 3 2 5
iv. Named arguments (4)

13 (a) what is string function in python? Explain any three-python string with its
4 2 5
an example
(Or)
(b) Explain in detail about lists, list operations and list slices.
4 2 2
14 (a) Define creating and reading a formatted file
4 2 5
(Or)
(b) State the towers of honai problem. outline a solution of towers of honai
problem 5 2 2

15 (a) i. explains in detail about pandas. (8)


ii. what is sciPy? Give example (5) 5 2 1

(Or)
(b) i. Define scikit learn (6)
ii. Define numpy with their operation (7) 4 2 5

BTL:1-Remembering,2- Understanding,3- Applying,4- Analyzing,5- Evaluating, 6-Creating

SUBJECT INCHARGE HOD PRINCIPAL

You might also like