TY Python Quiz

TY Python Quiz

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Programming

Python Programming

11th Grade

17 Qs

AQA GCSE Computer Science - 3.2.2 Programming Concepts

AQA GCSE Computer Science - 3.2.2 Programming Concepts

8th - 10th Grade

20 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

NHTW Programming

NHTW Programming

9th Grade

10 Qs

Validating user input

Validating user input

11th Grade

20 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Python year 9

Python year 9

8th - 11th Grade

20 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?