Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Instructions: Answer Any Four Que"stions From Part - 8 in Detalf. Different Sub-Parts of A Question Are To Be Attempted Adjacent

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

Roll No ....................... .

Total Pages : 2

·011601
May2023
B.Tech(IT/CSE/(AIMIJ) VI SEMESTER
Data Analysis·using Python (PCC-IT-601}
Time: 3 Hours . Max. Marks:7S
instructions: 1. It fs compulsory to answer all the questions (1.5 marks each) of Part -A fn short.
2, Answer any four que"stions from Part -8 In detalf.
3. Different sub-parts ofa question are to be attempted adjacent to each other
PART-A

Ql (a) What is zip and enumerate in Python? (1.5)

(b) Mention the use of the split and-join function in Python. (1.5)

(c) What are *args and **kwargs? (1.5)


(d) What are magic methods in python? (1.5)
. (e) Differentiate remove, del and pop in lists? (1.5)
(f) Explain the difference between map, filter and reduce. _(1.5)
(g) Explain reindexing ancHancy indexing. (1.5)
(h) Differentiate shallow copy and deep copy. (LS)
(i) Diff~rentiate series and datafrarnes? (1.5)
(j) What are numpy attributes? (1.5)

PART-B

• Q2 (a) Describe multiple·Inheritance and the _use of constructors. (7.5)


(b) How stacks and qileues·are implemented in python? (7.5)

Q3 (a) What are iterators and generators? Explain. (7.5)


(b) What are the techniques to handle missing data. Explain with example. (7 .5)

Q4 (a) Differentiate decorators and closures? How are higher order functions used? (7.5)
(b) How will yoll create a dataframe from numpy arrays, list of lists, dictionary? (7 .5)

QS (a) Define the terin Data wrangling. Explain the steps needed to perform data (7.5)
wrangling. .
(b) How packing and unpacltjng is performed on tuples and dictionaries? (7.5)

011601 / 170 / 111 / 394 1" [P.T.O.

i
Q6 (a) Compare bar graph,. box-plot and ~lstogram with respect to their (7.5)
applicability in data visualization.?
(b) What are list comprehensions? How are these different from generators? (7.5)
• Which one is faster between these two? ·

Q7 Discuss the following methods associated with the file object (15)
a) pickle b) dump c)strlp d)split e)with..open. Write a program to copy all the
content of one file to another file in uppercase.

011601 /170/111 /394 2

You might also like