Programming 2 - Lesson 06

Programming 2 - Lesson 06

11th Grade

12 Qs

quiz-placeholder

Similar activities

Full-Stack Concepts

Full-Stack Concepts

9th - 12th Grade

10 Qs

Desarrollo de Aplicaciones Modernas y Herramientas.

Desarrollo de Aplicaciones Modernas y Herramientas.

1st Grade - Professional Development

15 Qs

Adobe Premiere Pro

Adobe Premiere Pro

10th - 12th Grade

10 Qs

Ruta al KCNA: Application Delivery

Ruta al KCNA: Application Delivery

9th - 12th Grade

12 Qs

Command Line #2

Command Line #2

9th - 12th Grade

10 Qs

Programming 2 - Lesson 10

Programming 2 - Lesson 10

11th Grade

9 Qs

RedHat Academy 8.3

RedHat Academy 8.3

10th Grade - University

15 Qs

Linux M1

Linux M1

9th - 12th Grade

10 Qs

Programming 2 - Lesson 06

Programming 2 - Lesson 06

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Rachel FitzZaland

Used 3+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to initialize a Git repository?

git start

git create

git new

git init

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a local repository?

A repository stored on a local computer

A repository hosted on GitHub

A repository that does not track changes

A repository with no files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to see hidden files in a directory in Git Bash?

ls

ls -a

show hidden

view hidden

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the .git directory represent in a project?

The project’s source code

The project’s documentation

The project’s Git repository

The project’s output files

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a working directory in Git?

A directory with the final version of files

A directory where files are added, edited, and deleted

A directory that stores old versions of files

A directory that contains the .git folder

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the staging area in Git?

A place where files are permanently deleted

A place where files are executed

A space for storing large files

A space where files are prepared for the next commit

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a commit in Git?

A way to delete files

A saved version of a project

A method to create new files

A temporary save point

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?