
Mastering Fundamentals

Quiz
•
Computers
•
Professional Development
•
Medium
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
Use 'git add
Use 'git commit
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
Similar Resources on Wayground
10 questions
Azure_DevOps_Mod1,2_Akshay

Quiz
•
Professional Development
10 questions
Maven/Gradle

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Computer Building & Setup

Quiz
•
Professional Development
10 questions
git quiz

Quiz
•
Professional Development
15 questions
CloudBinary_Jenkins_Quiz- 2

Quiz
•
Professional Development
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

Quiz
•
University - Professi...
15 questions
Mastering HTML and CSS Concepts

Quiz
•
Professional Development
10 questions
Quiz tentang Git dan GitHub

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade