2 Data - Science Data Engineering With Python 3sem
2 Data - Science Data Engineering With Python 3sem
Faculty of Science
DEGREE 2nd Year III-SEMESTER (CBCS)
1st INTERNAL ASSESSMENT EXAM Sep-2023
Group: B.Sc.(D.S) Paper: Data Engineering with Python Marks: 15
Name: Date:
Roll. No: Invigilator sign:
I. Multiple Choice Questions 10 x ½ = 5M
1. JSON stands for { }
a. Java script Object Notation b. Java Object Notation
c. JSON object notation d. All the above
2. To read two characters form a file object infile, we use _____ { }
a. Infile.read(2) b. infile.read() c. infile.readline() d. infile.readlines()
3. ___ file mode is used to open a text file in read mode. { }
a. rb b. a c. w d. r
4. The ____ module that support regular expression is { }
a. regEx b. re c. PyregEx d. string
5. The process of converting a word form to their root is { }
a. Stemming b. Lemmatization c. Tokenization d. None of the above
6. Which module is used work with file system { }
a. os.path b. os c. Both a & b d. None of the above
7. The process of pickling in python includes { }
a. Conversion of a list to a data table
b. Conversion of a byte stream into python object hierarchy
c. Conversion of python object hierarchy into byte stream d. None of the above
8. The full form of abbreviation of XML is { }
a. Extensible markup language b. Excisable markup language
c. Executive markup language d. Extensible managing language
9. Consider the following XML code and identify the root element { }
<?xml version=”1.0” encoding=”UTF-8”>
<fullname>
<firstname>Alex</firstname>
<lastname>Stanley</lastname>
<employeecode>EC123</employeecode>
</fullname>
a. <fullname b. <firstname> c. <lastname> d. <employeecode>
10. ___ method is used for converting python object into Json object { }
a. load() b. dump () c. Both a & b d. None of the above
II. Fill In the blanks 10 x ½ = 5M
1. ____________ is all about obtaining the artifacts that contain the inputdata from a variety of
sources.
2. An ___________ is defined as specifying the location of a file or directory form the root
directory.
3. To read the entire content of the CSV file, we use ________________ method.
4. Python supports _______________ types of files.
5. Python ______________ module provides the interaction between the user and the
operating system.
6. In python, the _____________ allows the developer to convert the complex object structure
into a stream of bytes.
7. The read lines () method returns_____________________.
8. HTML stands for _____________________.
9. All NLTK corpora are stored in the module ____________________.
10. ______________ expressions use groups to capture strings of interest.
III. Short Answer Questions 5 x 1 = 5M
1. What is a file?
5. What is tokenization?