Week 3 Activity 1 Question 5

90 views
Skip to first unread message

ABC

unread,
Nov 12, 2020, 4:29:28 AM11/12/20
to Discussion forum for Computational Thinking
Hello,


The answer must be 4 right?

Can someone please explain this.



Thanks

Computational Thinking Support 2

unread,
Nov 12, 2020, 4:49:05 AM11/12/20
to Discussion forum for Computational Thinking, ABC
Hi,
Card ID 3 (Akshaya) has purchased highest number of items (13). So while tabulating the items of card ID 3 will have 13 rows. Therefore the answer will be 3.

Hope you will understand if not please write us again.

Can you write your actual name in the mail? This will help us to recognize you.

Regards,
Deepak
IITM Online Degree Team

ABC

unread,
Nov 12, 2020, 5:09:45 AM11/12/20
to Discussion forum for Computational Thinking, ct-su...@onlinedegree.iitm.ac.in, ABC
Yes, sir.
Got it!
Thank you for the explaination.

ABC

unread,
Nov 12, 2020, 5:13:49 AM11/12/20
to Discussion forum for Computational Thinking, ct-su...@onlinedegree.iitm.ac.in, ABC
Hello Sir,

So, should we basically see if only a single customer has purchased items in one shop ? Or must we check the customer in having transactions in different shops?
On Thursday, November 12, 2020 at 3:19:05 PM UTC+5:30 ct-su...@onlinedegree.iitm.ac.in wrote:

Computational Thinking Support 2

unread,
Nov 12, 2020, 6:56:59 AM11/12/20
to Discussion forum for Computational Thinking, Shreya, Computational Thinking Support 2
Hi Shreya,
Here, question is to find the ID (Sequence No.) of the card that occupies the maximum number of rows in this table. So we have to look only one card at one time and count the number of purchased items in it. And the answer will be the Card ID which has the highest number of purchased items.

If the question would have that what is the customer name who occupies the maximum number of rows in the table? Then you need to collect the cards of same customer name and then add all the number of items of that cards and whoever customer have the highest number of bills will be the answer.

I hope you will understand now if not write us again.

Regards,
Deepak
IITM Online Degree Team

Shreya

unread,
Nov 13, 2020, 3:37:53 AM11/13/20
to Discussion forum for Computational Thinking, ct-su...@onlinedegree.iitm.ac.in, Shreya
Hello Team,

Yes I understood.

Thank you Team
Reply all
Reply to author
Forward
0 new messages