Search Header Logo

Quiz 2

Authored by youssef elhakem

Information Technology (IT)

Professional Development

Used 4+ times

Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1.  What is the main purpose of a Version Control System?

  To manage multiple versions of source code

   To delete old versions of files

To enhance the security of software projects

To speed up software compilation

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

2.  What type of Version Control System is Git?

Centralized

Distributed

Local

 Hybrid

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to create a new Git repository

git init

git clone

git commit

git add

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to synchronize changes from the remote repository to your local repository?

git push

git pull

git clone

git merge

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a branch in Git?

A type of version control system

A pointer to a specific commit

A separate workspace for development

A backup copy of the repository

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What mode should be used to open a file in Python for reading?

'w'

'r'

'a'

'x'

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method is used to write data to a file in Python?

read()

write()

open()

append()

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?