Quiz #4 WebDev Lec

Quiz #4 WebDev Lec

University

20 Qs

quiz-placeholder

Similar activities

Batch E418

Batch E418

University

20 Qs

Back-End Development - Quiz 1

Back-End Development - Quiz 1

University

20 Qs

LinkedIn and GitHub Quiz

LinkedIn and GitHub Quiz

University

15 Qs

LinkedIn and GitHub Quiz

LinkedIn and GitHub Quiz

University

15 Qs

Complejidad de Algoritmos

Complejidad de Algoritmos

University

16 Qs

CyberSecurity and BlockChain - Day 4 - Room no - 206

CyberSecurity and BlockChain - Day 4 - Room no - 206

University

16 Qs

Fundamentos de Git y GitHub

Fundamentos de Git y GitHub

University

16 Qs

Instalasi Software dan Hardware

Instalasi Software dan Hardware

University

20 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?