Foundation Graded Assignments – Students Community https://iitmadrasstudentscommunity.me IITM Student Community is created to help students to get better grades in their final examinations by providing Course lectures, Graded Assignment Solutions Sun, 20 Aug 2023 09:07:22 +0000 en-US hourly 1 https://iitmadrasstudentscommunity.me/wp-content/uploads/2023/08/cropped-logo-IITM-190-×-100-px-5-150x150.png Foundation Graded Assignments – Students Community https://iitmadrasstudentscommunity.me 32 32 Statistics Week 12 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/statistics-week-12-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/statistics-week-12-graded-assignments-iit-madras/#respond Tue, 15 Aug 2023 14:44:44 +0000 https://iitmadrasstudentscommunity.me/?p=1215 Read More »Statistics Week 12 Graded Assignments IIT Madras]]>
 

Statistics week 12 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

Let a random variable is uniformly distributed over [�,�] with expectation and variance 9.5 and 8112 respectively. Find the value of ��.
 
1 point

 

 
 
1 point
 
Probability density function of a random variable  is given by:
�(�)={��2if x ∈ [0,1]0otherwise
Find �(0.2<�<0.8)?
Hint: ∫����2��=��3−�33 where,  is a constant.
 
 
 
 
 
 
 
 
 

 

 
 
 
The amount of milk produced every day by a dairy is uniformly distributed between 100 litres and 120 litres. What is the probability that the amount of milk produced is more than 118 litres given that on that day, more than 109 litres of milk was produced? (Enter the answer correct to 2 decimal place)
 
1 point

 

 
 
 
The time that Jan shatabdi express will reach the Delhi station is uniformly distributed between 3 p.m and 7 p.m. What is the probability that the train reaches Delhi exactly at 6 p.m?
 
1 point

 

 
 
1 point
 
The length of time for one person to be served at a restaurant is exponentially distributed with an expected time of 5 minutes. If 5 persons arrived at the restaurant then what is the probability that at least 2 of them will be served in more than 7 minutes? (Assume that each person is served independently)
 
 
 
 
 
 
 
 
 

 

 
 
Probability density function of a random variable  is given by

�(�)={0.2�if 0≤�≤10.2if 1≤�≤20.2�−0.2if 2≤�≤30.4if 3≤�≤40otherwise

Find the probability that 0<�<2.5. (Answer upto three decimal points)

Hint : Try to find the area under pdf using integration, otherwise draw the graph of pdf of .
 
1 point

 

 
 
1 point
 
In a certain exhibition, the time for the next visitor to come is exponentially distributed with a standard deviation of 11 minutes. What will be the expected time (in minutes) for two visitors to arrive if one comes after the other? (Note that the arrival of a visitor is independent of the arrival of the previous visitor.)
 
 
 
 
 
 
 

 

 
 
 
The total duration (in minutes) of a badminton match in the Premier Badminton League (PBL) is uniformly distributed between [�,�] with variance 12 square minutes. The probability that a match will last at most 45 minutes is 16. Find the expected time duration (in minutes) of a badminton match. (Enter the answer correct to 1 decimal place)
 
1 point

 

 
 
1 point
 
The probability density function of the time  (in minutes) between calls at the customer care is given by:
�(�)={19�−�9if x > 00otherwise
Find the probability that time between calls exceeds the mean time.
 
 
 
 
 
 
 
 
 

 

 
 
1 point
 
The lifetime of a light bulb is exponentially distributed with a mean life of 19 months. If there are 50% chances that a light bulb will last at most  months, then what is the value of ?
 
 
 
 
 
 
 
 
]]>
https://iitmadrasstudentscommunity.me/statistics-week-12-graded-assignments-iit-madras/feed/ 0
Statistics Week 11 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/statistics-week-11-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/statistics-week-11-graded-assignments-iit-madras/#respond Tue, 15 Aug 2023 14:39:08 +0000 https://iitmadrasstudentscommunity.me/?p=1209 Read More »Statistics Week 11 Graded Assignments IIT Madras]]>

Statistics week 11 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

A match predictor claims that he can predict the result of a match correctly 77% of the time. It is agreed that his claim will be accepted if he correctly predicts the results of at least 4 of 8 matches. What is the probability that his claim gets rejected?
 
 
 
 
 
 
 
 

 

 
1 point
 
If �∼��������(�,�), then which of the following statement/s is/are always true? (�>0 and 0<�<1)
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 
 
 
Two friends (say ‘‘ and ‘‘) could not decide whether to play a racing game or a boxing game on Xbox. They decide to play a card-game first. If ‘‘ wins at least 3 rounds out of the 5 rounds of the card game played, then the boxing game will be played. The chances of ‘‘ winning in any round of the card game is 2:5. Find the probability that the boxing game will be played on Xbox? (Enter the answer correct to 2 decimal places)
Hint: If the chances of happening of an event is x:y then, the probability equals ��+�
 
1 point

 

 
 
 
Let ~ Binomial(6,p). If the probabilities of 4 and 5 successes are approximately 0.311 and, 0.1866 respectively, then find the parameter ‘p’ of the distribution.(Enter the answer correct to 2 decimal places)
 
1 point

 

 
 
 
If the expected number of sixes hit by a batsman on  balls is 6.39 and the variance for the same is 1.8531, then what is the probability of him hitting at least one six on any randomly selected  balls? Assume that the probability of him hitting a six on any ball is constant. (Enter the answer correct to 4 decimal places)
 
1 point

 

 
 
 
The probability of a student clearing a competitive exam is 14. If he gives the exam 6 times, then what is the probability of him clearing the exam at least twice?(Enter the answer correct to 2 decimal places)
 
1 point

 

 
1 point
Choose the correct condition/s about binomial distribution.
 
 
 
 

 

 
 
 
Rithika wants to test whether the coin she has is a fair coin or not. To test this, she conducted an experiment of tossing the coin 5 times. Binomial random variable  is defined as the total number of heads() after 5 tosses. The probability distribution of the binomial random variable is given in Table 11.1.G.
�=��(�=�)
00.00032
10.0064
20.0512
30.2048
40.4096
50.32768
Table 11.1.G: Binomial Distribution
What is the approximate probability of getting a head in tossing the given coin? (Enter the answer correct to one decimal place)
 
1 point

 

 
 
1 point
At a school function, It is noticed that 9% of the students are not wearing polished shoes and 12% of students are not wearing school ties. It is announced that the students who have committed any of the infractions will be punished, and that these two infractions are independent of one another. If a teacher selects 5 students at random, then find the probability that exactly three of the students will be punished for any of the infractions?
 
 
 
 
 
 
 
 

 

 
 
1 point
There are 7 black and 20 blue pens in a box. A pen is chosen at random, and its colour is noted. If the process repeats independently, 13 times with replacement, then calculate the expected number of black pens chosen?
 
 
 
 
 
 
 
 

 

 
Number of calls received at an office follows a Poisson distribution with an average of 1 call per minute. Find the probability that no call will be received in two minutes at the office. (Enter the answer correct to 2 decimal accuracy.)
1 point

 

A quiz team is to be chosen randomly from 6 boys and 4 girls. The team has 3 slots which are to be filled randomly. If  denotes the number of boys in the quiz team, then using the given information, answer questions (12) and (13).
 
 
Calculate �(�=2). (Enter the answer correct to 2 decimal places)
 
1 point
 
 
Calculate the value of �(�). (Enter the answer correct to 2 decimal places)
 
 
]]>
https://iitmadrasstudentscommunity.me/statistics-week-11-graded-assignments-iit-madras/feed/ 0
English Week 11 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/english-week-11-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/english-week-11-graded-assignments-iit-madras/#respond Tue, 15 Aug 2023 14:37:25 +0000 https://iitmadrasstudentscommunity.me/?p=1204 Read More »English Week 11 Graded Assignments IIT Madras]]>

