
Midterm Exam - DV - Part 1
Authored by Ronald Baldemoro
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ___ format is one of the most simple and common ways to store tabular data.
CSV
TXT
DB
CVS
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
There is a dedicated module for python to use in importing data to a program.
import csv
import csv as cs
import csv as csv
import cv2 as cv
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To read as csv file in python we use this ___ function
csv.reader()
csv.read()
csv.readonly()
csv.readthis()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To encode in csv file you must use this function ___
csv.writer()
csv.writerow()
csv.writerthis()
csv.write()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This string can later be
used to write into CSV files using the ___ function.
writerow()
writer()
csv.write()
csv.writerow()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The objects of a ___ class can be used to read a
CSV file as a dictionary.
csv.DictReader()
DictReader()
csv.DictRead()
csv.DictReadRow()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The objects of ___ class can be used to write
to a CSV file from a Python dictionary.
csv.DictWriter()
DictWriter()
csv.DictWrite()
csv.DictWriterRow()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?