MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Data Science knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
branch command is used to determine which branch you are currently in. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
Which of the following command is used to squash the commits? |
| A. | rebase |
| B. | squash |
| C. | boot |
| D. | all of the mentioned |
| Answer» B. squash | |
| 3. |
Which of the following is the correct way of creating GitHub repository in to well labelled commits? |
| A. | Fork another user s repository |
| B. | Pop another user s repository |
| C. | Zip another user s repository |
| D. | None of the mentioned |
| Answer» B. Pop another user s repository | |
| 4. |
Which of the following command allows you to update the repository? |
| A. | push |
| B. | pop |
| C. | update |
| D. | none of the mentioned |
| Answer» B. pop | |
| 5. |
Which of the following command is used to give a message description? |
| A. | git command -m |
| B. | git command -d |
| C. | git command -message |
| D. | none of the mentioned |
| Answer» B. git command -d | |
| 6. |
Which of the following command updates tracking for files that are modified? |
| A. | git add . |
| B. | git add -u |
| C. | git add -A |
| D. | none of the mentioned |
| Answer» C. git add -A | |
| 7. |
Which of the following adds all new files to local repository? |
| A. | git add . |
| B. | git add -u |
| C. | git add -A |
| D. | none of the mentioned |
| Answer» B. git add -u | |