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 2 out of 14 pages
Exam (elaborations)

DSCI 100 CORRECT EXAMS ANSWERS AND QUESTIONS SET A.pdf

Document preview thumbnail
Preview 2 out of 14 pages

DSCI 100 CORRECT EXAMS ANSWERS AND QUESTIONS SET A.pdf

Content preview

DSCI 100 CORRECT EXAMS ANSWERS AND
QUESTIONS SET A+
✔✔relative path - ✔✔where a file is with respect to your working directory/where you
are currently on the computer

✔✔absolute path - ✔✔where the file is with respect to the computer's file system base,
regardless of where you are
- starts with slash /

✔✔is relative or absolute path preferred and why - ✔✔relative path
- shorter and easier to type can be run on a different computer

✔✔read_csv("data/... .csv", skip = 3) - ✔✔if we wanted to skip (ie) 3 lines when reading
in the data

✔✔read_tsv(...) - ✔✔if the columns are separated by tabs rather than commas
- produces identical data frames to read_csv

✔✔What function is used to read a tab-separated values file in R? - ✔✔read_delim

✔✔What does the 'delim' argument specify in the read_delim function? - ✔✔It specifies
the delimiter used to separate values in the file.

✔✔What does col_names = FALSE indicate when using read_delim? - ✔✔It indicates
that there are no column names in the data.

✔✔Why is delim considered a more flexible method to get data into R? - ✔✔Because it
allows for different delimiters to be specified.

✔✔What is a benefit of databases regarding data storage? - ✔✔They enable storing
large data sets across multiple computers with backups.

, ✔✔How do databases ensure data integrity? - ✔✔They provide mechanisms for
ensuring data integrity and validating input.

✔✔What security feature do databases provide? - ✔✔They provide security and data
access control.

✔✔What capability do databases offer for user access? - ✔✔They allow multiple users
to access data simultaneously and remotely without conflicts/errors.

✔✔value of an R data frame - ✔✔a single measurement of a single variable for a given
entity

✔✔What is a vector in programming? - ✔✔An object that can contain one or more
elements, but must be of the same data type.

✔✔How can a vector be created in programming? - ✔✔Using the c function.

✔✔5 basic data types in R - ✔✔character (chr), double (dbl), integer (int), logical (lgl),
factor (fct)

✔✔character data type - ✔✔letters or numbers surrounded by quotes

✔✔double data type - ✔✔numbers with decimal values

✔✔integer data type - ✔✔numbers without decimal values

✔✔logical data type - ✔✔either true or false

✔✔factor data type - ✔✔used to represent data with a limited number of values, usually
categories

✔✔list - ✔✔basically a vector, but elements within a single list can be different data
types

✔✔data frame - ✔✔a list of either vectors or lists of the same length with column names

✔✔3 criteria for tidy data - ✔✔- each row is a single observation
- each column is a single variable
- each value is a single cell

✔✔pivot_longer(data, cols = ..., names_to "...", values_to = "...") - ✔✔combine values
that are stored in separate columns but are part of the same variable

Document information

Uploaded on
September 1, 2026
Number of pages
14
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

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.
BOARDWALK
3.5
(41)
Sold
287
Followers
11
Items
36042
Last sold
1 hour 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