0% found this document useful (0 votes)
11 views

Python II A - Model QP - Set 2

Uploaded by

Muruganandham J
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Python II A - Model QP - Set 2

Uploaded by

Muruganandham J
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

B.Tech.

(ELECTRICAL AND ELECTRONICS ENGINEERING)


MODEL EXAM, OCTOBER - 2024
PROGRAMMING IN PYTHON (U23ADTC01)
Year/Sem/Sec : II/III/A SET II
Day and Date : Thursday, 24.10.2024
Time : 01.45 PM to 04.45 PM Max. Marks- 75

Marks B.L CO’s


PART A (10x2=20 Marks)
Answer all the Questions
Q.1 Illustrate the used of * and + operator in string with example 2 1 1
Q.2 What is the output of the following code 2 1 1
A=’Hello World’
Print(A[2:5])
Q.3 Define frozen set with example. 2 1 2
Q.4 Illustrate the negative indexing with example 2 2 2
Q.5 Develop a NumPy program to find the common values between
2 3 3
two arrays.
Q.6 Write the syntax of randn(). 2 1 3
Q.7 Define pandas data frame and list out its parameters. 2 1 4
Q.8 What is pivot table? 2 1 4
Q.9 Write the syntax for the creation of 3D plot using matplotlib. 2 1 5
Q.10 Define matplotlib 2 2 5
PART B (5x5=25 Marks)
Answer all the Questions
Q.11 Explain the different typed of control statements with an flowchart 5 3 1
Q.12 Discuss about class and object with an example program 5 2 2
Q.13 How to extract the items that satisfy the given condition in 1D
5 3 3
array using NumPy?
Q.14 Summarize the list of parameters available in eval() and query()
5 2 4
functions.
Q.15 Explain the functions available in matplotlib and its uses in detail
5 2 5
with example.
PART C (3x10=30 Marks)
Answer any THREE Questions
Q.16 Demonstrate in detail about list operations and infer about list
10 2 1
mutability.
Q.17 Summarize in detail about the different types of inheritance with
10 2 2
relevant examples.
Q.18 Explain in detail about computation on arrays using NumPy 10 2 3
Q.19 write a pandas program to split a dataset, group by one column 10 2 4
and get mean, min, and max values by group
(i) Using the following dataset find the mean, min , and max
value of purchase amount group by customer id
(ii) In the following dataset group on customer id, salesman id
and then sort sum of Purch amt within the groups
CustomerID SalesmanI PurchaseAmount
D
1 101 200
2 102 300
1 101 150
3 103 400
2 102 350
1 101 500
3 103 600
Q.20 Illustrate the process of customizing colour bars, ticks and plots.
10 2 5
Also compare between histogram, binning and density

1. Whether the One third of the questions is straight and can be answered by all students.
Yes No

2. Whether One third of the questions need analysis and use of content covered as per
syllabus
Yes No

3. Whether remaining one third of the questions is not straight. Certain amount of thinking
analysis and mathematical knowledge are required to resolve.
Yes No

4. Whether all the questions in question paper contribute to attain CO’s or not.
Yes No

5. Whether all the questions are as per Blooms Taxonomy?

Yes No

Remarks:

Staff Incharge Checked & Verified by HOD

You might also like