Python 2.1 quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Scott Freeman
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
explain what would print in the following code without coding it
print("My \nname \n is \nBond.", end=" ")
print("James Bond.")
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Correct the following code so it will work in the manner it is intended using the sep=
print(sep="&", "fish" , "chips")
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines of code would make a SyntaxError?
print('Freg\'s book.')
print (" ' Greg's book.' ")
print(' "Greg\'s book." ')
print("Greg\'s book.")
print(' "Greg's book." ')
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Explain what the part of the code that has sep= "-*-" would do to each argument of a line of code?
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to print "Hello, World!" in Python?
print(Hello, World!)
print("Hello, World!")
echo "Hello, World!"
printf("Hello, World!")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Similar Resources on Wayground
10 questions
Short Cut Keys

Quiz
•
3rd - 10th Grade
10 questions
1.2 Basic String Manipulation

Quiz
•
9th Grade
10 questions
Code Combat

Quiz
•
10th Grade
9 questions
Premiers pas avec turtle

Quiz
•
11th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
10 questions
Python Boolean and If

Quiz
•
9th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade