Open Source Software
Скачать 1.28 Mb.
|
Building RPM and Debian Packages1.Вопрос 1 Use of a package management system (Select all true statements): 1 / 1 балл Is rapidly going obsolete, as disk space becomes larger and cheaper Makes removing software difficult Simplifies upgrade and update of individual software packages, as well as the system Правильно By keeping track of dependency information and making use of it among other things Makes updating slow, as one always has to recompile from source 2.Вопрос 2 Which of the following distributions use the RPM package management system (Select all answers that apply)? 1 / 1 балл SUSE Правильно SUSE uses RPM CentOS Правильно CentOS uses RPM Gentoo Fedora Правильно Fedora uses RPM Red Hat Правильно Red Hat uses RPM Ubuntu Debian 3.Вопрос 3 Which of the following distributions use the APT (dpkg) package management system (Select all answers that apply)? 1 / 1 балл Linux Mint Правильно Linux Mint uses Debian Package Management Ubuntu Правильно Ubuntu uses Debian Package Management CentOS SUSE Debian Правильно Debian uses Debian Package Management Red Hat Gentoo 4.Вопрос 4 With RPM, all information to configure, compile and install is contained in: 1 / 1 балл The dnf file The build file The rpm manifest The spec file Правильно The spec file contains all needed information 5.Вопрос 5 Which of the following statements are true (Select all answers that apply)? 1 / 1 балл The source package contains one file in RPM-based systems Правильно This file is the source RPM The source package contains multiple files in RPM-based systems The source package contains multiple files in Debian-based systems Правильно There are multiple files in the source package Using GIT for Distributed Development (Course 4) Week 1 Introduction to Git 1. Вопрос 1 Revision control systems are: Only useful when there are multiple developers involved Useful even with a sole developer working on a project Правильно Even for one developer it is useful to track changes, revert to earlier states, etc 2. Вопрос 2 Git was originally a creation of: The GNU project The NSA and NASA GitHub Linus Torvalds Правильно Linus was the originator 3. Вопрос 3 Which statement is true? With Git, conflicting contributions must be resolved by a human being. Git automatically solves problems with conflicting contributions to a project. Правильно Conflicts still require humans to resolve 4. Вопрос 4 Which of the following commands will provide documentation on how to create a new branch with git (Select all answers that apply)? 1 git branch --help Правильно This will work 1 git help branch Правильно This will work 1 help git-branch 1 man git-branch Правильно This will work 5. Вопрос 5 Which of the following are Revision Control Systems? Select all answers that apply. CVS Правильно CVS is a revision control system Apache Git Правильно git is a revision control system Subversion Правильно Subversion is a revision control system Emacs Git Installation 1. Вопрос 1 Which statement is true? When using git for distributed development, all contributors need to be using the same operating system and version There are no native versions of git for use on Windows, so you can only use a web-based version on the Internet Virtually all Linux distributions have a new enough version of git in their normal binary packaging systems you can use for all day-to-day work. You only need the latest version if you are developing git itself It is always better to install the latest git version directly from source Правильно Packaged versions are fine 2. Вопрос 2 Which statement is true? If you use a command line interface to git, you can only use repositories created that way If you use a graphical interface to git, you can only use repositories created that way It is irrelevant how a repository is created or updated, you can use either a command line or graphical interface to git Правильно How you work with a repository has nothing to do with how it was originally created 3. Вопрос 3 Any project which has code developed using git: Must make the source freely available to the public under an approved open source license Must agree on a code of conduct for all developers Has complete control over who can see the source and under what licensing terms Правильно Whatever you want can be done 4. Вопрос 4 Which statement is true? Repository hosting sites such as GitHub or GitLab must be implemented using only open source code Repository hosting sites such as GitHub or GitLab need not be implemented using only open source code Правильно There is no such restriction Git Installation (Ungraded) 1. Вопрос 1 Which of the following operating systems can you install git on (Select all answers that apply)? Solaris Правильно Straightforward Microsoft Windows Правильно There is more than one way to do this Mac OS Правильно Straightforward Linux Правильно In all package management systems CP/M 2. Вопрос 2 In order to use git: You have to work with a repository hosting website such as GitHub You can install on your own systems from either source or binary and do not need permission You have to obtain a license from Linus Torvalds and use only on open source projects Правильно Git is a tool you can use any way you want 3. Вопрос 3 Which statement is true? While git is often used for OSS projects, git itself is closed source git is completely covered by an OSS License Правильно Git and Revision Control Systems 1. Вопрос 1 Which revision control system requires a user to lock a file when it is checked out, so that other developers cannot work on it easily at the same time? RCS git Subversion CVS Правильно RCS requires a lock 2. Вопрос 2 Which revision control systems have a central repository which may be on a network server (Select all answers that apply): CVS Правильно There is a central authoritative repository git RCS Subversion Правильно There is a central authoritative repository 3. Вопрос 3 When using git: Artificial intelligence and automated testing servers determine which of conflicting change sets should be used Conflicts between different developers become impossible Everyone is equal, there is no overall responsible figure Conflicts between different developers require manual examination and fixing by a maintainer Правильно Humans are required to resolve conflicts 4. Вопрос 4 Select the true statement: It is possible to convert Git repositories for use by Subversion and CVS It is impossible to convert Git repositories for use by Subversion and CVS Правильно This can be done 5. Вопрос 5 Select the true statement: It is impossible to import (convert) CVS and Subversion repositories into Git It is possible to import (convert) CVS and Subversion repositories into Git Правильно We have exercises on this Using Git (Ungraded) 1. Вопрос 1 Which of the following commands will help you get the version of git installed on your system? git --version git status git get version Правильно 2. Вопрос 2 Which of the following will help you see a more complete set of git commands? git help --all git git get help git help Правильно |