
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
5 questions
Python Basics Day 12

Quiz
•
University
15 questions
Git Workshop

Quiz
•
University
5 questions
GitHub

Quiz
•
University
11 questions
Git and Version Control

Quiz
•
University
7 questions
DIS08_2_Git

Quiz
•
University
10 questions
Python Unit 3

Quiz
•
University
11 questions
Quiz 7

Quiz
•
University
14 questions
HADA TEMA 01

Quiz
•
University
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University