Quiz #4 WebDev Lec

Quiz #4 WebDev Lec

University

20 Qs

quiz-placeholder

Similar activities

The Nervous System

The Nervous System

University

16 Qs

TIK X-MS.POWER POINT

TIK X-MS.POWER POINT

University

20 Qs

Business Analytics - Quiz 1

Business Analytics - Quiz 1

University

15 Qs

4. System of Government

4. System of Government

University

15 Qs

Tutorial 1 Records Management

Tutorial 1 Records Management

University

20 Qs

Instalasi Software dan Hardware

Instalasi Software dan Hardware

University

20 Qs

Se liga - Pensamento Computtacional 1° Ano

Se liga - Pensamento Computtacional 1° Ano

1st Grade - University

20 Qs

Exploratory Data Analysis

Exploratory Data Analysis

University

15 Qs

Quiz #4 WebDev Lec

Quiz #4 WebDev Lec

Assessment

Quiz

Other

University

Easy

Created by

Christine Makilang

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command initializes a new Git repository?

git start

git new

git init

git create

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command adds changes in index.blade.php to the staging area?

git commit index.blade.php

git add index.blade.php

git push index.blade.php

git update index.blade.php

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command commits staged changes with a message?

git push -m "message"

git save -m "message"

git commit -m "message"

git update -m "message"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check which files are modified or staged?

git check

git list

git status

git diff

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Git command shows differences between working directory and staging area?

git diff

git show

git log

git pull

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command removes a file from the staging area but keeps changes in the working directory?

git remove [file]

git reset [file]

git unstage [file]

git delete [file]

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which command shows the difference between staged changes and the last commit?

git diff --cached

git diff --staged

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?