Python

Python

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Cultural Diversity quiz

Cultural Diversity quiz

9th - 12th Grade

20 Qs

Préparation au raccordement xDSL

Préparation au raccordement xDSL

12th Grade

20 Qs

THI VÕ ĐẠO THÁNG 7

THI VÕ ĐẠO THÁNG 7

1st - 12th Grade

20 Qs

K3

K3

1st - 10th Grade

20 Qs

Module 6: Social Groups and Organization

Module 6: Social Groups and Organization

11th Grade - Professional Development

20 Qs

MAC1_Un1-2

MAC1_Un1-2

12th Grade

20 Qs

Realme 7 Pro & Realme C17

Realme 7 Pro & Realme C17

1st Grade - Professional Development

20 Qs

[CBTC28] - QUẢN LÝ TÀI CHÍNH & ĐIỀU HÀNH CUỘC HỌP

[CBTC28] - QUẢN LÝ TÀI CHÍNH & ĐIỀU HÀNH CUỘC HỌP

KG - Professional Development

20 Qs

Python

Python

Assessment

Quiz

Professional Development

9th - 12th Grade

Practice Problem

Medium

Created by

Ioana Boiu

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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)]

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?