1. Home
  2. Explore
  3. Computer Science
  4. End-to-End Data Science

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

End-to-End Data Science

  • 50Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Data Science Purpose

What is the central purpose of the Equity Disproportionality and Design Project?

50 questions

  1. 1

    What is the central purpose of the Equity Disproportionality and Design Project?

    1. A

      To teach only advanced programming techniques to data scientists

    2. B

      To create standardized testing materials for every California school

    3. C

      To replace classroom instruction with automated statistical software

    4. D

      To promote equity in special education by working with California school districts

    Correct answer
    D

    To promote equity in special education by working with California school districts

    Explanation

    The project works with school districts in California to promote equity in special education and to use data practically in support of equity goals.

  2. 2

    Why does the speaker argue that data science work should be shared with non-data scientists?

    1. A

      Sharing can prevent isolation and create opportunities to improve students' lives

    2. B

      Sharing allows programmers to avoid writing technical documentation

    3. C

      Sharing guarantees that every statistical result will be accepted

    4. D

      Sharing eliminates the need to understand the underlying data

    Correct answer
    A

    Sharing can prevent isolation and create opportunities to improve students' lives

    Explanation

    The speaker explains that keeping data science work isolated becomes lonely and gives up opportunities to use powerful tools to improve students' lives.

  3. 3

    What does the speaker identify as the unspoken work of data science in education?

    1. A

      Writing code without consulting people who work with students

    2. B

      Determining how tools can solve meaningful problems in a specific educational setting

    3. C

      Replacing all existing educational decisions with mathematical formulas

    4. D

      Memorizing every function in a statistical programming language

    Correct answer
    B

    Determining how tools can solve meaningful problems in a specific educational setting

    Explanation

    Beyond learning technical tools, educators must determine how those tools can be used to address meaningful problems and benefit students.

  4. 4

    What lesson does the speaker's story about showing an analysis to a colleague illustrate?

    1. A

      Data scientists should avoid sharing preliminary findings with colleagues

    2. B

      Colleagues generally cannot understand analyses created with R

    3. C

      A technically complete report is always more valuable than a simple report

    4. D

      An analysis should address a question that matters to the people who may use it

    Correct answer
    D

    An analysis should address a question that matters to the people who may use it

    Explanation

    The speaker realized that he had not checked whether the question he answered mattered to anyone else, showing that technical work should be connected to stakeholders' meaningful needs.

  5. 5

    Which principle best captures the speaker's view of using data science tools at work?

    1. A

      Tools are valuable primarily because they make work more technically impressive

    2. B

      Tools are most effective when analysts work independently from educators

    3. C

      Tools should be used in service of problems that matter to students and communities

    4. D

      Tools should be used only when they replace simpler methods

    Correct answer
    C

    Tools should be used in service of problems that matter to students and communities

    Explanation

    The speaker emphasizes that data science should benefit students and solve problems that matter to others rather than merely serve as a technical hobby.

  6. 6

    Why is choosing a useful question an essential first step in data analysis?

    1. A

      The question determines what data, preparation, method, and interpretation are appropriate

    2. B

      The question automatically calculates the correct statistical result

    3. C

      The question removes the need to inspect or prepare the data

    4. D

      The question determines which programming language every analyst must use

    Correct answer
    A

    The question determines what data, preparation, method, and interpretation are appropriate

    Explanation

    The workflow begins by identifying a question because the question guides the data selected, the preparation performed, the method chosen, and the way results are interpreted.

  7. 7

    In the imagined training-service scenario, why would a uniform number of materials for every district be questionable?

    1. A

      Districts cannot receive materials through a county office

    2. B

      Districts vary substantially in the number of schools they contain

    3. C

      School counts are unrelated to planning resource needs

    4. D

      The available enrollment data contain no district information

    Correct answer
    B

    Districts vary substantially in the number of schools they contain

    Explanation

    The analysis shows substantial variation in school counts across districts, so providing the same number of materials to every district could leave some districts without enough resources.

  8. 8

    What educational outcome did the speaker analyze in his first workplace data analysis?

    1. A

      The relationship between teacher salaries and school enrollment

    2. B

      The relationship between school location and programming-language use

    3. C

      The relationship between special-education classroom time and standardized-test performance

    4. D

      The relationship between district size and graduation ceremony attendance

    Correct answer
    C

    The relationship between special-education classroom time and standardized-test performance

    Explanation

    The speaker's first analysis quantified the relationship between the amount of time students in special education spent in the classroom and their performance on standardized testing.

  9. 9

    What is R?

    1. A

      A document-formatting standard

    2. B

      A statistical programming language

    3. C

      A database-management system

    4. D

      A spreadsheet application

    Correct answer
    B

    A statistical programming language

    Explanation

    R is introduced as the statistical programming language used for the analysis.

  10. 10

    Who developed R based on the statistical language S?

    1. A

      Hadley Wickham and Garrett Grolemund

    2. B

      Ross Ihaka and Robert Gentleman

    3. C

      Yihui Xie and JJ Allaire

    4. D

      Donald Knuth and David Dobrowski

    Correct answer
    B

    Ross Ihaka and Robert Gentleman

    Explanation

    Ross Ihaka and Robert Gentleman developed R based on the statistical language S.

  11. 11

    What does it mean that R was made open source?

    1. A

      Only universities can inspect or modify its source code

    2. B

      Users must purchase a separate license for every analysis

    3. C

      The language can be used only for publicly available data

    4. D

      Its source and use are broadly available, allowing people to use and extend it freely

    Correct answer
    D

    Its source and use are broadly available, allowing people to use and extend it freely

    Explanation

    R was made open source, which helps explain why R and many related tools are free and community-driven.

  12. 12

    What is RStudio primarily used for?

    1. A

      Collecting enrollment data from school districts

    2. B

      Replacing R with a different statistical language

    3. C

      Writing and managing code written in R

    4. D

      Automatically deciding which research question to ask

    Correct answer
    C

    Writing and managing code written in R

    Explanation

    RStudio is a software application used to write and manage R code. R is the language, while RStudio is an environment for working with it.

  13. 13

    Which analogy correctly describes the relationship between R and RStudio?

    1. A

      R is like the language, while RStudio is like the software used to write and share that language

    2. B

      R is like a report, while RStudio is like the data contained in the report

    3. C

      R is like a package, while RStudio is like a single function within that package

    4. D

      R is like a spreadsheet, while RStudio is like a statistical formula inside it

    Correct answer
    A

    R is like the language, while RStudio is like the software used to write and share that language

    Explanation

    The speaker compares R to a spoken or written language and RStudio to software such as Google Docs that helps users write, manage, and share the language.

  14. 14

    What is the purpose of an R package?

    1. A

      To convert every R analysis into a spreadsheet

    2. B

      To extend R with additional tools and capabilities

    3. C

      To store only the narrative portion of an analysis

    4. D

      To prevent users from using community-created functions

    Correct answer
    B

    To extend R with additional tools and capabilities

    Explanation

    Packages extend the base installation of R and can provide tools for statistical models, data preparation, reporting, and graphics.

  15. 15

    Which task could an R package help perform?

    1. A

      Replacing the need to interpret statistical results

    2. B

      Preparing data or creating graphics

    3. C

      Guaranteeing that a research question is meaningful

    4. D

      Determining whether every district should receive identical resources

    Correct answer
    B

    Preparing data or creating graphics

    Explanation

    The speaker lists data preparation, statistical modeling, reporting, and graphics as tasks that packages can support.

  16. 16

    What does R Markdown combine in a single document?

    1. A

      Only statistical formulas and final numerical answers

    2. B

      Only raw data and database commands

    3. C

      Separate spreadsheets created by different analysts

    4. D

      Narrative text, code, and related analytical graphics

    Correct answer
    D

    Narrative text, code, and related analytical graphics

    Explanation

    R Markdown interweaves narrative with code and can display graphics produced by that code in the same document.

  17. 17

    What happens when an R Markdown document is knitted?

    1. A

      The document converts every variable into a spreadsheet column

    2. B

      The document ranks all observations without running an analysis

    3. C

      The document dynamically generates a report from its narrative and code

    4. D

      The document deletes the code and preserves only raw data

    Correct answer
    C

    The document dynamically generates a report from its narrative and code

    Explanation

    Knitting an R Markdown document runs the code and dynamically generates a report containing the resulting analysis and related content.

  18. 18

    Why might an analyst use an R script separately from an R Markdown document?

    1. A

      R Markdown cannot contain any narrative text

    2. B

      A complex data-preparation process may be easier to maintain outside the report

    3. C

      R scripts are required whenever an analysis includes a graph

    4. D

      Separate scripts prevent code from being reused in other analyses

    Correct answer
    B

    A complex data-preparation process may be easier to maintain outside the report

    Explanation

    The speaker notes that a complicated preparation process can clutter an R Markdown report, so keeping it in a separate R script may make maintenance and reuse easier.

  19. 19

    Which sequence best represents the analytic workflow presented?

    1. A

      Analyze raw data, remove observations, choose a question, and share without interpretation

    2. B

      Choose a method, publish a report, collect unrelated data, and then define a question

    3. C

      Visualize data, share results, import data, identify a question, and choose a method

    4. D

      Identify a question, import data, prepare data, choose a method, visualize, analyze, and share

    Correct answer
    D

    Identify a question, import data, prepare data, choose a method, visualize, analyze, and share

    Explanation

    The presented workflow proceeds from identifying the question through importing and preparing data, selecting a method, visualizing, analyzing, and sharing the results.

  20. 20

    What was the first data-related action in the demonstration?

    1. A

      Calculating the standard deviation of district school counts

    2. B

      Creating a bar chart of the largest districts

    3. C

      Importing a publicly available California Department of Education data set

    4. D

      Filtering the data to the top ten districts

    Correct answer
    C

    Importing a publicly available California Department of Education data set

    Explanation

    After defining the question, the speaker imported publicly available enrollment data from the California Department of Education.

  21. 21

    What does the function read_tsv do in the demonstration?

    1. A

      It removes duplicate school records

    2. B

      It creates a ranked list of districts

    3. C

      It reads a tab-separated-values data file into R

    4. D

      It calculates the mean of a numeric column

    Correct answer
    C

    It reads a tab-separated-values data file into R

    Explanation

    read_tsv is used to read a tab-separated-values file into R so the data can be analyzed.

  22. 22

    What was the size of the imported enrollment data set?

    1. A

      It contained 10,87610{,}87610,876 rows and 505050 columns

    2. B

      It contained 795795795 rows and 232323 columns

    3. C

      It contained 223223223 rows and 999 columns

    4. D

      It contained 131,616131{,}616131,616 rows and 232323 columns

    Correct answer
    D

    It contained 131,616131{,}616131,616 rows and 232323 columns

    Explanation

    The imported data set was reported to have 131,616131{,}616131,616 rows and 232323 columns.

  23. 23

    Why was the original data set unsuitable for directly counting schools?

    1. A

      The data set contained only district names and no repeated observations

    2. B

      The data set had already aggregated every district into a single row

    3. C

      Each row represented a complete statewide summary rather than any school information

    4. D

      Each row represented a county, district, ethnicity, and gender combination rather than one school

    Correct answer
    D

    Each row represented a county, district, ethnicity, and gender combination rather than one school

    Explanation

    The original data was structured with rows representing combinations of county, district, ethnicity, and gender, so schools appeared in multiple rows.

  24. 24

    Why was the data filtered to San Diego County before counting schools?

    1. A

      Filtering automatically converts repeated school records into unique schools

    2. B

      The California data set contained no records outside San Diego County

    3. C

      Filtering to one county is required for every R analysis

    4. D

      The analysis question concerned the number of schools in San Diego districts

    Correct answer
    D

    The analysis question concerned the number of schools in San Diego districts

    Explanation

    The imagined planning question focused on districts in San Diego, so the data was first restricted to San Diego County.

  25. 25

    What does the distinct operation accomplish in the demonstration?

    1. A

      It ranks districts from largest to smallest

    2. B

      It calculates the average number of schools per district

    3. C

      It converts a tab-separated file into an R package

    4. D

      It retains unique district-and-school combinations

    Correct answer
    D

    It retains unique district-and-school combinations

    Explanation

    After filtering to San Diego, distinct was used with district and school so that only one row remained for each unique school within its district.

  26. 26

    Why were both district and school used with distinct?

    1. A

      Using two variables causes R to retain every duplicate observation

    2. B

      District names were needed to calculate a standard deviation for every ethnicity

    3. C

      School names were needed to identify the county before filtering

    4. D

      Some schools shared names, so the district helped identify the correct school uniquely

    Correct answer
    D

    Some schools shared names, so the district helped identify the correct school uniquely

    Explanation

    The speaker noted that some schools had the same name in different districts, so the district-and-school combination was used to identify unique schools.

  27. 27

    How many unique schools remained after filtering and deduplicating the San Diego data?

    1. A

      223 schools

    2. B

      50 schools

    3. C

      795 schools

    4. D

      10 schools

    Correct answer
    C

    795 schools

    Explanation

    After retaining unique district-and-school combinations within San Diego County, the data set contained 795795795 schools.

  28. 28

    Why does counting the district variable produce the number of schools per district after deduplication?

    1. A

      The district variable contains the school count as a numeric value

    2. B

      Each district appears once, so counting districts directly measures enrollment

    3. C

      Each school appears once, so a district's number of rows equals its number of schools

    4. D

      The count function automatically knows the number of schools from their names

    Correct answer
    C

    Each school appears once, so a district's number of rows equals its number of schools

    Explanation

    Once each row represents one unique school, a district appears once for every school it contains. Therefore, counting district occurrences gives the number of schools per district.

  29. 29

    What did the count of district occurrences reveal about San Diego districts?

    1. A

      Every district had approximately the same number of schools

    2. B

      The count showed that school names were more important than districts

    3. C

      Districts did not have the same or even similar numbers of schools

    4. D

      Only one district had any schools after data preparation

    Correct answer
    C

    Districts did not have the same or even similar numbers of schools

    Explanation

    The count showed substantial variation, with San Diego Unified having far more schools than Chula Vista and other districts.

  30. 30

    What does the filter function do in the demonstrated workflow?

    1. A

      It calculates the standard deviation of a data set

    2. B

      It creates a graphic from a numeric variable

    3. C

      It combines narrative text with executable code

    4. D

      It keeps observations that satisfy a specified condition

    Correct answer
    D

    It keeps observations that satisfy a specified condition

    Explanation

    The speaker used filter to retain rows belonging to San Diego County and later to retain the highest-ranked districts.

  31. 31

    Why was the visualization reduced to roughly the top ten districts?

    1. A

      R can create bar charts only when there are ten observations

    2. B

      The remaining districts had missing school-count values

    3. C

      Displaying all approximately 505050 districts could make the graphic difficult to interpret

    4. D

      The top ten districts were the only districts in San Diego County

    Correct answer
    C

    Displaying all approximately 505050 districts could make the graphic difficult to interpret

    Explanation

    The speaker reduced the display to the largest districts because a visualization with about 505050 rows could become cluttered.

  32. 32

    What is the purpose of the min_rank function in the visualization preparation?

    1. A

      It removes all districts with fewer than ten schools

    2. B

      It ranks values so observations meeting a top-ranking condition can be selected

    3. C

      It converts district names into numerical identifiers

    4. D

      It computes the minimum enrollment for every school

    Correct answer
    B

    It ranks values so observations meeting a top-ranking condition can be selected

    Explanation

    min_rank was used to rank the school counts and select the highest-ranked districts for the top-district visualization.

  33. 33

    Why did the demonstration use a bar chart?

    1. A

      Bar charts eliminate the need to prepare the underlying data

    2. B

      Bar charts automatically establish causal relationships between variables

    3. C

      Bar charts are the only graphics supported by R Markdown

    4. D

      People can compare bar lengths quickly to grasp differences in magnitude

    Correct answer
    D

    People can compare bar lengths quickly to grasp differences in magnitude

    Explanation

    The speaker chose a bar chart because visual comparison of lengths allows the magnitude of differences to be understood quickly.

  34. 34

    What is ggplot used for in the demonstration?

    1. A

      Removing duplicate district-and-school combinations

    2. B

      Creating visualizations by building a graphic in layers

    3. C

      Importing tab-separated data into computer memory

    4. D

      Calculating the average and standard deviation

    Correct answer
    B

    Creating visualizations by building a graphic in layers

    Explanation

    ggplot was used to create the bar chart, and the speaker emphasized that graphics can be built by adding layers.

  35. 35

    What does geom_bar contribute to the demonstrated ggplot graphic?

    1. A

      It filters the data to one county

    2. B

      It adds bars representing the district school counts

    3. C

      It calculates the mean of all district counts

    4. D

      It reorders the district names alphabetically

    Correct answer
    B

    It adds bars representing the district school counts

    Explanation

    geom_bar adds the bars to the previously created plotting grid.

  36. 36

    Why was the bar chart's axis orientation flipped?

    1. A

      Turning the chart made the district labels easier to read

    2. B

      Flipping the chart removed the need to rank the districts

    3. C

      Turning the chart changed the data from schools to students

    4. D

      Flipping the chart converted counts into percentages

    Correct answer
    A

    Turning the chart made the district labels easier to read

    Explanation

    The speaker used coordinate flipping to make the district labels and the comparison of bars more readable.

  37. 37

    What two summary statistics were calculated for the district school counts?

    1. A

      The range and the probability value

    2. B

      The mode and the regression coefficient

    3. C

      The median and the correlation

    4. D

      The mean and the standard deviation

    Correct answer
    D

    The mean and the standard deviation

    Explanation

    The analysis used the mean to estimate the average number of schools and the standard deviation to quantify variation among districts.

  38. 38

    What did the analysis estimate as the average number of schools per San Diego district?

    1. A

      Approximately 505050 schools

    2. B

      Approximately 223223223 schools

    3. C

      Approximately 161616 schools

    4. D

      Approximately 323232 schools

    Correct answer
    C

    Approximately 161616 schools

    Explanation

    The calculated average number of schools per district was approximately 161616.

  39. 39

    What did the standard deviation of approximately 323232 indicate in this analysis?

    1. A

      District school counts varied substantially around the average

    2. B

      Every district had exactly 323232 schools

    3. C

      The data set contained 323232 districts

    4. D

      The average number of schools was incorrectly calculated

    Correct answer
    A

    District school counts varied substantially around the average

    Explanation

    A standard deviation of approximately 323232 relative to an average of about 161616 indicates considerable variation in school counts across districts.

  40. 40

    Why should the average of approximately 161616 schools be interpreted cautiously?

    1. A

      An average can never be used with school-count data

    2. B

      The data contained no observations from San Diego County

    3. C

      The average was calculated before the data was imported

    4. D

      The substantial variation means the average does not describe every district well

    Correct answer
    D

    The substantial variation means the average does not describe every district well

    Explanation

    Because district school counts varied greatly, the average alone could give a misleading impression of what a typical district contains.

  41. 41

    What planning problem could result from buying the same number of materials for every district?

    1. A

      Some districts could lack sufficient materials because their school counts are much larger

    2. B

      Every district would automatically receive more materials than needed

    3. C

      The average would become impossible to calculate after materials were purchased

    4. D

      Materials could not be distributed unless districts had equal enrollment

    Correct answer
    A

    Some districts could lack sufficient materials because their school counts are much larger

    Explanation

    Large districts, especially San Diego Unified, have many more schools than smaller districts, so a uniform allocation could leave them short of materials.

  42. 42

    What comparison did the speaker use to emphasize the unusually large size of San Diego Unified?

    1. A

      Its enrollment was seven times the statewide enrollment

    2. B

      Its difference from the next-largest district was about seven standard deviations

    3. C

      Its average was seven schools larger than every other district

    4. D

      Its school count was exactly seven times the number of districts

    Correct answer
    B

    Its difference from the next-largest district was about seven standard deviations

    Explanation

    For a statistically knowledgeable audience, the speaker described the difference between San Diego Unified and the next-largest district as approximately seven standard deviations.

  43. 43

    What is one major advantage of code over a one-time spreadsheet analysis?

    1. A

      Code guarantees that the original question is important

    2. B

      Code eliminates the need for human judgment in interpretation

    3. C

      Code provides a reusable procedure that can be applied to new data

    4. D

      Code always produces results faster than a calculator

    Correct answer
    C

    Code provides a reusable procedure that can be applied to new data

    Explanation

    The speaker compares code to a recipe: it provides not only the final result but also reusable steps that can be applied to other data.

  44. 44

    Which example demonstrates the scalability of the analysis code?

    1. A

      Replacing the data with a smaller sample to avoid repeated computation

    2. B

      Using the code only once and discarding it after the report is finished

    3. C

      Applying the same code to ten years of data to examine changes over time

    4. D

      Rewriting the entire analysis manually for every individual district

    Correct answer
    C

    Applying the same code to ten years of data to examine changes over time

    Explanation

    The speaker explains that the same code could be applied separately to ten years of data to examine whether the average and standard deviation changed over time.

  45. 45

    How could the same code be used to broaden the geographic scope of the analysis?

    1. A

      It could be applied to the entire state or to every county for comparison

    2. B

      It could broaden the scope only by converting the data into a presentation

    3. C

      It could compare counties only after removing the district variable

    4. D

      It could be used only for San Diego because the code contains fixed statewide limits

    Correct answer
    A

    It could be applied to the entire state or to every county for comparison

    Explanation

    The speaker notes that the code could be adapted to analyze the entire state or each county in the state and then compare the results.

  46. 46

    What reporting task could be automated with reusable R Markdown code?

    1. A

      Determining whether a district's data are ethically collected

    2. B

      Replacing all communication with district administrators

    3. C

      Choosing which educational goals a county should adopt

    4. D

      Generating customized reports for individual counties

    Correct answer
    D

    Generating customized reports for individual counties

    Explanation

    The speaker identifies customized county reports as an example of a task that could be produced using the same code and R Markdown structure.

  47. 47

    Why might a calculator or pivot table be preferable to code for the simplified demonstration?

    1. A

      Calculators can analyze more complex data structures than code

    2. B

      A simpler tool may be more efficient for a small, one-time calculation

    3. C

      Code cannot calculate averages or standard deviations

    4. D

      Pivot tables automatically provide a reproducible programming recipe

    Correct answer
    B

    A simpler tool may be more efficient for a small, one-time calculation

    Explanation

    The speaker acknowledges that simpler tools could produce the demonstrated average and standard deviation more easily; code becomes especially valuable when the work must be repeated or scaled.

  48. 48

    What does reproducible analysis provide in addition to a final result?

    1. A

      A guarantee that the result applies to every population

    2. B

      A replacement for the analyst's interpretation

    3. C

      The steps or recipe used to produce the result

    4. D

      A requirement that all users adopt the same data

    Correct answer
    C

    The steps or recipe used to produce the result

    Explanation

    Code preserves the procedure used to create the analysis, allowing others to inspect, modify, and reuse the process.

  49. 49

    Which statement best distinguishes an R script from an R Markdown document?

    1. A

      An R script is used for spreadsheets, while R Markdown is used only for databases

    2. B

      An R script automatically produces reports, while R Markdown cannot run code

    3. C

      An R script primarily contains executable R code, while R Markdown combines code with narrative and output

    4. D

      An R script can contain only graphics, while R Markdown can contain only data

    Correct answer
    C

    An R script primarily contains executable R code, while R Markdown combines code with narrative and output

    Explanation

    The discussion distinguishes a typical R script, often used for code such as data preparation or CSV output, from R Markdown, which combines code, text, tables, graphs, and report generation.

  50. 50

    What is one benefit of using R Markdown for sharing an analysis?

    1. A

      The document prevents graphics from being included with the analysis

    2. B

      The document requires readers to reconstruct the data manually

    3. C

      Readers can see the explanation, code, and results together

    4. D

      Readers are shown only the final number without technical details

    Correct answer
    C

    Readers can see the explanation, code, and results together

    Explanation

    R Markdown keeps the narrative, code, and analytical graphics together, making the analysis easier to communicate and inspect.

Question 1 of 50
Question 1 of 50

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent