Fundamentals of Python

Fundamentals of Python

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

Python Beginner

Python Beginner

12th Grade

10 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 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?