English week 11 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

Identify the grammatically correct sentence from the options given.
 
1 point
Identify the grammatically correct sentence from the options given.
 
1 point
Identify the grammatically correct sentence from the options given.
 
1 point
Identify the grammatically correct sentence from the options given.
 
1 point
Identify the grammatically correct sentence from the options given.



Fill in the blank with the most appropriate option.

 
 
1 point
Many research scholars choose Noam Chomsky as the topic for ——- research paper.
 
1 point
The shopkeeper sold only —— pair of socks.
 
1 point
Ramesh travelled to —— Texas the previous month.
 
1 point
She is not interested ——- learning how to ride a bicycle.
 
1 point
People prefer travelling a long distance —— bus.
]]>
https://iitmadrasstudentscommunity.me/english-week-11-graded-assignments-iit-madras/feed/ 0
Maths Week 11 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/maths-week-11-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/maths-week-11-graded-assignments-iit-madras/#comments Tue, 15 Aug 2023 14:31:19 +0000 https://iitmadrasstudentscommunity.me/?p=1195

Maths week 11 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

1. An undirected graph G has 26 vertices and the degree of each vertex is at least 6. What is the minimum number of edges that the graph G can have?
 
1 point

 

 
 
2. If G is a connected undirected graph such that every vertex has degree at most 9 , and the shortest path between any two vertices has length at most 2, then what is the maximum number of vertices in G? (Hint: Try to draw the BFS tree starting with any vertex)
 
