Mastering Fundamentals

Mastering Fundamentals

Professional Development

15 Qs

quiz-placeholder

Similar activities

Number System

Number System

Professional Development

10 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

IT Fundamentals

IT Fundamentals

Professional Development

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

KUIS CANVA

KUIS CANVA

Professional Development

10 Qs

OOP Belitung

OOP Belitung

Professional Development

10 Qs

Mastering Fundamentals

Mastering Fundamentals

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Sindhu Manivannan

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?