1. Home
  2. Explore
  3. Computer Science
  4. Data Types and Structures

Study methods

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

Data Types and Structures

  • 76Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Preparing Data

What are the six steps in the data analysis process described in the content?

76 questions

  1. 1

    What are the six steps in the data analysis process described in the content?

    Model answer

    The steps are ask, prepare, process, analyze, share, and act.

    Explanation

    The content identifies these steps as the overall process and focuses on preparing data next.

  2. 2

    Why does a data analyst need to understand data types and structures before analyzing data?

    Model answer

    Understanding them helps an analyst choose data that fits the question and determine how to extract, use, organize, and protect it.

    Explanation

    The content connects knowledge of data types and structures to selecting and handling appropriate data.

  3. 3

    How should an analyst decide whether data is suitable for a business problem?

    Model answer

    The data should apply to the need, help answer the question or solve the problem, and be approved for use.

    Explanation

    The content emphasizes relevance and approval, and cautions analysts not to be distracted by unrelated data.

  4. 4

    What is the purpose of checking data for bias and credibility?

    Model answer

    These checks help an analyst judge whether the data can be trusted and used appropriately for the analysis.

    Explanation

    The content says analysts should analyze data for bias and credibility and inspect it for accuracy and trustworthiness.

  5. 5

    How did the healthcare analytics example use data to investigate Medicare enrollment?

    Model answer

    It compared Medicare enrollment data over time with Google searches about Medicare plans to investigate changes in enrollment and demand.

    Explanation

    The example connects enrollment trends to how people research Medicare plans online.

  6. 6

    What ethical considerations were important in the Medicare search analysis?

    Model answer

    The analyst needed to consider relevance and validity, access and equity, and the privacy of people conducting searches.

    Explanation

    The content names these considerations as necessary when using the data.

  7. 7

    What made the results of the healthcare analysis useful?

    Model answer

    The findings provided useful information to medical professionals and their patients.

    Explanation

    The content describes this usefulness as the outcome of the analysis.

  8. 8

    Why should data be organized and protected?

    Model answer

    Organized data is easier to work with, and data should also be protected when it is organized for analysis.

    Explanation

    The content states that data works best when organized and links organizing it with protecting it.

  9. 9

    Which tools are identified for extracting data from a database?

    Model answer

    The tools are spreadsheets and SQL.

    Explanation

    The content describes using these familiar tools to extract data from a database.

  10. 10

    Why is patience important when developing data analysis skills?

    Model answer

    Learning and applying the skills takes time and practice.

    Explanation

    The content compares the learning process to other worthwhile activities that require practice.

  11. 11

    How can everyday online activity generate data?

    Model answer

    Activities such as sending messages and emails, searching online, viewing videos, and using social media create data.

    Explanation

    The content gives these activities as examples of the large amount of data generated around the world.

  12. 12

    How can one digital photo contain multiple pieces of data?

    Model answer

    The photo itself is a piece of data, and details such as its pixels and the colors in those pixels provide additional data.

    Explanation

    The content uses digital photos to show that an item of data can contain many informative details.

  13. 13

    What is one way data can be generated besides being produced through everyday activity?

    Model answer

    Data can be generated by collecting information, such as through forms, interviews, surveys, or observations.

    Explanation

    The content distinguishes collection-based data generation from data produced through activity in the world.

  14. 14

    Why must collecting information take ethics into account?

    Model answer

    Collection should respect people's rights and protect their privacy.

    Explanation

    The content explicitly links ethical data collection with maintaining rights and privacy.

  15. 15

    How does the U.S. Census Bureau use data collected on forms?

    Model answer

    It collects population information that can inform funding for services such as schools, hospitals, and fire departments.

    Explanation

    The content gives these public services as examples of how census data is used.

  16. 16

    What is one purpose of the Census Bureau's annual business survey?

    Model answer

    It helps identify businesses' needs and determine what resources could help them succeed.

    Explanation

    The content describes the survey as a source of information about business needs and support.

  17. 17

    How can survey data help healthcare organizations?

    Model answer

    Surveys can reveal how patients feel about healthcare topics, helping organizations improve the care patients receive.

    Explanation

    The content gives a survey comparing telemedicine with in-person visits as an example.

  18. 18

    How can an interview generate data for both an interviewer and an interviewee?

    Model answer

    The interviewer can collect information about a candidate to guide a hiring decision, while the candidate can collect information about the company to decide whether it is a good fit.

    Explanation

    The content presents an interview as an exchange in which both sides can gather useful information.

  19. 19

    How do scientists generate data through observation?

    Model answer

    They observe subjects or phenomena, such as animal behavior or bacteria under a microscope, and record information about them.

    Explanation

    The content identifies observation as a way scientists collect data.

  20. 20

    What are cookies, and how can they be used?

    Model answer

    Cookies are small files stored on computers that contain information about users; they can help websites remember preferences and inform advertisers about interests or habits.

    Explanation

    The content describes cookies as a way online data can be generated indirectly through users' activity.

  21. 21

    What does first-party data mean?

    Model answer

    First-party data is collected by an individual or group using its own resources.

    Explanation

    The content defines this data by who collects it and the resources used.

  22. 22

    Why is first-party data typically preferred?

    Model answer

    It is typically preferred because the collector knows exactly where the data came from.

    Explanation

    Knowing the origin gives the collector direct context about the data.

  23. 23

    What is second-party data?

    Model answer

    It is data collected directly from an organization's audience and then sold.

    Explanation

    The content distinguishes second-party data from data that the analyst collects personally.

  24. 24

    In the traffic example, how could an analyst obtain second-party data?

    Model answer

    The analyst could buy data from an organization that conducted traffic-pattern studies in the city.

    Explanation

    The example shows second-party data as data collected by another group and then purchased.

  25. 25

    What is third-party data, and why might it be less reliable?

    Model answer

    Third-party data comes from outside sources that did not collect it directly; it may have passed through multiple sources before reaching the analyst.

    Explanation

    Its indirect path can make its origin and reliability less certain.

  26. 26

    Does the possibility of lower reliability make third-party data useless?

    Model answer

    No. It can still be useful, but the analyst should check it for accuracy, bias, and credibility.

    Explanation

    The content cautions against assuming third-party data is unusable while emphasizing careful evaluation.

  27. 27

    What is internal data?

    Model answer

    Internal data is data that lives within a company's own systems.

    Explanation

    The content uses a movie studio's internally collected spreadsheet as an example.

  28. 28

    What is external data?

    Model answer

    External data lives and is generated outside an organization.

    Explanation

    Data gathered from other studios or sources would be external to a movie studio.

  29. 29

    When can external data be particularly valuable?

    Model answer

    It can be especially valuable when an analysis depends on information from as many sources as possible.

    Explanation

    External data can expand the range of information available beyond an organization's own systems.

  30. 30

    What is a population in data analytics?

    Model answer

    A population is all possible data values in a particular data set.

    Explanation

    For city traffic analysis, the population could be all of the cars in the area.

  31. 31

    What is a sample, and how should it relate to the population?

    Model answer

    A sample is part of a population and should be representative of that population.

    Explanation

    A representative sample is intended to reflect the larger group being studied.

  32. 32

    Why might an analyst use a sample instead of collecting data from an entire population?

    Model answer

    Collecting data from the entire population can be challenging, so a sample can provide a more manageable basis for analysis.

    Explanation

    The content presents sampling as a useful alternative when full-population collection is difficult.

  33. 33

    What are two possible ways to select a traffic data sample?

    Model answer

    An analyst could collect data from one location in the city or draw a random sample from the existing population data.

    Explanation

    The content gives both approaches and says the choice depends on the project.

  34. 34

    What factors can narrow an analyst's choices about which data to use?

    Model answer

    The needed data may be provided, or the business task or problem may narrow the choices.

    Explanation

    These conditions can give an analyst a head start in selecting relevant data.

  35. 35

    Why should an analyst consider how data will be collected?

    Model answer

    The collection method affects what data is obtained and can help the analyst plan an efficient analysis.

    Explanation

    The content advises identifying collection methods and notes that knowing how data was collected adds context.

  36. 36

    In the traffic example, why would financial data be less useful than records of high-volume traffic times?

    Model answer

    Records of high-volume traffic times directly relate to the question about rush-hour traffic, while financial data does not.

    Explanation

    The example illustrates choosing data that applies to the problem rather than collecting unrelated information.

  37. 37

    What does it mean to choose the appropriate data type for a collection task?

    Model answer

    It means selecting a type suited to the information and the analysis, such as storing traffic-record dates in a date format.

    Explanation

    Date-formatted records can help identify which days of the week are likely to have heavy traffic.

  38. 38

    How does the time frame for data collection affect an analysis?

    Model answer

    If an answer is needed immediately, an analyst may need to use historical data; tracking patterns over time may require a different collection plan.

    Explanation

    The time frame can affect other decisions made during data collection.

  39. 39

    What is historical data?

    Model answer

    Historical data is data that already exists.

    Explanation

    The content identifies existing data as the option to use when an answer is needed immediately.

  40. 40

    What is qualitative data?

    Model answer

    Qualitative data is information that cannot be counted, measured, or easily expressed using numbers; it is often a name, category, or description.

    Explanation

    Movie titles and cast members are examples of qualitative data.

  41. 41

    What is quantitative data?

    Model answer

    Quantitative data can be counted or measured and expressed as a number.

    Explanation

    A movie's budget and box-office revenue are quantitative because they are numerical amounts.

  42. 42

    How do discrete and continuous data differ?

    Model answer

    Discrete data is counted and has a limited number of values, while continuous data is measured and can take values across a range, including decimal values.

    Explanation

    The content contrasts countable values with measured values that can include finer decimal precision.

  43. 43

    Why does the content classify a movie's budget and box-office revenue as discrete data in its example?

    Model answer

    It treats them as countable amounts with a limited set of possible values, represented to the nearest cent.

    Explanation

    The example says there cannot be a value between one cent and two cents when amounts are recorded in cents.

  44. 44

    Why can a movie's runtime be treated as continuous data?

    Model answer

    Runtime is measured and can be recorded with several decimal places or additional fractional detail.

    Explanation

    The example gives a runtime with multiple digits after the decimal to illustrate measurement precision.

  45. 45

    What is nominal data?

    Model answer

    Nominal data is qualitative data placed into categories without a set order.

    Explanation

    Responses such as yes, no, or not sure are nominal because the categories have no particular sequence.

  46. 46

    What is ordinal data?

    Model answer

    Ordinal data is qualitative data arranged in a set order or scale.

    Explanation

    Movie ratings from one to five are ordinal because the values represent an ordered ranking.

  47. 47

    How do nominal and ordinal data differ?

    Model answer

    Nominal categories have no inherent order, whereas ordinal categories have a meaningful order or scale.

    Explanation

    A yes/no response is unordered, while a ranking indicates relative position.

  48. 48

    What is structured data?

    Model answer

    Structured data is organized in a defined format, such as rows and columns.

    Explanation

    Spreadsheets and relational databases can store data in this format.

  49. 49

    How does a structure or framework make data easier to use?

    Model answer

    It makes data more easily searchable and ready for analysis.

    Explanation

    The content compares structured data's framework to an organized approach to solving a problem.

  50. 50

    What is unstructured data?

    Model answer

    Unstructured data is not organized in an easily identifiable manner and does not fit neatly into rows and columns.

    Explanation

    Audio and video files are examples, even though they may have internal structure.

  51. 51

    Why can unstructured data be harder to analyze in its original form?

    Model answer

    Its content lacks an easily identifiable organization, making it harder to organize and analyze directly.

    Explanation

    The content notes that data such as audio, video, emails, and photos can be harder to analyze while unstructured.

  52. 52

    What is a data model?

    Model answer

    A data model organizes data elements and describes how they relate to one another.

    Explanation

    The model provides a map for the organization of data.

  53. 53

    What are data elements, and what are some examples?

    Model answer

    Data elements are individual pieces of information, such as names, account numbers, and addresses.

    Explanation

    These are examples of the information that a data model helps organize.

  54. 54

    How do data models help keep data consistent and understandable?

    Model answer

    They provide a consistent organization and a map of how data is arranged, helping analysts and stakeholders make sense of it.

    Explanation

    The content connects this consistency and organization to using data for business purposes.

  55. 55

    How can structured data support analysis and visualization?

    Model answer

    It can be entered, queried, and analyzed in databases, and applied to visualizations such as charts, graphs, heat maps, and dashboards.

    Explanation

    Its organized format makes it easier to use in both analytical tools and visual representations.

  56. 56

    What is a data type?

    Model answer

    A data type identifies the kind of value a data attribute contains.

    Explanation

    Knowing the data type tells an analyst what kind of data they are working with.

  57. 57

    Why can data types differ between query languages or databases?

    Model answer

    Different query languages and databases can support or classify different data types.

    Explanation

    The content notes that SQL data types can depend on the database being used.

  58. 58

    What three data types are used in the spreadsheet examples?

    Model answer

    They are number, text or string, and Boolean.

    Explanation

    The content notes that spreadsheet programs may classify data differently, but these types cover most spreadsheet data.

  59. 59

    What does a number data type represent in a spreadsheet?

    Model answer

    It represents numerical values that can be used as numbers, such as search-interest values or amounts that can be calculated.

    Explanation

    The content uses search-interest figures and movie budgets as numerical examples.

  60. 60

    What is a text or string data type?

    Model answer

    It is a sequence of characters and punctuation containing textual information.

    Explanation

    Names and treat labels are examples; text may also include digits that are not used in calculations, such as phone numbers.

  61. 61

    Why might digits in a phone number or street address be treated as text rather than as numbers?

    Model answer

    They identify or describe information rather than represent quantities intended for calculation.

    Explanation

    The content says such numbers are treated as text when they are not used for calculations.

  62. 62

    What is a Boolean data type?

    Model answer

    A Boolean data type has only two possible values, such as true and false.

    Explanation

    A spreadsheet formula can produce Boolean values by testing whether a condition is met.

  63. 63

    How can a spreadsheet formula produce Boolean data from search-interest values?

    Model answer

    It can test whether each value meets a condition, such as whether search interest is at least 50, and return true or false.

    Explanation

    A value below 50 returns false for that condition, while the possible Boolean outcomes remain two-valued.

  64. 64

    Why can a formula that averages text values produce an error?

    Model answer

    Averaging requires numerical data, so applying the calculation to text or string values is not appropriate.

    Explanation

    The content contrasts a successful average of number data with an error when using text data.

  65. 65

    What is tabular data?

    Model answer

    Tabular data is data arranged in a table with rows and columns.

    Explanation

    A playlist, calendar agenda, and email inbox are given as familiar examples of table-like arrangements.

  66. 66

    What do records and fields represent in a data table?

    Model answer

    Records are the individual entries, and fields are the categories or pieces of information recorded for each entry.

    Explanation

    In a playlist, each song is a record and characteristics such as title and artist are fields.

  67. 67

    How do the terms rows and columns relate to records and fields?

    Model answer

    Rows and columns usually refer to spreadsheets, while records and fields are commonly used for data tables and structured databases.

    Explanation

    The terms can express similar ideas, and the content notes that field can sometimes also mean a single data value.

  68. 68

    What should be consistent about records in the same data table?

    Model answer

    Each record should contain the same fields in the same order.

    Explanation

    This gives each entry the same set of information, such as the same characteristics for every song in a playlist.

  69. 69

    Can different fields in one table have different data types?

    Model answer

    Yes. Each field has a consistent data type, but different fields can have different types.

    Explanation

    For example, song titles can be text, lengths can be numbers or date-and-time values, and favorites can be Boolean.

  70. 70

    What does a cell value represent in a spreadsheet?

    Model answer

    It contains a specific piece of data, such as a client's address or an invoice's dollar amount.

    Explanation

    The content distinguishes these individual values from the records and fields that organize them.

  71. 71

    What is wide data?

    Model answer

    Wide data gives each subject one row, with multiple columns holding values for the subject's attributes.

    Explanation

    In the population example, each country occupies one row and the years are separate columns.

  72. 72

    What are two advantages of wide data in the population example?

    Model answer

    It makes it easy to compare different variables or years across countries and to identify values in particular columns.

    Explanation

    The example uses the format to compare country populations and find high or low values for selected years.

  73. 73

    What is long data?

    Model answer

    Long data places each subject-time-point combination in a separate row, so each subject appears in multiple rows when it has multiple time points.

    Explanation

    In the population example, each country appears once for each year of data.

  74. 74

    Why can long data be useful when tracking multiple variables over time?

    Model answer

    It stores the observations in a compact format using fewer columns, and adding a new variable requires only one additional column.

    Explanation

    The content contrasts this with wide data, where adding a variable across many years could require a separate column for each year.

  75. 75

    How might an analyst transform a population data set from wide to long format?

    Model answer

    The analyst could move the year headings into a single year column and place each country's value for each year in a separate row.

    Explanation

    This changes the layout from one row per country with many year columns to multiple rows per country.

  76. 76

    Is wide or long data always the better format?

    Model answer

    No. The appropriate format depends on the analysis, and analysts may need to work with or transform between both formats.

    Explanation

    The content states that the choice depends on the situation and that both formats may be used in data work.

1 of 76
Question 1 of 76

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent