Y10 CS 2020 Lesson1_3

Y10 CS 2020 Lesson1_3

7th - 10th Grade

50 Qs

quiz-placeholder

Similar activities

Y9 TOPIC 1& 2 PYTHON& FLOWCHARTS

Y9 TOPIC 1& 2 PYTHON& FLOWCHARTS

10th Grade

46 Qs

KISI2 PTS GNP Pemrograman Dasarrr

KISI2 PTS GNP Pemrograman Dasarrr

10th Grade

50 Qs

Another TSA Coding Practice Test

Another TSA Coding Practice Test

6th - 8th Grade

50 Qs

CLASS IX PYTHON  REVISION

CLASS IX PYTHON REVISION

9th Grade

48 Qs

python

python

6th - 9th Grade

46 Qs

Revision-2 Python

Revision-2 Python

6th - 8th Grade

50 Qs

Year 9 EOT 2 Assessment

Year 9 EOT 2 Assessment

9th - 12th Grade

50 Qs

Y10 CS 2020 Lesson1_3

Y10 CS 2020 Lesson1_3

Assessment

Quiz

Computers

7th - 10th Grade

Medium

CCSS
6.EE.B.6

Standards-aligned

Created by

SMA Computing

Used 5+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
How would would you print a text string?
output "Hello!"
print ("Hello!")
print (Hello!)
output (Hello!)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which symbol do we use if we want to add a comment to our code?
@
#
*
&

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?
new_var = 81 \ 9
new_var = "81 / 9"
new_var = "81 \ 9"
new_var = 81 / 9

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Choose the statement that assigns 4 to the power of 3 to the variable new_var...
new_var = 4 ** 3
new_var = 3 ** 4
new var = 3 ** 4
new_var = 4 ^^ 3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which of the following is a float?
new_var = 1234
new_var = True
new_var = 1.234
new_var = "True"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which of the following is not a string?
new_var = "True"
new_var = "3123"
new_var = "3.123"
new_var = False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
How would you output new_var = 123 as a text string?
print str(new_var)
print new_var.str
print str[new_var]
print (new_var).str()

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?