1 point

 

 
 
1 point
 
3. Suppose  is the adjacency matrix of a connected undirected graph . If �2=[111011111101111110011111101111110111] and the shortest path between any two vertices has length at most 2, then which of the following may represent the graph ?
 
 
1 point
 
4. Suppose  is a graph with 6 vertices {0,1,2,3,4,5} and the adjacency matrix of the graph  is �=[001001000001000100000000110000000000]. Which of the following statements is True?
 
 
 
 
 
 
 



USE THE FOLLOWING INFORMATION FOR QUESTIONS [7-8]:
Shreya needs to perform 10 tasks namely {�,�,�,�,…..�}. Some tasks needs to be performed after performing a particular task. In the below table, column 1 shows the tasks and column 2 shows the sets of tasks that can be performed only after performing the particular task.

                                                                                       

 
 
1 point
Which of the following sequences may represent the possible order in which Shreya can perform the tasks?
 
 
 
 
 
 
 
 
 
If each task takes 5 minutes to complete and she performs all the independent tasks simultaneously, then the time(in minutes) taken by Shreya to complete all the tasks is
 
1 point



 
 
1 point
 
An undirected weighted graph  is shown below. Find the set of all positive integer values of  such that if we use Dijkstra’s algorithm, there will be a unique shortest path from vertex  to vertex  that contains the edge (�,�).


 
 
 
 
 
 
 
 
 
 
1 point
 
A directed graph  is shown below. Suppose we are trying to perform an algorithm to find the shortest path from vertex �0 to �4. Which of the following statements is (are) correct?


 
 
 
 
 
 
 
 
 
 
1 point
Which of the following statements is (are) INCORRECT?
 
 
 
 
 
 
 
 


(Use the following information for questions 10 & 11)

 
 
 
An employee of that company wanted to travel from the city �2 to the city �5. If he travelled by the cheapest route possible, then the total fare (in thousands of rupees) he paid for flight journey was
 
 
1 point
 
1 point
 
If an inspection team member wanted to inspect all the branches of the company starting from �2 and ending at �5, visiting each branch exactly once, then which of the following routes should he choose in order to pay minimum fare for flight journey?
 
 
 
 
 
 
 


(Use the following information for questions 12 & 13)

 
 
What is the total maintenance cost (in hundreds of rupees) of the optimum subset of links?
 
1 point
 
Find the number of different ways of choosing an optimum subset of links for the given graph.
 
1 point


(Use the following information for questions 14 & 15)



 
 
1 point
 
Suppose we perform Prim’s algorithm on the graph  starting from vertex  to find an MCST. Then the order in which the vertices are added is
 
 
 
 
 
 
 
 
 
 
1 point
 
