Search Header Logo

Python Baics

Authored by Neena Sharma

Computers

10th - 11th Grade

CCSS covered

Used 47+ times

Python Baics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the environment in Python that write your programs and then test them out?

Shell
Window
IDLE
CLI

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What button do you press to compile (run) your program so that it runs in the shell?

F3
F5
F7
F9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which symbol do we use if we want to add a comment to our code?

@
#
*
&

4.

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print("x*y")


The code above displays the following:

11

x*y

Syntax Error

30

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

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?