Summary Flashcards

1
Q

Version Control is also known as…

A

Source control and revision control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a VCS?

A

Version control system.

It lock files so they can only be edited by one person at a time
track changes to files.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Git?

A

It’s a popular free VCS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Network Backbone?

A

A part of a computer network that interconnects various pieces of a network, providing a path for the exchange of information between different subnetworks. It is a “senior” network containing a high capacity connection that forms the main link to various “junior” networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Shell?

A

A type of program that provides a user interface between the user and the operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How Distributed VCS works?

A

The programmers can have a local repository and pull and push from and to the remote repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How Centralized VCS works?

A

The prorammers don’t have a local repository and can only Checkout and Commit changes on a file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the term for: ““The current state of locally stored project files not yet added to the main (master) repository”?

A

Working set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Console?

A

An input/output device for a computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Pseudo Console?

A

Also called ConPTY, is a text-based console that allows one to work with command line applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Vi?

A

Short for visual.
A text editor for the Unix operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Vim?

A

Shor for Vi improved.

Vim allows to move the cursor around a document without the use of a mouse.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three modes for editing texts files in Vim?

A
  1. Command Mode
  2. Insert mode.
  3. Last-Line Mode.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What Command Mode does?

A

Allows you to use the keys on the keyboard as commands.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What Insert Mode does?

A

Allows you to input text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What Last-Line Mode does?

A

It is a combination of a column and a command that tell the computers that it is the end of the file and what you wat to do.
For example, :w ends and saves the file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are control characters?

A

Not printable characters that tell the computer to do something.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is LF?

A

Stands for “line feed”

A control character that break a line in a text file without moving the cursor to the beginning of the line.

19
Q

What is CRLF?

A

Stands for “carriage return line feed”.

Control character that moves the cursos to the beginning of the line.

20
Q

What is MSYS2?

A

Minimal System 2.

Is a collection of open source software tools for windows that would normally depend on Unix to operate.

21
Q

What is MinTTY?

A

Stands for Windows pseudo terminal.

It is a Windows Software package that provides a way for Windows console programs to communicate with Unix interfaces, such as bash.

22
Q

What is INI File Format?

A

Initialization File Format.

Used by the Windows operating system, typically to lay out operating instructions for the OS and some programs.

23
Q

What is Touch?

A

A command-line interface program for Unix that is used to update date information – such as: changing the date that a file or directory was modified or accessed. Touch can also be used to create or open a file.

Ex: You could type “touch dogstory.docx” in the Git command line to create a blank Microsoft Word document entitled “dogstory”.

24
Q

What is Command-Line Option?

A

Something that modifies the operation of a command.
At the example, LS is called the switch.

Ex:
The command “ls” tells the computer to list the files in the current directory. Adding the switch “-lS” will modify the command so that the list of files is sorted from largest file size to smallest. The full command (command plus the command-line option) would look like this:

ls -lS

25
Q

Which of the following words is not another word for command-line option?
1. Option
2. Shell
3. Switch
4. Flag

A
  1. Shell
26
Q

… files are used by the Windows operating system, typically to lay out operating instructions for the OS and some programs.

A

.ini

27
Q

True or False?: In a VCS, “commit” means the same thing as “save”.

A

True.

28
Q

… is a shell and a command language.

A

Bash…

29
Q

What are other names for Working Directory?

A

Current Working Directory (CWD) and Working tree.

30
Q

What is Hash?

A

An operation that converts one value to another. It is usually used to mask data with different data.

Ex: The original file name could be orangepants.docx and the hash could be absdfmoijgfsdnsadf. Both would point to the file.

31
Q

Which one of the following terms means something different than the rest?
1. Working Directory
2. Staging area.
3. CWD
4. Current Directory

A

Staging Area

32
Q

In which directory you have to be to commit?

A

Main directory of repository.

33
Q

What “git init MyRepository” does?

A

Initialize an empty Git repository in the current directory.

34
Q

What git branch -d testBranch does?

A

Delete the branch called testBranch (cannot be inside of it)

35
Q

What detached HEAD means?

A

That we are no longer in a up to date on the branch timeline.

36
Q

What git switch - does?

A

Get back to the up to date timeline in the branch.

37
Q

What is a Fork?

A

A copy of a repository.

38
Q

What is the format of GitHub README?

A

.md, which stands for markdown.

39
Q

What are good elements for a README?

A

Titles - Names of important sections within the README
Introduction - The project’s aim
Technologies - List of languages used
Launch - Version of languages used for reproducibility

40
Q

How should you Title the README?

A

It should clearly explain what the repository is about and be the name of the project and typically uses a heading tag. In markdown a hashtag is used to make a heading. It may also include titles of certain project sections as well.

41
Q

How should you do the Introduction/Summary in a README?

A

It should not be too long, about two or three sentences will do for a small project.

42
Q

How should you do the Technologies in a README?

A

This section explains which languages were used in the project, as well as the version of the language that was used.

43
Q

What does the git add command do?

A

Add file contents to the staging area