Search Header Logo

Recapitulare Finala

Authored by Madalina Barbu

Computers

3rd Grade

Used 2+ times

Recapitulare Finala
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

47 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

10 sec • 1 pt

What’s the file extension used for text files containing Python code?

(a)  

Answer explanation

.py

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

You run a Python program and you receive the text from image in the console.

What does it mean?

The error happened on line 9 of the program.

A NameError occurred.

The error happened on line 1 of the program.

A Traceback error occurred.

The line that generated the error was: print(Hello, world).

Answer explanation

A NameError occurred.

The error happened on line 1 of the program.

The line that generated the error was: print(Hello, world).

The specific error was: name 'Hello' is not defined.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you see >>> inside IDLE, it means that:

Your computer is having an existential crisis.

Python is waiting for you to give it some instructions.

An error has occurred.

Python is upset.

4.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Write the Python code that prints out the text Hello, world:

(a)  

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following Python statement has an error in it:

Measurement Error

Runtime Error

Syntax Error

Answer explanation

Media Image

There’s no quotation mark at the end of the string inside of print().

If you type the code into IDLE’s interactive window, you’ll get the following error:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, variables are:

Snippets of text that you can display on the screen.

Numbers you can perform calculations on.

Names that you can assign to different objects and use to reference those objects throughout your code.

7.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

Which operator symbol is used by Python to assign values to variables?

(a)  

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?