1/47
Looks like no tags are added yet.
In Git, what does the command git status do?
Group of answer choices
Displays the current state of the working directory and staging area
Pushes changes to the remote repository
Shows the list of all commits in history
Deletes the repository
Displays the current state of the working directory and staging area*
What does git log display?
Group of answer choices
The list of files currently tracked
The current status of branches
The history of commits in the repository
The changes staged for the next commit
The history of commits in the repository*
The command git push origin main does what?
Group of answer choices
Deletes the remote branch
Creates a new branch called origin
Pushes local changes to the remote repository’s main branch
Saves changes locally without uploading them
Pushes local changes to the remote repository’s main branch*
Which of the following best describes version control?
Group of answer choices
A system for tracking changes to files and coordinating work among developers
A debugging tool for detecting errors in code
A system for automatically compiling code
A programming language feature for managing memory
A system for tracking changes to files and coordinating work among developers*
What is the purpose of a pull request in GitHub?
Group of answer choices
To delete changes from the repository
To suggest changes that can be reviewed and merged into a branch
To initialize a new Git project
To request permission to clone a repository
To suggest changes that can be reviewed and merged into a branch*
Which type of testing focuses on the interaction between multiple modules or components?
Group of answer choices
Integration testing
Unit testing
Performance testing
Regression testing
Integration testing*
Which type of testing focuses on testing individual components or functions of a program?
Group of answer choices
System Testing
Integration Testing
Unit Testing
Acceptance Testing
Unit Testing*
What does an HTTP response code 200 OK mean?
Group of answer choices
Resource not found
Request failed due to server error
Unauthorized access
Request was successful
Request was successful*
What does the 500 status code mean?
Group of answer choices
Timeout
Not Found
Server Error
Bad Request
Server Error*
What happens if you send invalid JSON in a POST request body?
Group of answer choices
The response will still be successful
The request is ignored
The request will usually fail or return a 400 Bad Request
The server automatically fixes it
The request will usually fail or return a 400 Bad Request*
Which of the following is TRUE about a Git branch?
Group of answer choices
It is used only for documentation purposes
It represents an independent line of development
It is the staging area before commits are finalized
It is a copy of a repository stored in another folder
It represents an independent line of development
Once a commit is pushed to GitHub, it can never be modified or reverted.
Group of answer choices
True
False
False
The command git init is used to:
Group of answer choices
Merge two branches
Undo the last commit
Download a project from GitHub
Start tracking changes in a new local repository
Start tracking changes in a new local repository
The staging area in Git is where files are prepared before being committed.
Group of answer choices
True
False
True
A Git repository can only exist online; it cannot be created locally.
Group of answer choices
True
False
False
What is the purpose of a pull request in GitHub?
Group of answer choices
To initialize a new Git project
To delete changes from the repository
To suggest changes that can be reviewed and merged into a branch
To request permission to clone a repository
To suggest changes that can be reviewed and merged into a branch
Collaboration through GitHub is possible because:
Group of answer choices
All developers work only on the same local machine
GitHub removes the need for commits
Changes can be pushed to a shared remote repository and merged
Git automatically prevents all conflicts
Changes can be pushed to a shared remote repository and merged
In Git, what does the command git status do?
Group of answer choices
Pushes changes to the remote repository
Deletes the repository
Displays the current state of the working directory and staging area
Shows the list of all commits in history
Displays the current state of the working directory and staging area
A remote repository is a version of the project hosted on a server, usually used for collaboration.
Group of answer choices
True
False
True
Which Git command creates a copy of a remote repository on your computer?
Group of answer choices
git clone
git commit
git pull
git init
git clone
What does git log display?
Group of answer choices
The changes staged for the next commit
The current status of branches
The list of files currently tracked
The history of commits in the repository
The history of commits in the repository
Every commit in Git is identified by a unique hash.
Group of answer choices
True
False
True
The command git push origin main does what?
Group of answer choices
Creates a new branch called origin
Deletes the remote branch
Saves changes locally without uploading them
Pushes local changes to the remote repository’s main branch
Pushes local changes to the remote repository’s main branch
git pull downloads and merges changes from a remote repository into the local branch.
Group of answer choices
True
False
True
What is the local history of changes in Git called?
Group of answer choices
Clone
Commit
Repository
Branch
Commit
Git can only be used for programming projects; it cannot track changes in other file types.
Group of answer choices
True
False
False
A merge conflict happens when:
Group of answer choices
Two users make changes to the same line of a file in different branches
GitHub is offline
The internet connection is lost during push
Two users delete the same file
Two users make changes to the same line of a file in different branches
Which of the following best describes version control?
Group of answer choices
A programming language feature for managing memory
A system for automatically compiling code
A system for tracking changes to files and coordinating work among developers
A debugging tool for detecting errors in code
A system for tracking changes to files and coordinating work among developers
Which of these is NOT a common Git hosting service?
Group of answer choices
Stack Overflow
GitLab
Bitbucket
GitHub
Stack Overflow
Merge conflicts must always be resolved manually by the developer.
Group of answer choices
True
False
True
When testing a REST API, which HTTP method is used to create new data?
Group of answer choices
POST
PUT
GET
DELETE
POST
Which HTTP method is commonly used to retrieve data from an API?
Group of answer choices
GET
PUT
POST
DELETE
GET
It is the process of making a request from an API.
Group of answer choices
API Key
Endpoint
API Call
Status Code
API Call
What happens if you send invalid JSON in a POST request body?
Group of answer choices
The server automatically fixes it
The response will still be successful
The request will usually fail or return a 400 Bad Request
The request is ignored
The request will usually fail or return a 400 Bad Request
The GET method is used to retrieve specific data from the API.
Group of answer choices
True
False
False
Integration testing is done to verify the system as a whole meets the requirements?
Group of answer choices
True
False
False
Which type of testing focuses on the interaction between multiple modules or components?
Group of answer choices
Integration testing
Regression testing
Unit testing
Performance testing
Integration testing
Which of the following is a benefit of automated testing?
Group of answer choices
Faster and repeatable test execution
Reduces the need for developers
Guarantees no bugs exist
Removes the need for documentation
Faster and repeatable test execution
What is the main purpose of software testing?
Group of answer choices
To reduce the size of the code
To prove that the software works perfectly
To replace the need for code reviews
To identify bugs and ensure software meets requirements
To identify bugs and ensure software meets requirements
Which type of testing focuses on testing individual components or functions of a program?
Group of answer choices
Acceptance Testing
Unit Testing
Integration Testing
System Testing
Unit Testing
Which of the following is NOT an HTTP method?
Group of answer choices
SEND
GET
DELETE
POST
SEND
What does the 500 status code mean?
Group of answer choices
Timeout
Bad Request
Server Error
Not Found
Server Error
What does an HTTP response code 200 OK mean?
Group of answer choices
Resource not found
Request failed due to server error
Unauthorized access
Request was successful
Request was successful
Which of the following is NOT a functional test?
Group of answer choices
Testing a login API endpoint returns the correct response
Validating that a file upload works as expected
Checking if a shopping cart correctly updates its total
Measuring how fast the system responds under heavy load
Measuring how fast the system responds under heavy load
Which type of testing validates the entire system end-to-end against requirements?
Group of answer choices
Functional testing
Debugging
Unit testing
System testing
System testing
What is the main purpose of Postman?
Group of answer choices
Designing user interfaces
Writing and compiling Java code
Debugging JavaScript errors
Running and testing API requests
Running and testing API requests
The digital location where an API receives requests about its resources is called endpoints.
Group of answer choices
True
False
True
What is the difference between PUT and PATCH requests?
Group of answer choices
PATCH deletes the resource
PUT replaces the entire resource, PATCH updates only part of it
PUT updates part of a resource, PATCH replaces all of it
PUT and PATCH are identical
PUT replaces the entire resource, PATCH updates only part of it