data types in python Quiz 10

data types in python Quiz 10

11th Grade

30 Qs

quiz-placeholder

Similar activities

Game & Sim MidTerm Exam 2023

Game & Sim MidTerm Exam 2023

9th - 12th Grade

25 Qs

Code HS 3.19 Intro to Programming w/Karel

Code HS 3.19 Intro to Programming w/Karel

9th - 12th Grade

25 Qs

For and While Loops

For and While Loops

9th - 12th Grade

28 Qs

class-11 LIST

class-11 LIST

11th - 12th Grade

25 Qs

Python programming

Python programming

11th Grade

30 Qs

10 сынып HTML

10 сынып HTML

9th - 12th Grade

25 Qs

Python Lists

Python Lists

9th - 12th Grade

27 Qs

lists in python

lists in python

11th - 12th Grade

28 Qs

data types in python Quiz 10

data types in python Quiz 10

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Reshma Kamthe

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be printed after running this FOR loop:

for number in range(6):
 
    print(number)
The number 6 
The numbers 0 - 5
The number 5
The numbers 1 - 6

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many times does the following program print the word ‘computer’:

word= "computer"  
for num in range(1,6):
 
    print(word)
5
6
1
0

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
5
6
21
36

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

5

6

21

36

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
What will the following lines of code print?
A
B
C
A
C
Nothing, it will return an error.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is another way of writing the following code? 
Score = Score + 1 
Score.add(1)
score + 1
Score + Score
Score += 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will check to see if a is equal to b?
if a == b
if a = b:
if a != b:
if a == b:

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?