Skip to content

Module Two Summative Quiz:The Data Scientist’s Toolbox(Data Science Specialization):Answers2025

Question 1

What does base R focus on?

  • ❌ Mapping

  • Statistical analysis

  • ❌ Artificial intelligence

Explanation:
Base R was originally built for statistical computing and graphics — it includes tools for data analysis, probability, hypothesis testing, and visualization (like plot() and lm()).


Question 2

What is RStudio?

  • A graphical user interface for R

  • ❌ Version control software

  • ❌ A programming language

Explanation:
RStudio is an IDE (Integrated Development Environment) that provides a user-friendly interface to write, run, and manage R code — including console, script editor, plots, and environment panes.


Question 3

What is the name of the quadrant in the bottom left corner of RStudio (default layout)?

  • ❌ History

  • ❌ Plots

  • Console

Explanation:
The Console pane (bottom left by default) is where your R commands are executed. You can type code directly there and see immediate output or errors.


Question 4

What command lists your R version, operating system, and loaded packages?

  • ❌ versions()

  • ❌ Sessioninfo()

  • sessionInfo()

Explanation:
The correct built-in function is sessionInfo() — it prints details about your R version, OS, locale, and attached packages, useful for reproducibility and troubleshooting.


Question 5

What file extension do Projects in R use?

  • .Rproj

  • ❌ .R

  • ❌ .RPROJECT

Explanation:
RStudio project files use the .Rproj extension. Opening one restores your working directory, environment, and files exactly as when last closed — keeping projects isolated.


🧾 Summary Table

Q# ✅ Correct Answer(s) Key Concept
1 Statistical analysis Base R is mainly for statistical computing and visualization
2 GUI for R RStudio is an IDE, not a language or VCS
3 Console Console executes R commands
4 sessionInfo() Reports R version, OS, and packages
5 .Rproj RStudio project file extension