Search Header Logo

SYNTAX

Authored by Riya Reji

others

SYNTAX
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How to print "hello world"?

print("hello world")
print(hello world)
print"hello world"
hello world

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Set of rules that are used to create a Python Program.

Variables
Syntax
Keyword
None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

x=10 print(x) what will be the output?

x
X
10
0

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Spaces at the beginning of a code line.

String
Integer
Indentation
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one is the newline character?

"\b"
"\n"
"\N"
"\p"

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

When executing code, Python interpreter ignores______

Variable
Pass statement
Comments
Keyword

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the symbol to write a single-line comment?

*
+
#
$

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?