KS3-Yr8-Python Inputs and Outputs Quiz

KS3-Yr8-Python Inputs and Outputs Quiz

9th Grade

5 Qs

quiz-placeholder

Similar activities

Q3 L4 (CSS 9)

Q3 L4 (CSS 9)

9th Grade

10 Qs

pemrograman dasar

pemrograman dasar

KG - 10th Grade

10 Qs

Lourdes Amaranta Ayala Gracia

Lourdes Amaranta Ayala Gracia

8th Grade - University

10 Qs

ITVET - Documentation, Maintenance, Registration & Hazards

ITVET - Documentation, Maintenance, Registration & Hazards

9th Grade

10 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

KS3-Yr8-Python Inputs and Outputs Quiz

KS3-Yr8-Python Inputs and Outputs Quiz

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Mr McCallion

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a 'string' in programming?

A type of function

A data type that consists of one of many digits

A data type that consists of one or many alphanumeric characters or symbols

A type of variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if quotes are not used when outputting a string in a print() statement?

The program outputs the string

The program crashes with no error

The program looks for a variable with that name

The program outputs "TypeError" with some further information

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can a string and a variable be joined together in a print() statement?

Using the '+' operator

Using the '-' operator

Using the '&' operator

Using the '*' operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using the '+' operator to form sentences in python?

To multiply two strings

To join two strings

To subtract two strings

To divide two strings

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be remembered when using the '+' operator to form sentences?

Add commas in the strings

Use the '*' operator instead

Add spaces in the strings in the appropriate positions

Use the '-' operator instead

Discover more resources for Computers