PYTHON BOOTCAMP

Quiz
•
Computers
•
University
•
Medium
Skill Wave
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Python data type?
Integer
Float
Character
Boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
var x
x = 5
variable
var = 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of 5 > 3 and 2 < 1?
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start an if statement in Python?
if:
then:
if do:
statement:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following loop run? for i in range(5):
0
1
5
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a break statement in a loop?
What is the purpose of a break statement in a loop?
To exit the loop prematurely
To start the loop over again
Create a new loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the input() function in Python?
To display output to the user
To read user input from the keyboard
To perform mathematical calculations
to exit
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Get started with python

Quiz
•
University
15 questions
Python Programming - Introduction

Quiz
•
University
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
20 questions
Introduction to Python

Quiz
•
University
15 questions
code trivia

Quiz
•
University
12 questions
Intro to Scratch 2

Quiz
•
KG - University
10 questions
Machine Learning and Python.

Quiz
•
University
10 questions
Round 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade