VERSION CONTROL WITH GIT & GITHUB
Book name: VERSION CONTROL WITH GIT & GITHUB
Q.1 Which of the following is not a version control system?
A. Git B. Google
C. SVN D. Mercurial
Correct Answer: B
Reference: Page no. 9
Q.2 Which cryptographic algorithm is used by Git for security?
A. RSA B. DES
C. SHA1 D. AES
Correct Answer: C
Reference: Page no. 12
Q.3 Which is data about data called?
A. Organic data B. Metadata
C. Inorganic data D. Crucial data
Correct Answer: B
Reference: Page no. 28
Q.4 Which of the following comes with higher ease of access and simplicity?
A. GUI B. CLI
C. Both are equivalent D. GPI
Correct Answer: A
Reference: Direct reference not available
Q.5 Which of the following is a stage that a Git file goes through?
A. Untracked B. Tracked
C. Staged D. All of these
Correct Answer: D
Reference: Page no. 13
Q.6 A Git client command creates a copy of the repository in a working directory in the client’s
workspace. Identify that command.
A. Update B. Checkout
C. Clone D. Import
Correct Answer: C
Reference: Page no 29
Q.7 in case you are a new developer who happened to join a team of developers using Git for
version control, which Git operation out of these would you invoke first of all?
A. Checkout B. Clone
C. Export D. Revert
Correct Answer: B
Reference: Page no. 29
Q.8 Which option can be used by a user to set the username & email immediately after
Page 1 of 3
installing Git?
A. –config’ B. Git add
C. Both A and B D. None of these
Correct Answer: A
Reference: Page no. 28
Q.9 What is the process of creating a new branch called?
A. Adding B. Branching
C. Merging D. Receiving
Correct Answer: B
Reference: Page no. 38
Q.10 Which version control system has been used to built the ‘GitHub’ Website?
A. Git B. SVN
C. Mercurial D. None of these
Correct Answer: A
Reference: Page no. 63
Q.11 What does Git use to maintain integrity?
A. Commit B. Checksum
C. Branching D. Merging
Correct Answer: B
Reference: Page no. 12
Q.12 Which command is use to execute staging?
A. git config B. git init
C. git add D. git clone
Correct Answer: C
Reference: Page no. 30
Q.13 What happens to a merging branch after a successful merge?
A. It gets deleted B. It gets copied
C. It stays there as it is D. None of these
Correct Answer: A
Reference: Page no. 42
Q.14 What serves a pre-requisite for collaboration?
A. Updation B. Merging
C. Physical link establishment D. Synchronization
Correct Answer: C
Reference: Direct reference not available
Q.15 Which programming language has been used to write Git?
A. Java B. C
C. Python D. Fortan
Correct Answer: B
Reference: Page no 14
Q.16 The Execution of the “git init” command result in the creation of which directory?
Page 2 of 3
A. Sub directory B. Object directory
C. .git D. All of these
Correct Answer: C
Reference: Page no. 27
Q.17 How many levels of Git configuration are there?
A. One B. Two
C. Three D. Four
Correct Answer: C
Reference: Page no. 28
Page 3 of 3