FBISE, NCP & NBF-aligned resources for Classes 9–12
Browse by Class
Browse by Type
⏰ Time’s Up! Your Quiz Has Been Submitted
Computer Chapter 4 : Topic 2.15
RStudio
1 / 25
A researcher records the ages of students in a class and plans to analyze them in RStudio. Which data type best represents these values?
Reasoning: Ages are numerical values that can be measured and analyzed mathematically, so they are stored as numeric data.
2 / 25
While conducting a survey about favorite sports, a student records responses such as Cricket, Football, and Hockey. Which data type is most suitable for these responses?
Reasoning: Sports names consist of text values, which are stored as character data.
3 / 25
A dataset contains a column showing whether students submitted assignments on time using TRUE and FALSE values. Which data type is being used?
Reasoning: TRUE and FALSE values belong to the logical data type.
4 / 25
Before loading information into RStudio, why is it important to identify the correct data type of each variable?
Reasoning: Correct data types help RStudio perform calculations and analyses accurately.
5 / 25
A school administration collects attendance information from students every day. This activity is an example of:
Reasoning: Gathering information from a source is called data collection.
6 / 25
Which situation best represents primary data collection rather than secondary data collection?
Reasoning: Primary data is collected directly from the original source by the researcher.
7 / 25
A student obtains weather records from a meteorological department instead of measuring weather conditions personally. This is an example of:
Reasoning: Data obtained from existing sources is secondary data.
8 / 25
A teacher wants to gather information about students' study habits from a large group quickly and systematically. Which method is most suitable?
Reasoning: Surveys are effective for collecting information from many participants.
9 / 25
Why is data validation important during the data collection process before importing data into RStudio?
Reasoning: Validation helps identify errors and improves data quality.
10 / 25
A student accidentally records some ages as text instead of numbers in a dataset. What problem may occur after loading the data into RStudio?
Reasoning: Incorrect data types can prevent proper calculations and analysis.
11 / 25
Which of the following is the main purpose of data storage in a computer system?
Reasoning: Data storage preserves information for retrieval and future analysis.
12 / 25
A student saves a dataset on a USB flash drive to use later in RStudio. This action demonstrates:
Reasoning: Saving data for later access is data storage.
13 / 25
Which storage device is generally considered secondary storage rather than primary storage?
Reasoning: Hard disks are secondary storage devices used for long-term data retention.
14 / 25
Why is secondary storage necessary when working with large datasets in RStudio projects?
Reasoning: Secondary storage retains data even when the computer is turned off.
15 / 25
A dataset stored in a CSV file is most likely loaded into RStudio because:
Reasoning: CSV is a common format used for storing tabular data.
16 / 25
Before loading a file into RStudio, a student should primarily ensure that:
Reasoning: Well-structured data reduces import and analysis errors.
17 / 25
When data is loaded successfully into RStudio, what is usually the first benefit to the user?
Reasoning: Loaded data can be explored, analyzed, and visualized within RStudio.
18 / 25
A student imports a dataset containing names, ages, and exam scores into RStudio. Which column would most likely be treated as character data?
Reasoning: Names consist of text values and are usually stored as character data.
19 / 25
Which factor most directly affects the quality of results produced after loading data into RStudio?
Reasoning: Reliable analysis depends on accurate and trustworthy data.
20 / 25
A school stores student records electronically for future reporting and analysis. What is the primary advantage of this approach?
Reasoning: Electronic storage enables quick retrieval, management, and analysis of information.
21 / 25
A dataset contains values such as "Male" and "Female" for a gender column. Which data type best describes these entries when loaded into RStudio?
Reasoning: These entries are textual categories and are treated as character data.
22 / 25
Which action should be performed before importing data into RStudio to minimize errors during analysis?
Reasoning: Checking data quality before import improves analysis accuracy.
23 / 25
A researcher stores collected survey data in a CSV file and later loads it into RStudio. Which process occurred immediately before loading the file?
Reasoning: The data had to be stored in a file before it could be loaded.
24 / 25
Why is RStudio commonly used after data collection and storage activities have been completed?
Reasoning: RStudio provides tools for analyzing and presenting data effectively.
25 / 25
A student loads a dataset containing marks represented as numbers. Which operation becomes possible because the data type is numeric?
Reasoning: Numeric data allows mathematical operations such as averages, sums, and comparisons.
Your score is
Restart quiz