PYTHON QUIZ 2

PYTHON QUIZ 2

1st Grade

20 Qs

quiz-placeholder

Similar activities

PYTHON 1

PYTHON 1

1st Grade

20 Qs

Parts of the computer

Parts of the computer

1st - 4th Grade

20 Qs

Year 9 - Python Test

Year 9 - Python Test

1st - 3rd Grade

20 Qs

Identificação e remoção de código redundante ou desnecessário.

Identificação e remoção de código redundante ou desnecessário.

1st Grade

20 Qs

ms word

ms word

1st Grade - Professional Development

20 Qs

Döngüler

Döngüler

1st Grade

16 Qs

Programação 1.0 - Inatel

Programação 1.0 - Inatel

1st - 3rd Grade

16 Qs

Ôn tập Word 2013

Ôn tập Word 2013

1st - 12th Grade

15 Qs

PYTHON QUIZ 2

PYTHON QUIZ 2

Assessment

Quiz

Instructional Technology

1st Grade

Medium

Created by

Mohamad Shahrin

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python has a simple syntax similar to the

coding language

english language

spanish language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is code for Hello, World! in Python

print Hello, World!

print("Hello, World!)

print("Hello, World!")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the code for print

257

Hello, World!

x = 257

y = "Hello, World!"

print(y)

print(x)

x = 257

y = "Hello, World!"

print(x)

print(y)

x = 257

y = Hello, World!

print x

print y

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comments in Python are written with a special character, which one?

brackets

hashtag

coma

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The output of the program :

x = 4

x = "Sally"

print(x)

four

Saly

Sally

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python function lets the user enter an input?

answer()

open()

print()

input()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Kassim" to the variable name?

name  = print( "Kassim")

input("Kassim")

name = "Kassim"

name = input("Kassim")

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?