Suppose we perform Kruskal’s algorithm on the graph  starting from vertex  to find an MCST. Which of the following edges are not added to the minimum cost spanning tree?
 
 
 
 
 
 
 
 
]]>
https://iitmadrasstudentscommunity.me/maths-week-11-graded-assignments-iit-madras/feed/ 2
CT Week 11 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/ct-week-11-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/ct-week-11-graded-assignments-iit-madras/#comments Sat, 12 Aug 2023 04:24:56 +0000 https://iitmadrasstudentscommunity.me/?p=760 Read More »CT Week 11 Graded Assignments IIT Madras]]>
 

Computational Thinking week 11 graded assignment Complete  Questions Are Discussed In This Blog.  Access From Below Link

1.reverse is a recursive procedure to reverse a list. Select the correct code fragment to complete the pseudocode given below. It is a Multiple Select Question (MSQ).



 
 
 

 

 

return([last(L)] ++ reverse(init(L)))

return([first(L)] ++ reverse(rest(L)))

return([last(L)] ++ reverse(init(rest(L))) ++ [first(L)])

return([first(L)] ++ reverse(init(rest(L))) ++ [last(L)])

return([last(L)] ++ reverse(rest(init(L))) ++ [first(L)])

 

Question:2-4:

An auto-grading system for an online course is designed in the following way:

 A student’s submission is recorded as a dictionary with the following keys 
             The “roll” key maps to the student’s roll number.
             The “time” key maps to the time of submission
             The “score” key maps to the student’s score for that submission

∙  Each student can make multiple submissions before the deadline.  
∙  Every time a student makes a submission, the dictionary corresponding to it is appended to the end of a list called scores.

An example:

  

 
 
 


Study the following pseudocode:

 
 
 


 
 
 


Answer questions 2 to 4 after executing the pseudocode given below:
 
 
 
 
 
 
4 points

2. What is the value of submissions?

[ {“roll”: 12, “time”: 10:20, “score”: 80 },

{“roll”: 20, “time”: 11:23, “score”: 70 } ]

[ {“roll”: 20, “time”: 11:23, “score”: 70 },

{“roll”: 12, “time”: 10:20, “score”: 80 } ]

[ {“roll”: 12, “time”: 23:50, “score”: 95 },

{“roll”: 20, “time”: 23:53, “score”: 65 } ]

[ {“roll”: 20, “time”: 23:53, “score”: 65 },

{“roll”: 12, “time”: 23:50, “score”: 95 } ]

 
4 points

3.What does the variable submissions represent?

The list of all the submissions made by the students sorted in the ascending order of time.

The list of all the submissions made by the students sorted in the descending order of time.

The list of the last submissions made by the students sorted in the ascending order of time.

The list of the last submissions made by the students sorted in the descending order of time.

The list of the first submissions made by the students sorted in the ascending order of time.

The list of the first submissions made by the students sorted in the descending order of time.

 
4 points

4.Assume that reverse is a procedure that reverses a list. Which of the following statements returns the list of the first submissions made by the students sorted in the ascending order of time?

getSubs(scores)

reverse(getSubs(scores))

getSubs(reverse(scores)))

reverse(getSubs(reverse(scores)))

 

 
 
4 points
 

5.outcomes is a list of strings that contains the information about the outcome of cricket matches played by India in a tournament. Assume that each element in the list is either “win” or “loss”. For example, if five matches have been played, then outcomes could look like this:

[“won”, “lost”, “lost”, “won”, “won”]

We call a list of outcomes a blank slate if the number of wins is equal to the number of losses. blankSlate is a procedure that accepts outcomes as input and returns True if it is a blank slate and False otherwise. Select the correct code fragment to complete the following pseudocode. It is a Multiple Select Question (MSQ).

 
 
 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

QUESTION-6-7

2n chess players are participating in a tournament. Each player is given a unique participant ID that is represented as a string. The player IDs are stored in a non-empty list players in the descending order of their rating, i.e., the first element in the list has the ID of the player with the highest rating.

The matches are scheduled as follows: The ��ℎ match is between the ��ℎ player from the top and the ��ℎ player from the bottom of the rating list. We wish to create a list called matches which stores the sequences of matches, starting with the first match and ending with the last match. Each match is represented as a list of two players, the first element of which is the ID of the player with the higher rating, while the second element is the ID of the player with lower rating. Assume that no two players have the same rating.

