Python basics - Codehs

Python basics - Codehs

10th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Ôn tập KTGK. Bài 17. Biến và lệnh gán

Ôn tập KTGK. Bài 17. Biến và lệnh gán

10th Grade

15 Qs

Ôn tập bài 3: Giới thiệu về Microsoft Acces

Ôn tập bài 3: Giới thiệu về Microsoft Acces

12th Grade

15 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

Conditions

Conditions

8th - 10th Grade

16 Qs

مراجعة-علوم الحاسب-نهاية ف2

مراجعة-علوم الحاسب-نهاية ف2

11th Grade

20 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Access bài 7,8

Access bài 7,8

12th Grade

20 Qs

Parcial - Módulo IV

Parcial - Módulo IV

1st Grade - University

15 Qs

Python basics - Codehs

Python basics - Codehs

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

CCSS
6.EE.B.6

Standards-aligned

Created by

GINA HODGES

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the name of the programming language we are learning?

Scratch
Python
Pie thin
Scribble

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

print
input
output
command

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What symbol is used in python to assign values to a variable?

equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these would work as a piece of code?

IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How would you assign an integer to a variable?

new_var = 4
new_var == 4
new_var = "4"
new var "4"

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which symbol do we use if we want to add a comment to our code?

@
#
*
&

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How would would you print a text string?

output "Hello!"

print "Hello!"

print (Hello!)

output (Hello!)

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?