Mastering Fundamentals

Mastering Fundamentals

Professional Development

15 Qs

quiz-placeholder

Similar activities

GIT

GIT

Professional Development

15 Qs

Git Introduction

Git Introduction

University - Professional Development

20 Qs

Fullstack Intro, Terminal dan Git

Fullstack Intro, Terminal dan Git

Professional Development

10 Qs

edX Vanderbilt - Day 1 Review

edX Vanderbilt - Day 1 Review

Professional Development

10 Qs

git and github

git and github

University - Professional Development

10 Qs

GİTHUB, İŞ AKIŞ YÖNETİMİ

GİTHUB, İŞ AKIŞ YÖNETİMİ

Professional Development

15 Qs

PM JFE 2.0 - conditionals, operators, arrays and loops

PM JFE 2.0 - conditionals, operators, arrays and loops

Professional Development

10 Qs

ROUND 3 TECCASINO

ROUND 3 TECCASINO

KG - Professional Development

15 Qs

Mastering Fundamentals

Mastering Fundamentals

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Sindhu Manivannan

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shree is learning JavaScript and wants to know the correct way to declare a variable in her code.

let variableName; or const variableName; or var variableName;

declare variableName as variable;

variableName = new Variable();

int variableName;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aarush wants to check if his score in the exam is equal to the passing score. How does he use an if statement to check this?

if (score = passingScore) { // code }

if (passingScore == score) { // code }

if (score != passingScore) { // code }

Use 'if (score == passingScore) { // code }' to check equality.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sanya is starting a new project and wants to keep track of her code changes. What is the purpose of the 'git init' command?

To initialize a new Git repository.

To delete an existing Git repository.

To stage changes for commit.

To clone a remote Git repository.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sanya is working on a project and has made several changes to her files. How does she stage these changes in Git before committing?

Run 'git push' to stage changes.

Execute 'git merge ' to stage changes.

Use 'git add ' or 'git add .' to stage changes.

Use 'git commit ' to stage changes.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sanya is working on a project using Git and wants to check the current status of her repository. What command should she use?

git view

git info

git status

git check

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

During a group project, Kabir made several changes to the codebase. What is the function of 'git commit' in this context?

To save changes to the local repository with a message.

To create a new branch in the repository.

To delete files from the local repository.

To merge changes from a remote repository.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tara is learning Git for her software development class. She wants to see the history of all the commits she has made in her project. How can she view the commit history in Git?

Run 'git show' to display commit details.

Execute 'git status' to check commit changes.

Use 'git log' to view the commit history in Git.

Use 'git history' to see past commits.

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?