Jump To Content
LearnHub
Home
Schools
Communities
Sign In
or
Sign Up
Search LearnHub
Keywords
Malgosia’s Tests
About
Lessons
Tests
Courses
Version Control
A test by
Malgosia Green
.
Test Questions
Question
What is the main reason to use a version control system?
Photo
Answers
Correct
Answer Text
It enables multiple people to work on one code-base
It helps you deploy new versions of your software
It makes software development faster
It gives managers more control over what developers are working on
Question
What is the most popular open-source version control system?
Photo
Answers
Correct
Answer Text
Subversion
Visual SourceSafe
Perforce
CVS
Question
What is a conflict?
Photo
Answers
Correct
Answer Text
Occurs when you try to commit code written in different languages
An easy way to overwrite another developer's changes
Occurs when two or more developers make changes to the same file at the same time
When two developers disagree over some code
Question
Which of the following is a common task you perform using version control?
Photo
Answers
Correct
Answer Text
Revert changes to another user's repository
Checkout the latest copy of the code from the repository
Move a branch to an earlier revision
Notify end-users of changes to the software
Question
You made a mistake, your software stops working, and you can't find out how to fix it. What should you do?
Photo
Answers
Correct
Answer Text
Search the repository for error flags
Restart the repository versioning engine
Roll back to a previous version
Checkout the latest code again
Question
What is a trunk?
Photo
Answers
Correct
Answer Text
The version control algorithm
A commonly used command that synchronizes your revisions
The single unified code base in the repository
A commonly used command that truncates your code
Question
Version control cannot merge:
Photo
Answers
Correct
Answer Text
.net files
Files with more than 5000 lines of code
More than 5 files at once
Binary files like .jpg, .pdf, .doc
Question
If you delete a file in Subversion, how do you retrieve it?
Photo
Answers
Correct
Answer Text
You run a shell script that pattern matches characteristics of the file
You revert your repository back to a previous version
You checkout an older version where the file still existed
You cannot retrieve it
Question
Synchronization with the repository happens automatically.
Photo
Answers
Correct
Answer Text
False
True
Question
Which situation requires you to create a branch in your repository?
Photo
Answers
Correct
Answer Text
You are running scripts and need to test them on differences in similar files
You made a mistake and you need to branch the errors to get rid of them
You need to test your code
You need to work on a large new feature, but do not want the code committed to the trunk since it gets deployed to your production environment regularly
Answer
Test Statistics
Rating
Likes
7
Negative
1
Your Actions
Rate
Up
Down
Published In…
Software Carpentry