Search Header Logo

Y9 - T2 - L6 - HOMEWORK

Authored by Sofia Mesa-Giner

Computers

9th Grade

Used 3+ times

Y9 - T2 - L6 - HOMEWORK
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?