Introduction to Data Analysis
שאלות 10
מפתח התשובות מוצג למורים מחוברים.
-
Data Collection Methods
A researcher wants to collect data on how many hours per week students spend on homework across an entire school of 1,200 students. Which data collection method is most appropriate for gathering this information directly from each student?
A survey questionnaire distributed to all students
Measuring the temperature of each classroom
Analyzing the source code of the school website
Reading the school's existing budget report
Think about a method that asks each person the same question and records their answers. -
Organizing Data in a Table
A dataset stores one row per student and one column per attribute, such as name, age, and grade. What is this type of two-dimensional organization called in data management?
A pointer
A compiler
A table
A recursive function
This structure is commonly seen in spreadsheets and relational databases, with rows and columns. -
Reading Data from a CSV File
A program reads a CSV file where each line contains a student's name and score separated by commas. Which step is essential to correctly read each individual value in a line?
Sort the file in descending order before reading
Convert every line into an image
Split each line at the comma delimiter
Delete the first line of the file automatically
The commas act as separators, so consider what operation breaks a string into parts using a separator. -
Sorting and Searching Organized Data
A list of 1,000,000 records is sorted by ID number. Which search approach can locate a given ID using the fewest comparisons in the worst case?
Linear search
Random guessing without checking order
Binary search
Bubble sort
Consider which method repeatedly halves the portion of the list that could contain the target, given that the list is sorted. -
Reading a CSV file
When a program reads a CSV file, it can treat each line as a single text string without splitting it, and the values will still be separated correctly into individual fields.
True
False
Think about what the separator character does: a CSV line must be split at each comma before its individual values can be used. -
-
-
Keys in database tables
In a database table, a _____________ uniquely identifies each row. A _____________ in one table refers to the primary key of another table.
entry keyblock keyhash keysort keyforeign keyprimary keyOne kind of key identifies each record on its own, while the other kind points to a record stored in a different table. -
Sampling and data collection
A researcher wants to study the reading habits of all 3,000 students in a large city. Instead of asking every student, she randomly selects 150 students and records their answers. Explain what the group of 150 students is called in statistics, and describe one advantage and one disadvantage of collecting data this way compared with surveying the entire population.
Think about the term for a part of a population that is studied in place of the whole group, and about what is gained and lost when fewer people are asked. -
Reading and organizing structured data
A program stores student records in a list of dictionaries, where each dictionary has the keys "name", "age" and "grade". Explain in your own words how a program would read the value of the "grade" field for the third student in the list, and why the data is considered organized when it is stored this way.
Remember that lists are indexed starting from zero, and consider how a key identifies a specific value inside a record.
פרטים
- מקצועות
- מדעי המחשב
- תגיות
- נוסף על ידי AI data collection נוסף על ידי AI CSV files נוסף על ידי AI binary search נוסף על ידי AI Databases נוסף על ידי AI sampling
- קהל יעד
- תיכון · כיתות י׳–י״א
- רמת קושי
- 6 מתוך 10
- שפה
- אנגלית
- מי יכול לראות
- כולם
- הושלם על ידי AI
- מה שמסומן בניצוץ נוסף על ידי AI.
- נוצר באמצעות AI
- Claude Haiku 5.5
- נוצר
תגובות