filmov
tv
NPTEL | The Joy of Computing using Python | Week 8 Quiz Solution

Показать описание
1 point
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
1 point
What is the output of the following code?
a=(1,2,3,4)
del(a[2])
print(a)
(1,3,4)
(1,2,4)
(1,2,3)
Error
1 point
Is the following piece of code valid?
a=(1,2,3,4)
del a
Yes
No
1 point
What type of data is: a=[(1,1),(2,4),(3,9)]?
Array of tuples
List of tuples
Tuples of lists
Invalid type
1 point
What is VADER?
It is used to extract data from a Facebook account
It is used to convert speech into text
It is a lexicon and rule-based sentiment analysis tool
It is used for special visual effects such as displaying variants of Google map
1 point
Which of the following does CLAHE use to enhance the images?
Histogram Equalisation
Median Filtering
Mask Filtering
None of the above
1 point
What is an Anagram?
A word that has the same meaning as another given word
A word that has the same sound as another given word
A word, phrase, or name formed by rearranging the letters of another
Any permutation of another given word
1 point
Consider the scenario below: Ram wants to play a lottery game in which he has to choose one ticket out of 10 tickets. If the ticket chosen by the
participant is 9, then he wins 500$. The price for playing the lottery game is 100$. Ram decides to play this game 10 times in order to guarantee his win. Would
you advise him to play this game?
Yes
No
Can’t say
1 point
Find out the anagrams present in the following sentences. One day, When I was going through my old stuff, I found my old study table. Though It was
damn dusty, but still i could read the stupid stuff that i used to write on it as a kid
year and ear
night and thing
dusty and study
There is no anagram present in the given sentences
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
1 point
What is the output of the following code?
a=(1,2,3,4)
del(a[2])
print(a)
(1,3,4)
(1,2,4)
(1,2,3)
Error
1 point
Is the following piece of code valid?
a=(1,2,3,4)
del a
Yes
No
1 point
What type of data is: a=[(1,1),(2,4),(3,9)]?
Array of tuples
List of tuples
Tuples of lists
Invalid type
1 point
What is VADER?
It is used to extract data from a Facebook account
It is used to convert speech into text
It is a lexicon and rule-based sentiment analysis tool
It is used for special visual effects such as displaying variants of Google map
1 point
Which of the following does CLAHE use to enhance the images?
Histogram Equalisation
Median Filtering
Mask Filtering
None of the above
1 point
What is an Anagram?
A word that has the same meaning as another given word
A word that has the same sound as another given word
A word, phrase, or name formed by rearranging the letters of another
Any permutation of another given word
1 point
Consider the scenario below: Ram wants to play a lottery game in which he has to choose one ticket out of 10 tickets. If the ticket chosen by the
participant is 9, then he wins 500$. The price for playing the lottery game is 100$. Ram decides to play this game 10 times in order to guarantee his win. Would
you advise him to play this game?
Yes
No
Can’t say
1 point
Find out the anagrams present in the following sentences. One day, When I was going through my old stuff, I found my old study table. Though It was
damn dusty, but still i could read the stupid stuff that i used to write on it as a kid
year and ear
night and thing
dusty and study
There is no anagram present in the given sentences
Комментарии