What are the names given to processes A and B in the diagram?
Quiz 140 / First steps in Python

Quiz
•
Computers
•
9th Grade
•
Hard
Jonathan Saurine
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A: push
B: commit
A: commit
B: push
A: push
B: merge
A: merge
B: push
Answer explanation
In the context of version control, 'commit' refers to saving changes to the local repository, while 'push' refers to sending those changes to a remote repository. Therefore, the correct names for processes A and B are A: commit and B: push.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code would have the same function as the Python code shown?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Regarding version control with Git and GitHub, which of the following is correct?
GitHub stores files on the local computer and Git stores them on a server on the Internet.
Both Git and GitHub store files on a server on the Internet.
Git stores files on the local computer and GitHub stores them on a server on the Internet.
Both Git and GitHub store files on a local computer.
Answer explanation
Git is a version control system that stores files locally on your computer, while GitHub is a cloud-based platform that hosts Git repositories on a server, allowing for collaboration and remote access.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following uses the Python convention for naming contants?
myprimes =
[2, 3, 5, 7, 11, 13]
my_primes =
[2, 3, 5, 7, 11, 13]
mYPrimes =
[2, 3, 5, 7, 11, 13]
MY_PRIMES =
[2, 3, 5, 7, 11, 13]
Answer explanation
In Python, constants are typically named using all uppercase letters with underscores separating words. Therefore, 'MY_PRIMES' follows this convention, while the other options do not.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code snippet is equivalent to the attached code
new_score =
score +10
score =
score += 10
new_score =
score += 10
score = score != 10
Answer explanation
The correct choice, 'score = score += 10', updates the variable 'score' by adding 10 to its current value. This is equivalent to incrementing 'score' directly, while the other options do not achieve the same effect.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid variable name in Python?
2025age = 15
ageIn2025 = 15
age_2025 = 15
_2025age = 15
Answer explanation
In Python, variable names cannot start with a digit. Therefore, '2025age' is not a valid variable name, while 'ageIn2025', 'age_2025', and '_2025age' are all valid.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code will produce the same output as that shown.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
15 questions
Algorithms

Quiz
•
8th - 10th Grade
11 questions
Ice breaker 2

Quiz
•
9th - 12th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)

Quiz
•
7th - 11th Grade
19 questions
Python Loops Review

Quiz
•
9th - 12th Grade
10 questions
Communication & Networking - Hardware (LAN)

Quiz
•
3rd - 12th Grade
13 questions
Git y GitHub

Quiz
•
9th Grade - University
10 questions
Отгадай что обозначают эмодзи

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University