Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

9th Grade

20 Qs

quiz-placeholder

Similar activities

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Variables and Data Types Knowledge Check

Variables and Data Types Knowledge Check

9th - 12th Grade

16 Qs

Python

Python

8th - 9th Grade

15 Qs

Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Sofia Mesa-Giner

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements contain valid Python string literals? Select all that are correct:

string = "1234"

string = Hello, world.

string = 'Hello, world.'

string = 'We're #1!'

string = "We're #1!"

Answer explanation

Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Joining two strings with the + operator is called …

String concatenation

Correct

String slicing

String indexing

A string method

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names in Python are case-sensitive

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable name can start with a number.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill the code to declare a variable that holds the name of a mobile brand

___________ _ iPhone

mobileBrand x

mobileBrand ==

mobileBrand =

x mobileBrand

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are applications of Python?

Web development

Machine Learning

IoT

All answers are corrrect

Answer explanation

Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which operator can be used to compare two values?

<>

==

><

Answer explanation

Media Image

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?