Search Header Logo

Fundamentals of Python

Authored by Evelyne Iradukunda

Computers

9th - 12th Grade

Used 2+ times

Fundamentals of Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is an example of a:

Text-based programming language

Visual-based programming language

Block-based programming language

Language written in JavaScript

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Input

Output

Print

Command

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'grammar' mistake or you used symbols/operations

incorrectly

False

True

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cannot be used in a print statement

" " (speech marks)

' ' (apostrophes)

( ) round brackets

[ ] square brackets

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1variable

variable_1

variable-1

variable 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

To display the following on screen Hello World! the following command should be used:

print(Hello World!)

print("Hello World" + !)

print("Hello World!")

print"(Hello World!)"

Access all questions and much more by creating a free account

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?