Python

Python

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

C022 Sistema Tributario Segundo

C022 Sistema Tributario Segundo

10th Grade

20 Qs

Psikotes

Psikotes

2nd Grade - Professional Development

20 Qs

PH 1 (DISKUSI)

PH 1 (DISKUSI)

9th Grade

25 Qs

ULANGAN HARIAN 1 KAS KECIL

ULANGAN HARIAN 1 KAS KECIL

12th Grade

20 Qs

Evolução dos Softwares

Evolução dos Softwares

1st - 12th Grade

19 Qs

How to talk about what goes on

How to talk about what goes on

12th Grade - University

20 Qs

Pejuang WFO Siloam

Pejuang WFO Siloam

10th Grade - University

20 Qs

2019 STAAR CAMPUS TRAINING

2019 STAAR CAMPUS TRAINING

3rd - 12th Grade

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?