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

Data Eng With Python Internal

The document appears to be an exam for a Data Engineering with Python course, containing questions about Python concepts like data types, basic syntax, functions, and modules. It has multiple choice questions testing knowledge of Python features like comments, operators, and string manipulation. There are also short answer and fill in the blank questions about Python lists, paths, regular expressions, and data formats like JSON and XML.

Uploaded by

prashanth kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
71 views2 pages

Data Eng With Python Internal

The document appears to be an exam for a Data Engineering with Python course, containing questions about Python concepts like data types, basic syntax, functions, and modules. It has multiple choice questions testing knowledge of Python features like comments, operators, and string manipulation. There are also short answer and fill in the blank questions about Python lists, paths, regular expressions, and data formats like JSON and XML.

Uploaded by

prashanth kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

SATAVAHANA UNIVERSITY

NALANDA DEGREE & PG COLLEGE (7050), JAGTIAL


B.Sc Second Year(Data Science) (Sem–III)Internal Examination
Subject: Data Engineering with Python
MARKS
Student Name____________________________________________________________

H.T.No.________________________Group_______________Year:__________________

Time: 30min _____ ____ Max.Marks:20

Signature of the Invigilator

I. Choose the Correct Answers 10x1/2=5

1. Which one of the following is the correct extension of the Python file? [ ]

a) .py b)python c).p d)None of these

2. This symbol marks the beginning of a comment in Python. [ ]

a) & b) * c)** d) #

3. round(4.576) What will be the output of this function? [ ]

a) 4 b) 5 c) 576 d) 5

4. Which of the following statements will cause an error [ ]

a)x=17 b) 17=x c) x=99999 d) x=’17’

5. What is the output of print str*2 if str=’Hello World!’? [ ]


a) Hello World!Hello World! b) Hello World!*2 c) Hello World! d) None of the above

6. This operator performs divison, but instead of returning the quotient it returns the remainder?[ ]
a) % b) * ` c) ** d) /

7. JSON Stands for [ ]


a) JavaScript Object Notation b) Java Object Notation c) a&b d)None

8. Comments in XML id identified by [ ]


a) <?-----> b) </-----> c) a) <!-----> d) a) <#----->

9. The function that creates the pattern object is [ ]


a) re.create(str) b)re.regex(str) c)re.compile(str) re.assemble(str)

10. The abbreviation of XML is [ ]


a) Extensible Markup language b)Executive Markup language c) a&b d) None
II . Fill in the Blanks 10x1/2=5

1. What is the output of print list[1:3] if list =[‘abcd’,786,2.23,’john’,70.2] ___________________________


2. Variable name can start with an ____________________________________________________
3. What is the file extension of HTML program file ______________________________________
4. How will you remove last object from a list __________________________________
5. Suppose list1 is [2, 33, 222, 14, 25], what is list1 [-1] ___________________________
6. _____________support two types of files.
7. The fully qualified path name is also called as_________________
8. Python ______provides the facility to establish the interaction between the user and the operating system.
9. Python has a module named ________work with regular exptessions.
10. _________is markup language.
III. Answer the following Question 1x5=5

1. What is file?

2. What is JSON?

3. What is NUMPY?

4. What is Slicing?

5. What is the difference between list and tuple?

IV. ASSEINMENT 5 Marks

You might also like