Python

Python

1st - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Python

Python

7th - 8th Grade

13 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python - Y8 lesson 1

Python - Y8 lesson 1

8th Grade

12 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Python Basics

Python Basics

8th - 12th Grade

12 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python

Python

Assessment

Quiz

Mathematics, Computers, Social Studies

1st - 12th Grade

Medium

Created by

Carlos Guerrero

Used 4+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can you create a variable in python with the data about CO2 Emissions across countries over time?

yes

no

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct syntax to output "Hello Global Studies" in Python

echo("Hello Global Studies"

echo("Hello Global Studies")

p("Hello Global Studies")

print("Hello Global Studies")

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

When I insert a _ symbol that means I add a comment in Python code (green colour)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you create a variable with the numeric value 5?

x = 5

x = int(5)

Both are correct

5.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

What is the correct file extension for Python notebooks?

.py

.ipynb

.pynb

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct way to create a function in Python?

create myFunction():

def myFunction():

function myfunction():

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I have a python list of the 17 SDG (Sustainable Development Goals) from the UN. Which number do I expect as the outcome in python if I want to get the 'Climate Action' one?

SDG = '13'

SDG = '2'

SDG = '1'

8.

FILL IN THE BLANK QUESTION

10 sec • 1 pt

With __ method I can find the length of my variable

9.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of these collections defines a LIST?

{"apple", "banana", "cherry"}

{"apple": "banana": "cherry"}

["apple", "banana", "cherry"]

("apple", "banana", "cherry")