Answer questions 6 and 7 based on this information.

 
4 points

matchThem is a recursive procedure that accepts players as argument and returns matches. Select the correct implementation of the procedure. It is a Multiple Select Question (MSQ).

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3 points

7.matchThem is a non-recursive procedure that accepts players as argument and returns matches. Select the correct implementation of the procedure.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

Question 8-11

Consider the following graph with six nodes. A is a 6 × 6 matrix corresponding to this graph. Assume that it has already been computed:

In the following pseudocode:

  • graph is a matrix
  • parents is a dictionary
  • sequence is a list
 
 
 


Answer questions 8 to 11 using the information given above. In all questions, S represents a list, P represents a dictionary, while A and B represent matrices.
 
4 points
 

8.What will be the value of S after executing the following pseudocode?

 
 
 

 

 

[0, 1, 2, 5, 3, 4]

[0, 1, 4]

[0, 1, 2, 3, 5, 4]

[0, 3, 1, 4, 5]

 
3 points
 

9.What will be the value of nodes after executing the following pseudocode?

 
 
 

 

 

[5, 2, 1, 0, 3, 4]

[5, 2, 1, 4, 0, 3]

[5, 2, 3, 0, 1, 4]

Cannot be determined

 
3 points
 

10.Assume that sort is a procedure that accepts a list of integers as input and returns a sorted list in ascending order. If 0 ≤ start ≤ 5, which of the following statements are true at the end of execution of the following pseudocode? It is a Multiple Select Question (MSQ).

 
 
 

 

 

nodes is equal to [0, 1, 2, 3, 4, 5]

S is equal to [0, 1, 2, 3, 4, 5]

The value of nodes is independent of start

The value of S is independent of start

The graph is connected.

The graph is not connected.

 
4 points
 

11.Execute the following pseudocode

 
 
 

 

 
]]>
https://iitmadrasstudentscommunity.me/ct-week-11-graded-assignments-iit-madras/feed/ 1
Statistics Week 10 Graded Assignments https://iitmadrasstudentscommunity.me/statistics-week-10-graded-assignments/ https://iitmadrasstudentscommunity.me/statistics-week-10-graded-assignments/#comments Sat, 12 Aug 2023 04:22:00 +0000 https://iitmadrasstudentscommunity.me/?p=739 Read More »Statistics Week 10 Graded Assignments]]>

Statistics Week 10 graded assignment Complete  Solutions Key Given In This Page Check Below . We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons If Not Able To Complete Graded Assignments 

 
There are 26numbered cards in a deck among which 6 cards bear the number ;=0,1,2,...,6. From the deck, 10 cards are drawn with replacement. What is the expectation of the sum of their numbers?(Enter the answer correct to 1 decimal accuracy)
1 point


1 point
An unbiased die is thrown 13 times. After each throw a ‘+’ is recorded for 2 or 5 and ‘-‘ is recorded for 1,3,4 or 6, the signs forming an ordered sequence. To each, except the first and last sign, a random variable ;=1,2,...,11 is associated which takes the value 1 if both of its neighbouring sign differs from the one between them and 0 otherwise. If the random variable  is defined as =3+13 where, ==111.
Find the expected value of .
1 point
An unbiased die is thrown 13 times. After each throw a ‘+’ is recorded for 2 or 5 and ‘-‘ is recorded for 1,3,4 or 6, the signs forming an ordered sequence. To each, except the first and last sign, a random variable ;=1,2,...,11 is associated which takes the value 1 if both of its neighbouring sign differs from the one between them and 0 otherwise. If the random variable  is defined as =3+13 where, ==111.
Which of the following statement(s) is/are true?



