Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 49 pages
Exam (elaborations)

Data Science Exam || 100% Verified Answers.

Document preview thumbnail
Preview 4 out of 49 pages

Which of the following objects are raw data? (As opposed to processed data.) Answers: A Web page downloaded using en() or saved from a Web browser. A table that contains the frequencies of each unique word in Moby Dick. A TIFF image file obtained by scanning a book page. The text of Moby Dick extracted from a scanned image using optical character recognition (OCR). correct answers A Web page downloaded using en() or saved from a Web browser. A TIFF image file obtained by scanning a book page. Which data analysis technique is a machine learning technique? Answers: Information retrieval. Linear regressions. Decision trees. Signal processing. correct answers Decision trees.

Content preview

Data Science Exam || 100% Verified Answers.


Which of the following objects are raw data? (As opposed to processed data.)


Answers:
A Web page downloaded using urllib.request.urlopen() or saved from a Web browser.


A table that contains the frequencies of each unique word in Moby Dick.


A TIFF image file obtained by scanning a book page.


The text of Moby Dick extracted from a scanned image using optical character recognition
(OCR). correct answers A Web page downloaded using urllib.request.urlopen() or saved from a
Web browser.


A TIFF image file obtained by scanning a book page.


Which data analysis technique is a machine learning technique?


Answers:
Information retrieval.


Linear regressions.


Decision trees.


Signal processing. correct answers Decision trees.

,Is it a good idea to use interactive GUI tools for reproducible data analysis (as opposed to
command-line programmed tools), and why?


Answers:
No, it is not. Interactive GUI tools do not record the history of operations, which makes the
analysis not reproducible.


No, it is not. Interactive GUI tools are usually oversimplified, stripped down versions of
powerful programmable data processing environments.


Yes, it is. Interactive GUI tools simplify data analysis and make it more accessible.


Yes, it is. Interactive GUI tools, as a rule, provide more powerful data analysis techniques.
correct answers No, it is not. Interactive GUI tools do not record the history of operations, which
makes the analysis not reproducible.


Alice noticed that the scatter plot of variable Y vs variable X that she plotted as a part of the
exploratory data analysis, looks almost like a straight diagonal line. What statement is Alice
entitled to make, based on this observation?


Answers:
A change in X causes a change in Y.


X and Y are correlated.


A change in Y causes a change in X.


A change in X causes a change in Y and a change in Y causes a change in X. correct answers X
and Y are correlated.

,s is a Python string. What does the function s.upper() return?


Answers:
A copy of s with each alphabetic character converted to the upper case.


A reference to s where each alphabetic character has been converted to the upper case and all
other characters removed.


A copy of s with each alphabetic character converted to the upper case and all other characters
removed.


A reference to s where each alphabetic character has been converted to the upper case. correct
answers A copy of s with each alphabetic character converted to the upper case.


Which statement converts a string s into a list of unique vowels?


Answer:
list(set(c for c in s if c in "aouieAOUIE"))


[c for c in s if c in "aouieAOUIE"]


set(c for c in s if c.isvowel())


list([c for c in s if c in "aouieAOUIE"]) correct answers list(set(c for c in s if c in
"aouieAOUIE"))


infile is an open file of an unknown size. Which functions can be safely used to read from this
file? (Check all that apply.)

, Answers:
infile.read(100)



infile.readline()


infile.readlines()


infile.read() correct answers infile.read(100)



infile.readline()


Bob attempts to download a data file using the follolwing statement:


data = urllib.request.urlopen ("http://foo.bar/foobar.tgz")


However, the URL http://foo.bar/foobar.tgz is no longer valid. What will be the value of the
variable data after the execution of the statement?


Answers:
The statement raises an exception. The variable data does not exist.


The value of data is None.


The value of data is unknown.


The value of data is an empty string. correct answers The statement raises an exception. The
variable data does not exist.

Document information

Uploaded on
July 6, 2025
Number of pages
49
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$16.79

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
794
Followers
438
Items
40095
Last sold
3 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions