Python

Python

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Python básico

Python básico

9th - 12th Grade

20 Qs

Buoi03_HP2_SNLTW

Buoi03_HP2_SNLTW

6th - 12th Grade

20 Qs

Basic 2 Python

Basic 2 Python

12th Grade - Professional Development

20 Qs

Logo Quiz

Logo Quiz

6th Grade - University

20 Qs

Python 1.0

Python 1.0

10th Grade - University

20 Qs

IoT test

IoT test

10th - 12th Grade

20 Qs

EDPM Paper 01 General Profiency F. Gumbs

EDPM Paper 01 General Profiency F. Gumbs

7th - 12th Grade

20 Qs

Python Basic 4

Python Basic 4

12th Grade - Professional Development

20 Qs

Python

Python

Assessment

Quiz

Professional Development

9th - 12th Grade

Medium

Created by

Ioana Boiu

Used 3+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Insert the code boxes in the correct position in the order to build a line of code witch asks the user for an integer value and assings it to the counter variable-Python

counter = input('Enter an integer value: ')
counter = input(int('Enter an integer value: '))
counter = int('Enter an integer value: ')
1. counter = int(input('Enter an integer value: '))

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Whitch of the following expresion evaluate to a non-zero result?-Python

Any non-zero number or non-empty string
The result of 1 + 1
An empty string
Only the number 0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A program written in a hight-level programming language is called..

low-level programming language
binary code
machine code
source code

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Arrange the binary numeric operators in the order whitch reflects their priorities: ** , /,-

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

menu={"sarmale":20.6 , "cozonac":40.3 , "pui":12.56}

for value in menu.items():

print(value[1],end="")

20.640.312.56

aou

Error

002

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

colectie=[]

colectie.append(1)

colectie.insert(0,2)

dublura=colectie[:]

dublura.append(3)

print(colectie+dublura)

[2,1,2,1,3]

[2,1,3,2,1,3]

Sintax error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following Python code?

numbers = [1, 2, 3]

numbers.append(4)

numbers.extend([5, 6])

print(numbers)

[1, 2, 3, 4, 5, 6]

[1, 2, 3, 4, [5, 6]]

[1, 2, 3, 4, (5, 6)]

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?