TY Python Quiz

TY Python Quiz

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

[AP CSP] Unit 4 Review: Functions and Lists

[AP CSP] Unit 4 Review: Functions and Lists

9th - 12th Grade

10 Qs

AP CSP Loops Practice

AP CSP Loops Practice

9th - 12th Grade

12 Qs

WHILE Loops yr 9

WHILE Loops yr 9

9th - 12th Grade

13 Qs

Python 6. Combined Iteration

Python 6. Combined Iteration

9th Grade

14 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

Computer Science

Computer Science

3rd - 12th Grade

12 Qs

CTE Information Technology Quiz

CTE Information Technology Quiz

7th - 9th Grade

13 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

TY Python Quiz

TY Python Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?