
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
12 questions
Data visualization

Quiz
•
10th Grade - University
15 questions
Tool Agile

Quiz
•
University
15 questions
PYTHON UNIT I MCQS

Quiz
•
University
10 questions
Python программалоо тили киришүү

Quiz
•
University
15 questions
Python Language Programming

Quiz
•
University
7 questions
flask deploy

Quiz
•
12th Grade - Professi...
15 questions
Python - from 0 to HERO

Quiz
•
University
15 questions
FOSS Community Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University