1 point
1. Which of the following is a valid question that would be posed when ‘Guess the Movie Name’ game is played with the movie ”SKYSCRAPER”?
1 point
2. What is the output of the snippet of code shown below?
A = [[1, 2, 3],[4, 5, 6],[7, 8, 9]]
print(A[1])
1 point
3. What is the output of the code shown?
A = [[1, 2, 3],[4, 5, 6],[7, 8, 9]]
print([A[row][1] for row in (0, 1, 2)])
1 point
4. What is the output of the code shown below?
A = [[1, 2, 3],[4, 5, 6],[7, 8, 9]]
print([A[i][i] for i in range(len(A))])
1 point
5. In ”Guess the Movie Name” game, we initially have all blanks (or *). Slowly as the person guesses a letter the question undergoes a change in state (the corresponding letter is opened up). If the movie name is INTERSTELLER, which of the following can never be a state of the question during the run of the program?
1 point
6. What is the minimum number of people required to guarantee a collision in their day of birth?
1 point
7. If there are k symbols in a Dobble game card, how many comparisons are needed at the maximum?
1 point
8. What is the maximum number that can be filled in 5*5 Magic Square?
1 point
9. The probability of a birth date collision in a non-leap year is
Where to see NPTEL course Analog communication subject Assignment-1,2 & 3 bits answers?
ReplyDeleteIts here in home page only sir. Click Older posts if didnt find.
DeleteJoy of computing python programming assignment4
ReplyDelete