Y7 - Strings

Y7 - Strings

7th Grade

8 Qs

quiz-placeholder

Similar activities

Python Codehs

Python Codehs

7th - 12th Grade

10 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

print(), int and input() - Python

print(), int and input() - Python

6th - 8th Grade

11 Qs

Python Intro

Python Intro

7th - 8th Grade

12 Qs

Lý thuyết về Python

Lý thuyết về Python

3rd Grade - University

10 Qs

Print Function

Print Function

7th Grade

7 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

DT Grade 7 Python Revision

DT Grade 7 Python Revision

7th - 8th Grade

12 Qs

Y7 - Strings

Y7 - Strings

Assessment

Quiz

Computers

7th Grade

Easy

Created by

Charlie Whittaker

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is an example of...

A text-based programming language

A block-based programming language

Javascript

An algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use to write a program in Python?

Word

IDLE

Powerpoint

Excel

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output from the following code:

print("Hello World!")

SyntaxError

"Hello World!"

Hello World!

print("Hello World!")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to add an in-line comment in our code?

'

@

#

!

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code would display; Hello World!

Print("Hello World!")

print("Hello World!")

print "hello world!"

print(Hello World!)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in Python?

It's a variable

Nothing

It outputs something

It loops the code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we comment code?

To show that we are clever

For fun

No reason

To explain what the code does

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Commented lines of code will affect your program.

True

False