
Python Basics and GitHub Repositories

Quiz
•
Computers
•
University
•
Medium

Roger Holden
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct data type in Python for storing a sequence of characters?
Integer
String
List
Boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a mutable data type in Python?
Tuple
String
List
Integer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code snippet? ```python for i in range(3): print(i) ```
0 1 2
1 2 3
0 1 2 3
1 2 3 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to clone a remote repository from GitHub?
`git push`
`git clone`
`git commit`
`git init`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, which loop is used to iterate over a sequence (such as a list, tuple, or string)?
while loop
for loop
do-while loop
until loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to create a dictionary in Python?
`my_dict = {1, 2, 3}`
`my_dict = [1, 2, 3]`
`my_dict = {'key1': 'value1', 'key2': 'value2'}`
`my_dict = (1, 2, 3)`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to check the status of a Git repository?
`git status`
`git log`
`git diff`
`git fetch`
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
GitHub Jan12

Quiz
•
11th Grade - University
10 questions
Introduction to Git and Github

Quiz
•
University
10 questions
Github Quiz

Quiz
•
University
10 questions
Understanding Git and GitHub

Quiz
•
University
10 questions
IOTA : Web Development Bootcamp Quiz 5

Quiz
•
University
15 questions
code trivia

Quiz
•
University
10 questions
ac/yKvy2PlytnhPX+moKQ/hW4fVT/S/k31GZT0vbf6Q=

Quiz
•
University
10 questions
Version Control Systems Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade