0% found this document useful (0 votes)
22 views

Python Quiz - 3

Uploaded by

abdulyaqub325
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Python Quiz - 3

Uploaded by

abdulyaqub325
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

11/11/24, 9:17 PM Python Quiz - 3

Python Quiz - 3 Total points 6/10

Kindly answer all the questions

The respondent's email ([email protected]) was recorded on submission of this


form.

1. Which data type is suitable for storing your teacher name? * 1/1

String

Integer

Float

Boolean

2. Which data type is suitable for storing your teacher age? * 1/1

String

Integer

Float

Boolean

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 1/6
11/11/24, 9:17 PM Python Quiz - 3

3. Which data type is suitable for storing your teacher salary? * 1/1

String

Integer

Float

Boolean

4._________________ is ordered collection of items with duplicates, *0/1


indexed by positive integers

Sequence

Integer

Float

All of above

Correct answer

Sequence

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 2/6
11/11/24, 9:17 PM Python Quiz - 3

5.String is ordered sequence of letters / characters enclosed in *0/1


___________

Single Quotes (' ')

Double Quotes (" ")

Triple Quotes (''' ''')

All of above

Correct answer

All of above

6.__________ is ordered sequence of values of any type enclosed in *1/1


[ ]. Values can be changed after assigned (mutable)

Set

List

Tuple

Dictionary

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 3/6
11/11/24, 9:17 PM Python Quiz - 3

7._________ is ordered sequence of values of any type enclosed in ( *0/1


). Values cannot be changed after assigned (immutable)

Set

List

Tuple

Dictionary

Other:

Correct answer

Tuple

8._______ is unordered collection of values of any type without *0/1


duplicate

Set

List

Tuple

Dictionary

Correct answer

Set

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 4/6
11/11/24, 9:17 PM Python Quiz - 3

9.___________________ stores Key Value pairs enclosed in curly *1/1


brackets { }. Values are accessed by key.

Set

List

Tuple

Dictionary

10.No need to declare data type for variable. It will be determined by *1/1
python at runtime. This concept is called _____________________

Static Typing

Dynamic Typing

Both of above

None of above

This form was created inside of Shantiniketan Indian School. Report Abuse

Forms

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 5/6
11/11/24, 9:17 PM Python Quiz - 3

https://docs.google.com/forms/u/0/d/e/1FAIpQLSeo_fYsc5PhEJpDGIxC397-sUlgAsy8Z7vPF8f5K6zbppZB1A/viewscore?hr_submission=ChkI55fcvPs… 6/6

You might also like