Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

9th Grade

20 Qs

quiz-placeholder

Similar activities

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

quiz dasar python

quiz dasar python

1st Grade - University

20 Qs

Intro to Python Vocabulary

Intro to Python Vocabulary

7th - 12th Grade

20 Qs

J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

Review String

Review String

9th - 12th Grade

21 Qs

Micro:Bit Homework 1

Micro:Bit Homework 1

6th - 10th 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?