KS3-Yr8-Python Inputs and Outputs Quiz

KS3-Yr8-Python Inputs and Outputs Quiz

9th Grade

5 Qs

quiz-placeholder

Similar activities

Y9 - T2 - L7 - RP

Y9 - T2 - L7 - RP

9th Grade

8 Qs

LUA Test

LUA Test

9th Grade - University

10 Qs

Quiz de JavaScript

Quiz de JavaScript

9th - 12th Grade

9 Qs

Python Object Types - Numbers

Python Object Types - Numbers

9th - 12th Grade

10 Qs

Java- Session: 5-10

Java- Session: 5-10

8th - 10th Grade

10 Qs

KUIS_INFORMATIKA_AlGO-PEMROGRAMAN_SMA_X

KUIS_INFORMATIKA_AlGO-PEMROGRAMAN_SMA_X

9th - 12th Grade

10 Qs

Python_Combining_Technique

Python_Combining_Technique

9th - 10th Grade

10 Qs

Introduction to JavaScript

Introduction to JavaScript

7th - 9th Grade

7 Qs

KS3-Yr8-Python Inputs and Outputs Quiz

KS3-Yr8-Python Inputs and Outputs Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Mr McCallion

Used 5+ times

FREE Resource

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