Recapitulare Finala

Recapitulare Finala

3rd Grade

47 Qs

quiz-placeholder

Similar activities

Databricks Certified Data Engineer Quiz part 2

Databricks Certified Data Engineer Quiz part 2

1st Grade - University

50 Qs

TIK Bab 7 Hayfa kelas 5

TIK Bab 7 Hayfa kelas 5

3rd Grade

43 Qs

Logo Programming Primary 4

Logo Programming Primary 4

3rd - 4th Grade

45 Qs

Ms. Excel

Ms. Excel

1st - 3rd Grade

50 Qs

FUNDAMENTAL in PROGRAMMING

FUNDAMENTAL in PROGRAMMING

1st - 10th Grade

52 Qs

Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

1st - 12th Grade

52 Qs

Nucleii coding quiz 我问天

Nucleii coding quiz 我问天

1st - 3rd Grade

43 Qs

AP Java Quiz 1

AP Java Quiz 1

KG - University

50 Qs

Recapitulare Finala

Recapitulare Finala

Assessment

Quiz

Computers

3rd Grade

Medium

Created by

Madalina Barbu

Used 2+ times

FREE Resource

47 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

10 sec • 1 pt

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

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 BLANK QUESTION

30 sec • 1 pt

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

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 BLANK QUESTION

20 sec • 1 pt

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?