Python Data Types and Lists ( level easy )

Python Data Types and Lists ( level easy )

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python - 3.4.13 - Lists Quiz

Python - 3.4.13 - Lists Quiz

12th Grade

8 Qs

Review of python

Review of python

12th Grade

10 Qs

Quiz 142 - Python inputs and outputs

Quiz 142 - Python inputs and outputs

9th Grade - University

15 Qs

Python Fundamentals

Python Fundamentals

11th - 12th Grade

12 Qs

Problem Solving using Python and R - UNIT II - Tuples

Problem Solving using Python and R - UNIT II - Tuples

12th Grade

15 Qs

Python List Basics

Python List Basics

12th Grade

14 Qs

PCEP 3C: Collect and process data using tuples

PCEP 3C: Collect and process data using tuples

12th Grade

10 Qs

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

Python Data Types and Lists ( level easy )

Python Data Types and Lists ( level easy )

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Saranya S

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to represent whole numbers in Python?

bool

str

int

float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The answer for the following code is

print(" 27+43= ")

70

"27+43=70"

"27+43"

73

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of '5 + 3' in Python?

10

7

2

8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between 'float' and 'integer' methods in Python lists.

both has decimal numbers

float has decimal numbers and integers are whole numbers

both has whole numbers

float has text and integers has decimal numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to represent text in Python?

integer

character

string

boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the length of a list in Python?

count(your_list_name)

size(your_list_name)

length(your_list_name)

len(your_list_name)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'in' keyword do when used with lists in Python?

Adds a value to the end of a list

Removes a value from a list

Sorts the list in descending order

Checks if a value exists in a list

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?