# InfytQ Introduction to Programming-Quiz 3

Question 1

Time: 00:00:00
Identify the correct variable name

_var_iab_le

_var_iab_le

0variable

0variable

vari able

vari able

var?iable

var?iable

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 2

Time: 00:00:00
What is the bool() return

i) True
ii) False
iii)zero
iv) 1

i or ii

i or ii

iii or iv

iii or iv

i or iv

i or iv

ii or iv

ii or iv

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 3

Time: 00:00:00
The maximum value of an integer in Python (version 3)

2^63-1

2^63-1

2^32-1

2^32-1

2^31

2^31

no explicit range

no explicit range

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 4

Time: 00:00:00
What is a prefix used for hexadecimal number in python

0x

0x

hex

hex

0H

0H

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 5

Time: 00:00:00
What is prefix used for binary number in python

0B

0B

0b

0b

bin

bin

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 6

Time: 00:00:00
What is prefix used for hexadecimal number in python

0o

0o

0oc

0oc

oct

oct

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 7

Time: 00:00:00
How would you represent 3.36*10^8 as a constant floating point

3.36*(10**8)

3.36*(10**8)

3.36e8

3.36e8

3.36e-8

3.36e-8

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 8

Time: 00:00:00
How would you represent 5.5*10^-2 as a constant floating point.

5.5*(10**-2)

5.5*(10**-2)

5.5e2

5.5e2

5.5e-2

5.5e-2

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 9

Time: 00:00:00
How can you print the string hello ‘world’

print(“ hello ‘world’ ”)

print(“ hello ‘world’ ”)

print(‘ hello ‘world’ ’)

print(‘ hello ‘world’ ’)

print("""hello 'world'""")

print("""hello 'world'""")

both a and b

both a and b

all the above

all the above

Once you attempt the question then PrepInsta explanation will be displayed.

Start

Question 10

Time: 00:00:00
print('prep\ninsta')

What will be output of the above statement

prep \insta

prep \insta

prep\ninsta

prep\ninsta

prep insta

prep insta

prep insta

prep insta

Once you attempt the question then PrepInsta explanation will be displayed.

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/0

Accuracy

0%