Basics Python
Quiz
•
Computers
•
8th - 10th Grade
•
Hard
Elif Sulun
Used 919+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which commands might be correct? (Multiple answers)
random. random(1, 10)
print(random.random( ))
print(random. randint(1,10))
import.random(2.7)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define(assign) variables?
var="String"
func==Hello
var : 123
word= Hello
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one does take you to next line?
\t
\n
/n
\\
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the word (command) used to display numbers and text on the screen?
Input
Output
Command
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used in python to assign values to a variable?
:
*
=
==
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these would work as a piece of code?
if string="Dove"
if string=="Dove"
IF string="Dove":
if string=="Dove":
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the end after if statements?
if
Elif
Else
While
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Database Basics v2 N5
Quiz
•
1st - 12th Grade
20 questions
terstruktur
Quiz
•
10th Grade
20 questions
AQA GCSE Computer Science - 3.2.6 Data structures
Quiz
•
8th - 10th Grade
15 questions
[RB3-Ch9] Application of Computers
Quiz
•
8th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
15 questions
REVISION-Primary & Secondary Storage
Quiz
•
10th - 11th Grade
15 questions
HTML Quiz
Quiz
•
9th - 12th Grade
15 questions
Algorithms
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
