Python Input, Print, and Expressions

Python Input, Print, and Expressions

7th Grade

14 Qs

quiz-placeholder

Similar activities

MS PAINT

MS PAINT

7th Grade

10 Qs

Python Programming Quiz

Python Programming Quiz

7th Grade

16 Qs

Python Input, Print, and Expressions

Python Input, Print, and Expressions

Assessment

Quiz

Computers

7th Grade

Easy

Created by

Irina Mandru

Used 4+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Cu ce funcție citim o valoare pentru o variabilă în Python?

get_input()

user_input()

read_input()

input()

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Cum afișăm valoarea unei variabile în Python?

display(variable_name)

show(variable_name)

output(variable_name)

print(variable_name)

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ce va fi afișat ca urmare a executării acestei instrucțiuni: print(5 + 3 * 2)?

7

15

11

10

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Care este rezultatul expresiei: 10 / 2 * (3 + 1)?

8

5

20

15

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Cum dăm o valoare unei variabile în Python?

folosim operatorul de adunare (+)

folosim operatorul de atribuire (=)

folosim operatorul de înmulțire (*)

folosim operatorul de împărțire (/)

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ce va fi afișat după executarea următoarelor instrucțiuni:

x = 5

print(x + 3)?

8

3

10

15

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ce va fi afișat după executarea instrucțiunii: print('Hello' + 'World')?

HelloWorld

WorldHello

Hello World

HWorldello

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?