QUESTIONS AND CORRECT ANSWER WITH
EXPLANATION GRADED A+ STUDY GUIDE SOUTHERN
NEW HAMPSHIRE UNIVERSITY
1. Statistical programming is used to:
A. Analyze and manipulate data using code
B. Draw pictures only
C. Write essays
D. Paint diagrams
Answer: A
Rationale: It focuses on data analysis using programming tools.
2. Common statistical programming languages include:
A. R and Python
B. HTML and CSS
C. JavaScript only
D. Assembly only
Answer: A
Rationale: R and Python are widely used.
3. R is mainly designed for:
A. Statistical computing
B. Game development
C. Web browsing
D. Word processing
Answer: A
Rationale: R specializes in statistics.
4. Python is popular in statistics because:
A. It has powerful libraries
B. It cannot process data
C. It only draws shapes
D. It is not programmable
Answer: A
Rationale: Libraries like NumPy and pandas.
,5. A dataset is:
A. Collection of data
B. Single number
C. Graph only
D. Formula only
Answer: A
Rationale: Data collection.
6. Data frame in R is:
A. Table-like structure
B. Single value
C. Graph only
D. Equation
Answer: A
Rationale: Rows and columns.
7. Variable in programming is:
A. Storage location for data
B. Fixed constant
C. Graph
D. Chart only
Answer: A
Rationale: Holds values.
8. Vector in R is:
A. One-dimensional array
B. Matrix only
C. Graph
D. Function only
Answer: A
Rationale: Basic data structure.
9. Matrix is:
A. 2D array
B. Single number
C. String only
D. Function
Answer: A
Rationale: Rows and columns.
, 10. List in R is:
A. Collection of different data types
B. Only numbers
C. Only text
D. Only graphs
Answer: A
Rationale: Flexible structure.
11. Mean function calculates:
A. Average
B. Maximum
C. Minimum
D. Median only
Answer: A
Rationale: Central tendency.
12. Median is:
A. Middle value
B. Average
C. Sum
D. Product
Answer: A
Rationale: Central position.
13. Mode is:
A. Most frequent value
B. Least value
C. Average
D. Middle value
Answer: A
Rationale: Frequency-based.
14. Variance measures:
A. Spread of data
B. Average
C. Total sum
D. Count only
Answer: A
Rationale: Dispersion.