Search Header Logo

Data handling 28/06/23

Authored by vishnupriya vishnupriya

Computers

11th Grade

Used 7+ times

Data handling 28/06/23
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following sequence of statements

a=35

m=a

Following the execution of these statements python has created how many objects and how many references?

Two integer objects, two references

One integer object, two references

One integer object, one references

Two integer objects, one reference

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python built in function returns the unique number assigned to an object?

identity()

id()

refnum()

ref()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The operator used to check if both the operands reference the same object memory is the _______ operator

in

is

id

==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For two objects x and y, the expression x is y will yield a True, if and only if

id(x)==id(y)

len(x)==len(y)

x==y

all of these

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is not a an immutable type in Python?

String

Tuples

Set

Dictionary

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python operator always yields the result of __________ datatype

integer

floating point

complex

all of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression 100/25?

4

4.0

2.5

none of these

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?