Fundamentals of Python

Fundamentals of Python

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

Kiểu dữ liệu xâu kí tự trong Python

Kiểu dữ liệu xâu kí tự trong Python

10th Grade - University

18 Qs

KS3 Year 9 Python Quiz 02

KS3 Year 9 Python Quiz 02

10th Grade

8 Qs

Python массив

Python массив

9th Grade

16 Qs

Python Data Types & Input/Output

Python Data Types & Input/Output

9th Grade

11 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Fundamentals of Python

Fundamentals of Python

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Evelyne Iradukunda

Used 1+ times

FREE Resource

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!)"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?