1 point
Amandeep is in the middle of a bridge of infinite length. He takes the unit step to the right with probability 0.66 and to the left with probability 0.34. Assume that the movements are independent of each other.
Hint: Consider the random variable  associated with the  step defined as:
={1if the step of Amandeep is towards the right 1if the step of Amandeep is towards the left 
What is the expected distance between the starting point and end point of Amandeep after 5 steps?
1 point
Amandeep is in the middle of a bridge of infinite length. He takes the unit step to the right with probability 0.66 and to the left with probability 0.34. Assume that the movements are independent of each other.
Hint: Consider the random variable  associated with the  step defined as:
={1if the step of Amandeep is towards the right 1if the step of Amandeep is towards the left 
What is the variance distance between the starting point and end point of Amandeep after 5 steps?


A box contains 10 white and 6 black balls. 2 balls are drawn at random without replacement. Find the expected value of the number of white balls drawn. (Enter the answer correct to 2 decimal places)
1 point



1 point
Rohit wants to open his door with 5 keys(out of which 1 will open the door) and tries the keys independently and at random. If unsuccessful keys are eliminated from further selection, then Find the expected number of trials required to open the door.
Hint: Suppose Rohit gets the first success at  trial, i.e., he is unable to open the door in the first (1) trials.
And, P(he gets first success at second trial)=(115)×14


 and  are independent random variables with means 14 and 20, and variances 2 and 6 respectively. Find the variance of 3+6.
1 point


Table Q10.1.G. represents the probability mass function of a random variable X
-145
(=)1613918
Table Q10.1.G: Probability Mass Function
Calculate the value of (2+1)2. (Enter the answer correct to 2 decimal places)
1 point


1 point
Suppose that  is a random variable for which ()=15 and ()=22. Find the positive values of  and  such that =, has expectation 0 and variance 1.
]]>
https://iitmadrasstudentscommunity.me/statistics-week-10-graded-assignments/feed/ 1
CT Week 10 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/ct-week-10-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/ct-week-10-graded-assignments-iit-madras/#comments Sat, 12 Aug 2023 04:21:00 +0000 https://iitmadrasstudentscommunity.me/?p=729 Read More »CT Week 10 Graded Assignments IIT Madras]]>
 

Computational Thinking week 10 graded assignment Complete  Solutions Are Discussed In This Blog. We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons If Not Able To Complete Graded Assignments 

1.The following pseudocode is executing using the “Scores” table. At the end of the execution, matrix represents the adjacency matrix of the graph generated from the “Scores” table.

 
 
 

 

 
5 points

If matrixPh[i] [j] = 1, then

i scored at most 10 and at least 20 more marks in Physics than j

 

i scored at least 10 and at most 20 more marks in Physics than j

 

j scored at least 10 and at most 20 more marks in Physics than i

 

j scored at most 10 and at least 20 more marks in Physics than i

 

 
5 points
2.Choose the correct statement based on above pseudocode.

 

For all ij with i 

 jmatrixPh[i][j] + matrixPh[j][i] = 1

 

 

 

For all i, j with i 

 j, if matrixPh[i][j] = 1 then matrixPh[j][i] = 0

 

 

 

For all i, j with i 

 j, if matrixPh[i][j] = 0 then matrixPh[j][i] = 1

 

 

 

For all i, j with i 

 j, if matrixPh[i][j] = 1 then matrixPh[j][i] = 1

 

 

 

For all i, j with i 

 j, if matrixPh[i][j] = 0 then matrixPh[j][i] = 0

 

 

 
5 points
 

3.Consider the dictionary D, and the matrices matrixPhmatrixCh and matrixMa computed in the previous question. The following pseudocode generate the adjacency matrix matrixHelp.

 
 
 

 

Let i and j be indices of two students. Choose the correct statement(s) from the given options. It is a Multiple Select Question (MSQ)

 

0 <= matrixHelp[i][j] <= 3

 

matrixHelp[i][j] + matrixHelp[j][i] <= 3

 

 

matrixHelp[i][j] 

 matrixHelp[j][i]

 

 

if matrixHelp[i][j] = 0, then matrixHelp[j][i] = 3

 

if matrixHelp[i][j] = 3, then matrixHelp[j][i] = 0

 

 
5 points
 

4.At the end of the following pseudocode, A captures the number of distinct pairs of students who can help each other in at least one subject, and B captures the number of distinct pairs of students where one can help the other in all subjects. Choose the correct code fragment to complete the pseudocode.

 
 
 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

