Search Header Logo

Python Fundamentals - II

Authored by Tamil Selvi

Computers

11th - 12th Grade

CCSS covered

Used 116+ times

Python Fundamentals - II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print(3+4)

3+4
7
SyntaxError
print(3+4)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print("3+4")

7
3+4
34
SyntaxError

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the most appropriate data type for: "13th December"

Float
Boolean
Integer
String

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A data type consisting of numbers, letters and symbols.

String
Integer
Float
Boolean

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the term 'debug' mean?

Identify errors and fix them.
Making a calculation
A set of instructions
Looking at code

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?