Search Header Logo

L7.1: Python Syntax

Authored by George Weeland Molina

Fun

9th - 12th Grade

Used 21+ times

L7.1: Python Syntax
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

Complete the syntax below to display the given statement:

(a)   ("Hello, I am an Zemo. I am an A.I. robot!")

2.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

What would be the output for the following code below?

a = "Grade"

b = "10"

c = "TLE Class"

print( a, b+c )

(a)  

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all items that will display a string for Hello, World!

" Hello, World! "

" Hello, World! '

Hello, World!

"' Hello, World! "'

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What would be the code that will display the following statement?

Let's go Tamaraw! Let's go!

print ( Let's go Tamaraw! Let's go! )

print = ( Let's go Tamaraw! Let's go! )

print ( "Let's go Tamaraw! Let's go!" )

print = "Let's go Tamaraw! Let's go!"

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Write a code that will display the following statement:

2023

(a)  

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following syntax will set a new line of statement when executed?

\p

\t

\n

\w

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following syntax will execute a tab indent or will add 4 spaces before/after a string?

\p

\t

\n

\w

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?