Python

Python

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

PHS Dress Code Review

PHS Dress Code Review

9th - 12th Grade

20 Qs

Python V2

Python V2

12th Grade - Professional Development

21 Qs

Team Building

Team Building

1st Grade - Professional Development

28 Qs

TT Proficiencies

TT Proficiencies

5th - 12th Grade

20 Qs

quiz on bigdata and haddop

quiz on bigdata and haddop

12th Grade

20 Qs

Product Knowledge

Product Knowledge

1st Grade - Professional Development

20 Qs

AMTBLK06 Final A

AMTBLK06 Final A

12th Grade - University

20 Qs

Python Quiz

Python Quiz

12th Grade

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?