Graded Quiz – RStudio & GitHub :Tools for Data Science (IBM Data Science Professional Certificate) Answers 2025
1️⃣ Question 1
Which of the following is True about R language?
-
❌ R functions require lots of coding compared to other tools
-
❌ R requires installation of additional libraries to handle data analysis
-
❌ R is only for statistical inference and does not support visualization
-
✅ R supports importing of data from different sources like flat files, databases
Explanation:
R can easily import data from CSV, Excel, SQL databases, and many more sources.
2️⃣ Question 2
Which R library is used for machine learning?
-
❌ dplyr
-
❌ ggplot
-
❌ stringr
-
✅ caret
Explanation:
caret (Classification and Regression Training) is a major R package for ML.
3️⃣ Question 3
Which function in ggplot adds a title to a plot?
-
❌ ggplot
-
❌ library
-
✅ ggtitle
-
❌ geom point
Explanation:ggtitle("Your Title") adds a title to ggplot visualizations.
4️⃣ Question 4
Which function is used to name both axes in a plot?
-
❌ ggplot
-
❌ geom point
-
❌ library
-
✅ xlab and ylab
Explanation:
Use xlab("X-axis") and ylab("Y-axis") to label axes.
5️⃣ Question 5
What is a copy of a repository?
-
✅ Fork
-
❌ Pull request
-
❌ Working directory
-
❌ SSH protocol
Explanation:
A fork is your own independent copy of a repo on GitHub/GitLab.
6️⃣ Question 6
How does GitLab streamline testing and delivery?
-
✅ With built-in CI/CD
-
❌ With merging
-
❌ With branching
-
❌ With reviews and comments
Explanation:
GitLab has powerful built-in CI/CD pipelines for automated testing & deployment.
7️⃣ Question 7
In GitHub, what is an organization?
-
✅ A collection of user accounts that owns repositories
-
❌ Path to code files
-
❌ Repository name
-
❌ Top level of a repo tree
Explanation:
Organizations group teams and repos under one shared account.
8️⃣ Question 8
On which tab can you see all source files?
-
❌ Pull requests
-
✅ Code
-
❌ Issues
-
❌ Projects
Explanation:
The Code tab shows files, directory structure, and branches.
9️⃣ Question 9
How do you save changes in the repository?
-
✅ Commit changes
-
❌ Add file
-
❌ Create new file
-
❌ Save changes
Explanation:
In Git, saving = committing.
🔟 Question 10
Which option lets you add a file from your local machine?
-
❌ New Repository
-
✅ Upload files
-
❌ Commit changes
-
❌ Create new file
Explanation:
“Upload files” lets you browse your local system and upload.
🧾 Summary Table
| Q | Correct Answer | Key Concept |
|---|---|---|
| 1 | R imports data from many sources | R capabilities |
| 2 | caret | ML in R |
| 3 | ggtitle | ggplot titles |
| 4 | xlab & ylab | Axis labels |
| 5 | Fork | Repo copy |
| 6 | CI/CD | GitLab automation |
| 7 | Organization | GitHub structure |
| 8 | Code | Source files |
| 9 | Commit changes | Saving in Git |
| 10 | Upload files | Adding local files |