Recapitulare Finala

Recapitulare Finala

3rd Grade

47 Qs

quiz-placeholder

Similar activities

Mblocks and python

Mblocks and python

3rd Grade

50 Qs

Osnove Python

Osnove Python

3rd Grade

50 Qs

Penilaian Akhir Semester Informatika

Penilaian Akhir Semester Informatika

1st Grade - University

42 Qs

Discovering my computer

Discovering my computer

3rd Grade

51 Qs

Python Basics

Python Basics

3rd - 4th Grade

44 Qs

MICROSOFT OFFICE ICON

MICROSOFT OFFICE ICON

KG - 12th Grade

44 Qs

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

Python turtle

Python turtle

3rd Grade

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?