Question (5-8)
The following table contains information regarding books in a library. Each entry in the table corresponds to a book and is authored by at least two authors. There is a pool of n authors, each author being assigned a unique index between 0 and n − 1. There are M books in total.

The table is represented by a dictionary named books, with the keys as serial numbers and values as the corresponding list of authors. Assume that books has already been computed. For example, we have: books[0] = [0, 2, 3]. Consider the followig question.

 
5 points
 

4.The following pseudocode generates a graph G from books. Each node corresponds to an author. There is an edge between two different authors i and j if they have co-authored a book, and the edge is labeled with the number of books they have co-authored. Choose the correct code fragment to complete the following pseudocode.

 
 
 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 
5 points
 

5.The following pseudocode creates adjacency matrix matrix2 of another graph H from books. For two different authors i and j, what does the value matrix2[i][j] represent at the end of the execution?

 
 
 

 

 

List of authors who have co-authored a book with both i and j

 

List of authors who have co-authored a book with either i or j

 

List of authors who have co-authored at least two book with both i and j

 

List of authors who have co-authored at least two book with either i or j

 

 
5 points

6.Which of the following combinations of entries in matrix and matrix2 is possible for two different authors i and j? It is Multiple Select Question (MSQ).

matrix[i] [j] = 0 and matrix2[i] [j] = [ ]

 

 

matrix[i][j] = 0 and matrix2[i][j] 

 [ ]

 

 

matrix[i][j] > 0 and matrix2[i][j] = [ ]

 

 

matrix[i][j] > 0 and matrix2[i][j] 

 [ ]

 

 

 
5 points

Consider the matrices matrix and matrix2 constructed in the previous questions.

findAuthor(matrix) finds an author who has the maximum number of co-authors. Choose the correct implementation of the procedure findAuthor. It is a Multiple Select Question.

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

Question (9-10)

The following pseudocode is executing using the “Shopping bills” dataset. Each customer is being assigned a unique index between 0 and n − 1. Dictionary D has already been computed with keys as index and values as list of distinct shops visited by the corresponding customer. Assume that there exists a procedure intersection which takes two lists as input and outputs another list which contains the common elements in the input lists.

 
 
 

 

 
5 points
 

Consider the adjacency matrix matrix constructed above. Assume that there exists a procedure removeDuplicate which receives a list as input and removes all duplicate elements in the list. When will findGoodSet(matrix) return True?

 
 
 

 

 

If there exists three customers who have visited all three shops.

 

If there exist three customers such that every pair of customers among them have visited only one and the same shop in common.

 

If there exists three customers who have visited exactly one shop.

 

If there exists three customers where each pair among them have visited exactly one shop in common.

 

 
5 points

10.For a pair of customers i and jj is said to be shopping partner of i if i and j have visited at least two shops in common. findTopCustomer(matrix) finds a customer who has the maximum shopping partners. Choose the correct implementation of findTopCustomer.

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 
 
 

 

 

 

 

 

 

]]>
https://iitmadrasstudentscommunity.me/ct-week-10-graded-assignments-iit-madras/feed/ 3
English Week 10 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/english-week-10-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/english-week-10-graded-assignments-iit-madras/#comments Sat, 12 Aug 2023 04:20:00 +0000 https://iitmadrasstudentscommunity.me/?p=734 Read More »English Week 10 Graded Assignments IIT Madras]]>

English Week 10  graded assignment Complete  Solutions PDF Are Given Here . We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons If Not Able To Complete Graded Assignments 

John has a friend _____ daughter lives in the U.S.
 
1 point
John was extremely happy __________his new car.
 
1 point
You must go through the answers _________the end of the book.
 
1 point
The traffic in the city was so heavy. It took us two hours to drive __________it.
 
1 point
You are the kindest person I know.’ In place of ‘the’, which of the following should be used?
 
1 point
At Meera’s insistence, he yielded__ their guest and gave up his room.
 
1 point
When he arrived___the station, the train had already departed.
 
1 point
Iceland is ___________than Spain.
 
1 point
Turn right________ the first traffic lights, then turn left.
 
