TY Python Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Joanna Phillips
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Why do we need to test the code we create? Choose all correct answers from the options given below.
Humans who write code can make mistakes.
Testing is time consuming and can be skipped if needed.
A software product with errors can have a negative impact for a company.
Fixing errors early and often improves the quality of the code.
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is Python used for? Choose all that are correct from the options given below.
Scripting
Web Development
Querying a Database
Artificial Intelligence
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the default type of input( )?
Float
String
Integer
Boolean
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Examine this code. What type of loop is being used here?
a WHILE loop
a FOR loop
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A FOR loop is best suited for unknown endings like when 'Y' is entered.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name?
My Box 2
MyBox@2
my_box_2
2_My_Box
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A list is a collection of objects which are stored in one variable.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Coding Pre-quiz

Quiz
•
6th - 9th Grade
12 questions
Python Programming - Iteration

Quiz
•
9th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12

Quiz
•
3rd - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
20 questions
Loops

Quiz
•
1st - 12th Grade
18 questions
AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade