Python Lesson 3

Python Lesson 3

8th - 11th Grade

18 Qs

quiz-placeholder

Similar activities

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

ULANGAN HARIAN SK

ULANGAN HARIAN SK

8th Grade

20 Qs

Python Lesson 3

Python Lesson 3

Assessment

Quiz

Computers

8th - 11th Grade

Hard

Created by

Huynh

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(Hello world!)

Hello world!
SyntaxError
Hello world
print(Hello world!)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A number such as 25.

Plus, minus, multiply, divide or equals.

An array of text.

A storage location in the program which stores a value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an integer?

A number with a decimal point.

A whole number.

An array of characters.

A single character.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string datatype?

A set of integers

A combination of integers and characters

A set of characters

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

print
input
output
command

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

Create a free account and access millions of resources

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?