1 point
Tom is not sure ______the answer.
]]>
https://iitmadrasstudentscommunity.me/english-week-10-graded-assignments-iit-madras/feed/ 10
Maths Week 10 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/maths-week-10-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/maths-week-10-graded-assignments-iit-madras/#respond Sat, 12 Aug 2023 04:16:00 +0000 https://iitmadrasstudentscommunity.me/?p=724 Read More »Maths Week 10 Graded Assignments IIT Madras]]>
Maths week 10 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

 

1.The maximum number of non-zero entries in an adjacency matrix of a simple graph having  vertices can be

 

 

 

 

 

 

 

 

 
 
1 point
 

2.We have a graph  with 6 vertices. We write down the degrees of all vertices in  in descending order. Which of the following is a possible listing of the degrees?

 

 

 

 

 

 

 

 

 
 
1 point
3.We are trying to find the correct path in a maze. We start at the entrance. At some points, we have to choose a direction to explore. If we reach a dead end, we come back to the most recent intersection where we still have an unexplored direction to investigate. What is a good data structure to keep track of the intersections we have visited?
 
1 point
 

4.Suppose we obtain the following BFS tree rooted at node 1 for an undirected graph with vertices (1,2,3,4,5,…..14).



Which of the following cannot be an edge in the original graph?

 

 

 

 

 

 

 

 

 



2 MUTIPLE SELECT QUESTIONS:

 
 
1 point
 

Which of the following graphs satisfies the below properties:
   1. ∣��(�)∣ = 3, where ��(�) is the minimum vertex cover of a graph �.
   2. ∣��(�)∣ = 3, where ��(�) is the perfect matching of a graph �.
   3. The graph is a 3-colouring.

 
 
1 point
7.Which of the following statements is(are) true?

 

 

 

 

 

 



3 NUMERICAL ANSWER TYPE:

 
 
 

If A = [0101000101101001000001100111000100001010000001000] represents adjacency matrix of a graph �, then the cardinality of the maximum independent set of the graph  is

 
Answers = 5
1 point
 
 

A company manufactures 10 chemicals �1,�2,�3,….�10. Certain pairs of these chemicals are incompatible and would cause explosions if brought into contact with each other. Below graph shows the incompatibility of the chemicals, each vertex represents the chemical and each edge between a pair of chemicals represents that those two chemicals are incompatible. As a precautionary measure the company wishes to partition its warehouse into compartments, and store incompatible chemicals in different compartments. What is the least number of compartments into which the warehouse should be partitioned?

 
Answer = 3
1 point
 
 

10. An incomplete undirected graph is given below and the numbering on each vertex denotes the colouring of the graph(‘1‘ denotes color 1, ‘2’ denotes color 2, and ‘3’ denotes color 3). Find the number of maximum edges that can be added to the given graph such that the colouring is retained and the graph is planar.
NOTE: Planar graph is a graph that can be drawn on the plane in such a way that its edges intersect only at their endpoints.

Answer –6
]]>
https://iitmadrasstudentscommunity.me/maths-week-10-graded-assignments-iit-madras/feed/ 0
English Week 9 Graded Assignments IIT Madras https://iitmadrasstudentscommunity.me/english-week-9-graded-assignments-iit-madras/ https://iitmadrasstudentscommunity.me/english-week-9-graded-assignments-iit-madras/#respond Sat, 12 Aug 2023 04:00:00 +0000 https://iitmadrasstudentscommunity.me/?p=710 Read More »English Week 9 Graded Assignments IIT Madras]]>
 

English week 9 graded assignment Complete  Solutions Are Discussed In This Blog We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons Not Able To Complete Graded Assignments 

1. What among the following is not true about presentations?
2.
 
Which is the right order in the development of a presentation?
       
               i) Brainstorm    ii) research   iii) outline   iv) edit   v) message
3.
Which among the following is a must in your slide deck?
 
4. “Slides in a presentation are allowed to be customized depending upon the audience.”

        The statement is
 
2 Marks
5. Which among the following is not true of a GD?
]]>
https://iitmadrasstudentscommunity.me/english-week-9-graded-assignments-iit-madras/feed/ 0