Basics Python

Quiz
•
Computers
•
8th - 10th Grade
•
Hard
Elif Sulun
Used 916+ 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
Similar Resources on Wayground
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
25 questions
Senior - Python Assessment 1

Quiz
•
9th - 12th Grade
18 questions
Unit 4 Variables, Conditionals & Functions CS20-21

Quiz
•
9th - 12th Grade
20 questions
Python Quiz

Quiz
•
9th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
15 questions
Basic Programming Concepts

Quiz
•
9th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade