Data Types and Structures
- 73Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Which sequence gives the data analysis process steps in the order presented?
Which sequence gives the data analysis process steps in the order presented?
73 questions
- 1
Which sequence gives the data analysis process steps in the order presented?
- A
Ask, process, prepare, share, analyze, and act
- B
Prepare, ask, analyze, process, act, and share
- C
Analyze, ask, prepare, process, share, and act
- D
Ask, prepare, process, analyze, share, and act
Correct answer
DAsk, prepare, process, analyze, share, and act
Explanation
The process is presented as ask, prepare, process, analyze, share, and act.
- A
- 2
Why should an analyst understand data types and data structures before using data?
- A
To ensure every project uses the same data format
- B
To match data to the question and handle it appropriately
- C
To guarantee that the data will prove the original hypothesis
- D
To avoid collecting data from more than one source
Correct answer
BTo match data to the question and handle it appropriately
Explanation
Understanding data types and structures helps analysts choose data suited to their question and develop skills for extracting, using, organizing, and protecting it.
- A
- 3
In the Medicare example, what relationship was the analyst investigating?
- A
How Medicare enrollment trends relate to Google searches about Medicare plans
- B
How Google searches replace enrollment records when measuring demand
- C
How hospital budgets relate to the number of Medicare doctors
- D
How patients' search histories determine their eligibility for Medicare
Correct answer
AHow Medicare enrollment trends relate to Google searches about Medicare plans
Explanation
The analyst examined Medicare enrollment data over time and connected it with how people research Medicare plans on Google.
- A
- 4
Which set of considerations did the analyst identify as important when using search and enrollment data?
- A
Relevance, validity, access, equity, and searcher privacy
- B
Enrollment growth, search ranking, and public disclosure of identities
- C
Popularity, advertising cost, speed, and brand recognition
- D
File size, color coding, spreadsheet layout, and survey length
Correct answer
ARelevance, validity, access, equity, and searcher privacy
Explanation
The analyst emphasized relevant and valid data, questions of access and equity, and protecting the privacy of people conducting searches.
- A
- 5
What made the findings in the Medicare example useful?
- A
They could help medical professionals and their patients
- B
They focused only on increasing advertising revenue
- C
They identified the private search histories of individual patients
- D
They replaced the need for health care professionals to make decisions
Correct answer
AThey could help medical professionals and their patients
Explanation
The example describes the findings as useful to medical professionals and their patients.
- A
- 6
Which pair of tools was identified for extracting data from databases?
- A
Spreadsheets and SQL
- B
Surveys and interview forms
- C
Audio editors and video players
- D
Email and presentation software
Correct answer
ASpreadsheets and SQL
Explanation
The course content identifies spreadsheets and SQL as tools learners can use to extract data from a database.
- A
- 7
Why is organizing data closely connected to protecting it?
- A
Organized data is automatically anonymous and needs no safeguards
- B
Organizing data prevents it from being used for analysis
- C
The content advises protecting data as part of organizing it
- D
Protection is necessary only when data is stored outside a company
Correct answer
CThe content advises protecting data as part of organizing it
Explanation
The content states that data works best when organized and that data should be protected when it is being organized.
- A
- 8
Which description best captures how data is generated in everyday life?
- A
It exists only after information has been arranged in a database
- B
It is created only by computers and not by human activity
- C
It is often produced as a result of people's activities
- D
It is produced only when analysts deliberately run a survey
Correct answer
CIt is often produced as a result of people's activities
Explanation
The content explains that data is usually generated as a result of our activity in the world, including online activity.
- A
- 9
Why can a digital photo be considered to contain many pieces of data?
- A
Each photo is a single fact with no information about its contents
- B
A photo becomes data only when it is uploaded to social media
- C
The photo is data, and its pixels and colors contain further information
- D
A photo contains data only if its file name includes a date
Correct answer
CThe photo is data, and its pixels and colors contain further information
Explanation
The content describes each digital photo as one piece of data and notes that its pixels and their colors hold additional data.
- A
- 10
What ethical concern should be considered when collecting information from people?
- A
Limiting collection to information that can be expressed as numbers
- B
Maintaining people's rights and privacy
- C
Making all collected information publicly identifiable
- D
Ensuring that every response supports the organization's goals
Correct answer
BMaintaining people's rights and privacy
Explanation
Data collection should be conducted ethically, with consideration for people's rights and privacy.
- A
- 11
Why does the U.S. Census Bureau collect population information?
- A
It allows the Bureau to determine individual people's online preferences
- B
It can help inform funding for services such as schools, hospitals, and fire departments
- C
It replaces the need for local organizations to assess community needs
- D
It is used exclusively to decide which businesses can operate
Correct answer
BIt can help inform funding for services such as schools, hospitals, and fire departments
Explanation
The content says Census population data is used for purposes including funding schools, hospitals, and fire departments.
- A
- 12
What is one purpose of the Census Bureau's annual business survey?
- A
To understand businesses' needs and how to provide resources to help them succeed
- B
To record the daily behavior of every employee at each business
- C
To determine which businesses should collect population census data
- D
To identify which consumers have searched for specific products
Correct answer
ATo understand businesses' needs and how to provide resources to help them succeed
Explanation
The annual business survey helps identify businesses' needs and ways to provide resources that support their success.
- A
- 13
What type of information was collected in the example survey about telemedicine?
- A
Patients' feelings about telemedicine compared with in-person visits
- B
The exact search histories of patients who used telemedicine
- C
The cost of every medical appointment in the country
- D
The number of pixels in images of doctors' offices
Correct answer
APatients' feelings about telemedicine compared with in-person visits
Explanation
The example survey asked patients how they felt about telemedicine versus in-person doctor visits.
- A
- 14
How can data collection work during a job interview?
- A
Neither person collects data unless they use a formal questionnaire
- B
The hiring manager gathers information about a candidate, and the candidate can gather information about the company
- C
Only the hiring manager collects data, because candidates cannot evaluate employers
- D
The candidate collects data only after receiving a job offer
Correct answer
BThe hiring manager gathers information about a candidate, and the candidate can gather information about the company
Explanation
The example describes both sides collecting information: the manager learns about the candidate, while the candidate can assess the company and prepare questions.
- A
- 15
Which activity is an example of scientists generating data through observation?
- A
Converting a spreadsheet's rows into a database table
- B
Sorting a movie spreadsheet by box-office revenue
- C
Studying animal behavior or viewing bacteria under a microscope
- D
Using a cookie to remember a website preference
Correct answer
CStudying animal behavior or viewing bacteria under a microscope
Explanation
Scientists may generate data by observing animal behavior or examining bacteria under a microscope.
- A
- 16
What are cookies in the context of online data?
- A
Programs that turn unstructured videos into spreadsheet columns
- B
Survey forms that users must complete before visiting a website
- C
Small files stored on computers that contain information about users
- D
Database tables that store only a user's real name and address
Correct answer
CSmall files stored on computers that contain information about users
Explanation
Cookies are described as small files stored on computers that contain information about users.
- A
- 17
How can cookies help explain personalized online advertisements?
- A
They can inform advertisers about interests and habits based on online activity
- B
They record only purchases and cannot reflect browsing activity
- C
They provide advertisers with a guaranteed, personally identifying record of every user
- D
They replace all other sources of information about consumer interests
Correct answer
AThey can inform advertisers about interests and habits based on online activity
Explanation
Cookies can inform advertisers about personal interests and habits based on online surfing, without personally identifying the user as described in the content.
- A
- 18
What distinguishes first-party data from the other source categories?
- A
It is data that has been organized into rows and columns
- B
It is collected by a group from its audience and then sold
- C
It is collected by an individual or group using its own resources
- D
It is gathered by outside sources that did not collect it directly
Correct answer
CIt is collected by an individual or group using its own resources
Explanation
First-party data is collected by an individual or group using its own resources.
- A
- 19
A city analyst buys traffic data from an organization that conducted local traffic studies. How is that data described?
- A
Third-party data
- B
First-party data
- C
Internal data
- D
Second-party data
Correct answer
DSecond-party data
Explanation
Second-party data is collected directly from an audience by a group and then sold; the traffic-study organization is the direct collector in this example.
- A
- 20
What is a common concern with third-party data?
- A
It is guaranteed to be more reliable than first-party data
- B
It cannot be useful for any kind of analysis
- C
It is always collected directly by the analyst's own organization
- D
It may pass through multiple sources before the analyst investigates it
Correct answer
DIt may pass through multiple sources before the analyst investigates it
Explanation
Third-party data comes from outside sources that did not collect it directly and may have passed through several sources, which can affect reliability.
- A
- 21
What should an analyst do before relying on third-party data?
- A
Convert it to a spreadsheet before evaluating its source
- B
Assume it is reliable because it has already been collected
- C
Check it for accuracy, bias, and credibility
- D
Discard it without considering whether it fits the task
Correct answer
CCheck it for accuracy, bias, and credibility
Explanation
The content advises checking third-party data for accuracy, bias, and credibility because its reliability may be uncertain.
- A
- 22
Which rule applies regardless of whether data is first-, second-, or third-party?
- A
Use it only if it was collected by a government agency
- B
Inspect it for accuracy and trustworthiness
- C
Assume it is appropriate if it is available to the analyst
- D
Avoid checking it for bias if it comes from an experienced source
Correct answer
BInspect it for accuracy and trustworthiness
Explanation
The content says all kinds of data need to be inspected for accuracy and trustworthiness.
- A
- 23
Which data would be most directly relevant to investigating rush-hour traffic patterns?
- A
A list of residents' favorite social media platforms
- B
Records of high-volume traffic times
- C
Movie budgets from local theaters
- D
A city's financial records unrelated to transportation
Correct answer
BRecords of high-volume traffic times
Explanation
The traffic example identifies existing information about high-volume traffic times as useful, while unrelated financial data would not help much.
- A
- 24
Besides fitting the analytical need, what must chosen data satisfy?
- A
It must be approved for use
- B
It must include every possible variable
- C
It must be presented in a continuous data format
- D
It must be collected by the analyst personally
Correct answer
AIt must be approved for use
Explanation
The content states that data should apply to the need and must be approved for use.
- A
- 25
If an analyst needs an answer immediately and cannot wait to observe traffic over time, what data may be needed?
- A
Only data collected from future traffic observations
- B
Unstructured video data that has not been reviewed
- C
Historical data that already exists
- D
A random sample that has not yet been drawn
Correct answer
CHistorical data that already exists
Explanation
Historical data already exists, making it an option when an answer is needed immediately.
- A
- 26
What does population mean in data analytics?
- A
A small group selected from a data set
- B
All possible data values in a particular data set
- C
Only the people who responded to a survey
- D
The values that are easiest to collect
Correct answer
BAll possible data values in a particular data set
Explanation
A population is all possible data values in a certain data set.
- A
- 27
In a study of car traffic in a city, what would the population be in the example provided?
- A
Only the cars recorded during one hour
- B
Only the cars observed on one street
- C
The people who designed the traffic study
- D
All of the cars in the area being studied
Correct answer
DAll of the cars in the area being studied
Explanation
The traffic example defines the population as all of the cars in the area.
- A
- 28
What makes a sample useful for analyzing a population?
- A
It is chosen only from the easiest records to access
- B
It is a part of the population that represents the population
- C
It contains values from a different population
- D
It includes every value in the population
Correct answer
BIt is a part of the population that represents the population
Explanation
A sample is a part of a population that is representative of that population.
- A
- 29
Why might an analyst use a sample instead of collecting data from an entire population?
- A
Collecting data from the entire population can be challenging
- B
Collecting population data is prohibited in data analytics
- C
A sample eliminates the need to consider representation
- D
A sample always contains more information than the population
Correct answer
ACollecting data from the entire population can be challenging
Explanation
The content notes that gathering data from an entire population can be challenging, which is why a sample can be useful.
- A
- 30
What determines how an analyst should choose a sample?
- A
A requirement to use the same sample method for every project
- B
The project and the question being investigated
- C
Whether the data is internal rather than external
- D
The number of columns in the final spreadsheet alone
Correct answer
BThe project and the question being investigated
Explanation
The content says that how an analyst chooses a sample depends on the project; examples include observing one location or drawing a random sample.
- A
- 31
How does qualitative data differ from quantitative data?
- A
Qualitative data is structured, while quantitative data is always unstructured
- B
Qualitative data is always numerical, while quantitative data is always descriptive
- C
Qualitative data describes categories or qualities, while quantitative data can be counted or measured
- D
Qualitative data is internal, while quantitative data is always external
Correct answer
CQualitative data describes categories or qualities, while quantitative data can be counted or measured
Explanation
Qualitative data is usually a name, category, or description; quantitative data can be measured or counted and expressed as a number.
- A
- 32
Movie titles and cast-member names in a spreadsheet are what kind of data?
- A
Continuous data
- B
Quantitative data
- C
Boolean data
- D
Qualitative data
Correct answer
DQualitative data
Explanation
Movie titles and cast members are names or descriptions, so the example classifies them as qualitative data.
- A
- 33
What distinguishes discrete data from continuous data?
- A
Discrete data has no possible values, while continuous data has exactly two
- B
Discrete data is counted and has a limited set of values, while continuous data can be measured with finer decimal precision
- C
Discrete data is unstructured, while continuous data is arranged in rows
- D
Discrete data is descriptive, while continuous data is always a category
Correct answer
BDiscrete data is counted and has a limited set of values, while continuous data can be measured with finer decimal precision
Explanation
Discrete data is counted and has a limited number of values. Continuous data is measured and can be represented with multiple decimal places.
- A
- 34
Which example best illustrates continuous data as described in the content?
- A
A movie runtime recorded with several decimal places
- B
A movie's title
- C
A movie genre selected from a list
- D
A yes-or-no response about having watched a movie
Correct answer
AA movie runtime recorded with several decimal places
Explanation
A movie runtime can be measured with a timer and expressed with several decimal places, illustrating continuous data.
- A
- 35
What distinguishes nominal data from ordinal data?
- A
Nominal data has two possible values, while ordinal data has only one
- B
Nominal data is measured, while ordinal data is counted
- C
Nominal data is always numeric, while ordinal data is always text
- D
Nominal categories have no set order, while ordinal categories have an order or scale
Correct answer
DNominal categories have no set order, while ordinal categories have an order or scale
Explanation
Nominal data consists of categories without a set order; ordinal data is qualitative data arranged on an order or scale.
- A
- 36
Why are responses such as yes, no, and not sure nominal in the movie-viewing example?
- A
The choices are values generated by a mathematical formula
- B
The choices form a ranking from least to most favorable
- C
The choices measure a quantity with decimal precision
- D
The choices are categories without a particular order
Correct answer
DThe choices are categories without a particular order
Explanation
The example classifies yes, no, and not sure as nominal because the response categories have no particular sequence.
- A
- 37
A person rates a movie from one to five according to how much they liked it. What kind of data is this?
- A
Ordinal data
- B
Unstructured data
- C
Nominal data
- D
First-party data
Correct answer
AOrdinal data
Explanation
The ratings form an ordered scale of how much people liked the movie, making them ordinal data.
- A
- 38
What is internal data?
- A
Data that lives within an organization's own systems
- B
Data that is not arranged in an identifiable format
- C
Data that has been collected from outside an organization
- D
Data that is always purchased from a separate company
Correct answer
AData that lives within an organization's own systems
Explanation
Internal data is data that lives within a company's own systems.
- A
- 39
What is external data?
- A
Data that is always unstructured
- B
Data that cannot be used for organizational analysis
- C
Data stored in an organization's own systems
- D
Data that lives and is generated outside an organization
Correct answer
DData that lives and is generated outside an organization
Explanation
External data lives and is generated outside an organization.
- A
- 40
What is structured data?
- A
Data consisting only of audio and video files
- B
Data organized in a defined format, such as rows and columns
- C
Data with no identifiable organization or format
- D
Data that cannot be searched or analyzed
Correct answer
BData organized in a defined format, such as rows and columns
Explanation
Structured data is organized in a certain format, such as rows and columns.
- A
- 41
Why can structured data be easier to search and prepare for analysis?
- A
It is always collected directly by the analyst
- B
Its framework makes the data more organized and searchable
- C
It contains no categories or variables
- D
It automatically removes all possible bias
Correct answer
BIts framework makes the data more organized and searchable
Explanation
A framework for the data makes structured data easily searchable and more analysis-ready.
- A
- 42
Why are audio and video files examples of unstructured data?
- A
They are generated only outside organizations
- B
They cannot contain information or data
- C
Their content has no clear, easily identifiable organization into rows and columns
- D
They always consist of a single numerical value
Correct answer
CTheir content has no clear, easily identifiable organization into rows and columns
Explanation
Audio and video files are considered unstructured because their content has no clear, easily identifiable organization like rows and columns.
- A
- 43
Which statement about unstructured data is accurate?
- A
It is already organized in relational database tables
- B
It cannot be converted into a form suitable for analysis
- C
It may have internal structure but still not fit neatly into rows and columns
- D
It has no internal structure of any kind
Correct answer
CIt may have internal structure but still not fit neatly into rows and columns
Explanation
Unstructured data may have internal structure, but it does not fit neatly in rows and columns like structured data.
- A
- 44
What is a data model?
- A
A model for organizing data elements and showing how they relate
- B
A formula that changes text values into Boolean values
- C
A file that stores only unstructured media
- D
A sample selected from a population for analysis
Correct answer
AA model for organizing data elements and showing how they relate
Explanation
A data model organizes data elements and describes how those elements relate to one another.
- A
- 45
Which choice is an example of a data element?
- A
A person's name, account number, or address
- B
A rule that makes every data source equally reliable
- C
The entire process of asking and answering a business question
- D
A sample containing all possible population values
Correct answer
AA person's name, account number, or address
Explanation
Data elements are pieces of information such as names, account numbers, and addresses.
- A
- 46
How do data models help analysts and stakeholders?
- A
They support consistency and map how data is organized
- B
They guarantee that every data value is accurate
- C
They ensure all data has the same type and value
- D
They remove the need to query or analyze databases
Correct answer
AThey support consistency and map how data is organized
Explanation
Data models help keep data consistent and provide a map of its organization, making it easier to understand and use for business purposes.
- A
- 47
Why is structured data useful in databases?
- A
It can be entered, queried, and analyzed when needed
- B
It can be stored only as a video or audio file
- C
It removes the need to organize data elements
- D
It prevents analysts from retrieving individual records
Correct answer
AIt can be entered, queried, and analyzed when needed
Explanation
Structured data works well in databases, allowing analysts to enter, query, and analyze it as needed.
- A
- 48
Why can structured data be used readily for visualization?
- A
It must first be converted into unstructured audio
- B
It can be applied directly to charts, graphs, heat maps, and dashboards
- C
It automatically chooses the correct conclusion for the analyst
- D
It contains only visual images rather than data values
Correct answer
BIt can be applied directly to charts, graphs, heat maps, and dashboards
Explanation
The content says structured data can be applied directly to charts, graphs, heat maps, dashboards, and other visual representations.
- A
- 49
Which pair is identified as a widely used source of structured data?
- A
Interviews and observations
- B
Emails and audio recordings
- C
Photographs and videos
- D
Spreadsheets and databases
Correct answer
DSpreadsheets and databases
Explanation
Spreadsheets and databases that store data sets are described as widely used sources of structured data.
- A
- 50
Which three data types are presented as covering most spreadsheet values?
- A
Record, field, and value
- B
Discrete, continuous, and historical
- C
Number, text or string, and Boolean
- D
Nominal, ordinal, and external
Correct answer
CNumber, text or string, and Boolean
Explanation
The spreadsheet examples focus on three value types: number, text or string, and Boolean.
- A
- 51
What does a spreadsheet number such as a search-interest score represent in the example?
- A
A category that cannot be expressed using numbers
- B
A text label that has no numerical meaning
- C
A numerical value that can be counted or used in calculations
- D
A Boolean value with only true or false possibilities
Correct answer
CA numerical value that can be counted or used in calculations
Explanation
Number data types represent numerical values, such as the search-interest scores in the spreadsheet.
- A
- 52
In the search-interest example, what does a score of 100 mean?
- A
It means the search data has been converted into a Boolean value
- B
It indicates that every search term was equally popular
- C
It marks peak popularity relative to the data period, not the actual search count
- D
It gives the exact number of searches made that week
Correct answer
CIt marks peak popularity relative to the data period, not the actual search count
Explanation
The content specifies that 100 represents peak popularity as a relative value, not the actual number of searches.
- A
- 53
Why might a phone number be treated as text rather than a number in a spreadsheet?
- A
It identifies information but is not intended for calculations
- B
It can only take the values true or false
- C
It is always a decimal measurement
- D
It represents a measured quantity with unlimited precision
Correct answer
AIt identifies information but is not intended for calculations
Explanation
Numbers in phone numbers or street addresses are treated as text because they are not used for calculations.
- A
- 54
Which statement best defines a Boolean data type?
- A
It has only two possible values, such as true and false
- B
It is a sequence of characters and punctuation
- C
It is a category with no possible order
- D
It is a numerical value with several decimal places
Correct answer
AIt has only two possible values, such as true and false
Explanation
A Boolean data type has only two possible values, commonly true and false.
- A
- 55
A spreadsheet formula checks whether a search score is at least 50. If the score is 14, what Boolean result should appear?
- A
True, because every numerical score is valid
- B
False, because 14 is less than 50
- C
True, because the threshold is applied only to text
- D
False, because Boolean data cannot be calculated
Correct answer
BFalse, because 14 is less than 50
Explanation
The formula returns false when a score is below 50; the example uses a score of 14.
- A
- 56
Why could calculating an average from text values cause an error?
- A
Text values can only be used in relational databases
- B
Text values always contain more decimal places than numbers
- C
An average calculation requires compatible numerical data
- D
A spreadsheet cannot store text and numbers together
Correct answer
CAn average calculation requires compatible numerical data
Explanation
The example says the average formula works with number data but produces an error when attempted with text data.
- A
- 57
Why can spreadsheet and database systems differ in their available data types?
- A
All data systems use exactly the same types in every situation
- B
Data types can vary depending on the program or database being used
- C
Databases support only text, while spreadsheets support only numbers
- D
Data types depend only on whether data is internal or external
Correct answer
BData types can vary depending on the program or database being used
Explanation
The content notes that data types can differ by query language and database, and spreadsheet programs may classify them differently.
- A
- 58
What is tabular data?
- A
Data stored only in audio and video files
- B
Data with categories that have no order
- C
Data arranged in rows and columns
- D
Data collected from outside an organization
Correct answer
CData arranged in rows and columns
Explanation
A data table, or tabular data, has a simple structure arranged in rows and columns.
- A
- 59
In data-table terminology, what are records and fields?
- A
Records are samples, and fields are populations
- B
Records are rows, and fields are columns
- C
Records are columns, and fields are rows
- D
Records are data types, and fields are data sources
Correct answer
BRecords are rows, and fields are columns
Explanation
Rows can be called records and columns can be called fields, especially when discussing structured databases.
- A
- 60
Why might an analyst hear both 'rows and columns' and 'records and fields' used?
- A
Records and fields are used only for unstructured media
- B
Rows and columns refer to values, while records and fields refer only to data sources
- C
They describe entirely different kinds of data with no overlap
- D
They refer to similar table parts, though rows and columns are often used for spreadsheets
Correct answer
DThey refer to similar table parts, though rows and columns are often used for spreadsheets
Explanation
The terms basically mean the same things; rows and columns are usually associated with spreadsheets, while records and fields are common for structured databases.
- A
- 61
In a playlist table, what does one song represent?
- A
A data type
- B
A field
- C
A population
- D
A record
Correct answer
DA record
Explanation
Each song in the playlist example is a record.
- A
- 62
What is a field in a playlist record?
- A
The particular value stored in every row
- B
A song characteristic such as its title or artist
- C
The method used to collect the playlist data
- D
The entire playlist across all songs
Correct answer
BA song characteristic such as its title or artist
Explanation
A field represents a characteristic of a record, such as a song's title or artist.
- A
- 63
Which statement about fields and data types in a table is accurate?
- A
The same field uses the same data type across records, while different fields may use different types
- B
A field cannot contain a specific value
- C
Every field in a table must use the same data type
- D
Each record must contain fields in a different order
Correct answer
AThe same field uses the same data type across records, while different fields may use different types
Explanation
Records have the same fields in the same order; each separate field has the same data type, though different fields can have different types.
- A
- 64
In a table, what does a value represent?
- A
The relationship between all data elements in a model
- B
A whole population of possible records
- C
A specific piece of data in a cell, such as a client's address
- D
The row-and-column structure of the entire table
Correct answer
CA specific piece of data in a cell, such as a client's address
Explanation
A value in a cell contains a specific piece of data, such as a client address or invoice amount.
- A
- 65
How might a song's length be represented in a table, depending on its use?
- A
Only as Boolean data
- B
As an external data source
- C
Only as a nominal category
- D
As a number for calculations or as a date-and-time type
Correct answer
DAs a number for calculations or as a date-and-time type
Explanation
The playlist example says song length could be a number if used for calculations or could be a date-and-time type.
- A
- 66
Why is a favorites column in a playlist an example of Boolean data?
- A
It ranks songs on a multi-level ordered scale
- B
It records a continuous measurement of song length
- C
It has two possible states: favorite or not favorite
- D
It lists song titles as a sequence of characters
Correct answer
CIt has two possible states: favorite or not favorite
Explanation
The favorites field has two possible values, favorite and not favorite, which fits the Boolean type.
- A
- 67
What characterizes wide data?
- A
All variables are placed into one cell
- B
Each subject appears in several rows, one for each time point
- C
Each row contains data from a different population
- D
Each subject has one row, with multiple columns for its attributes
Correct answer
DEach subject has one row, with multiple columns for its attributes
Explanation
In wide data, each subject has a single row with multiple columns holding values for different attributes.
- A
- 68
In the country-population example, how is yearly population information arranged in wide format?
- A
Each country occupies a row, and different years appear in separate columns
- B
Each population value is stored in a separate spreadsheet
- C
Each year occupies a row, and every country appears in a separate column
- D
All years and countries are listed in one unstructured field
Correct answer
AEach country occupies a row, and different years appear in separate columns
Explanation
The wide-format example has one row per country and a separate column for each year's population.
- A
- 69
What is one advantage of wide data when comparing attributes?
- A
It prevents sorting subjects into an order
- B
Different columns can be identified and compared quickly
- C
It stores every time point for a subject in a separate row
- D
It always uses fewer columns than long data
Correct answer
BDifferent columns can be identified and compared quickly
Explanation
Wide data makes it easy to identify and quickly compare different columns, such as population values for different years.
- A
- 70
What characterizes long data?
- A
Each row represents one time point for a subject, so subjects appear in multiple rows
- B
Each column contains an entire population
- C
Each row contains a different data type rather than a subject
- D
Each subject appears once, with every time point in a separate column
Correct answer
AEach row represents one time point for a subject, so subjects appear in multiple rows
Explanation
In long data, each row is one time point per subject, so each subject may appear in multiple rows.
- A
- 71
How is the country-population example rearranged in long format?
- A
Years are placed in one column, and countries appear in multiple rows
- B
All population values are placed in a single row
- C
Each country is assigned a separate spreadsheet tab
- D
Each year is stored as a different data type
Correct answer
AYears are placed in one column, and countries appear in multiple rows
Explanation
In long format, years are no longer separate columns; the years are in one column, with a country repeated for each year.
- A
- 72
Why can long format be useful when there are multiple variables measured at multiple time points?
- A
It prevents the analyst from adding new variables
- B
It gives every time point its own set of columns
- C
It can store the data compactly and may need only one new column for an added variable
- D
It turns repeated observations into unstructured data
Correct answer
CIt can store the data compactly and may need only one new column for an added variable
Explanation
Long format is useful for organizing repeated observations; adding a variable may require only one more column rather than a separate column for every time point.
- A
- 73
When should an analyst use wide rather than long data?
- A
Long data is always preferable for every analysis
- B
The format is determined only by whether the data is internal
- C
The appropriate format depends on the task, and analysts may need to transform between them
- D
Wide data is always preferable for every analysis
Correct answer
CThe appropriate format depends on the task, and analysts may need to transform between them
Explanation
The content says the choice depends on the situation and analysts may transform data from wide to long or vice versa.
- A

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