Week 3 Graded Assignment ques 12

710 views
Skip to first unread message

Akruti Joshi

unread,
Oct 31, 2020, 1:26:56 PM10/31/20
to Discussion forum for Computational Thinking
In the below question, CountT is not initialised = 0 instead Count = 0 is initialised, still line 1 is not in the option list for errors. Please help with the graded assignment question before end date submission.
6 points
12) The following pseudocode is executed using the “Paragraph words” dataset. At the end of the execution, CountB captures the number of verbs with letter count less than the average letter count of verbs. But the pseudocode may have mistakes in one or more lines. Identify all such lines (if any). It is a Multiple Select Question (MSQ).


 
 
 
 
 
 
 


Message has been deleted

Akruti Joshi

unread,
Oct 31, 2020, 1:31:39 PM10/31/20
to Discussion forum for Computational Thinking
My response to the above ques is only line 4 has error according to options, but intialised line is not present in options.

ripu singh

unread,
Oct 31, 2020, 2:29:53 PM10/31/20
to Discussion forum for Computational Thinking, akruti....@gmail.com
yes First line by mistake they missed a letter " T" instead of "Count" it should be "Count T" .. if we do so then question is fine

Anand Iyer

unread,
Nov 1, 2020, 12:38:07 AM11/1/20
to Discussion forum for Computational Thinking, ripu singh, akruti....@gmail.com
You don't need initialize CountT.  There's no mistake in the code.

ripu singh

unread,
Nov 2, 2020, 4:43:39 AM11/2/20
to Anand Iyer, Discussion forum for Computational Thinking, akruti....@gmail.com
why there is no need to initialize CounT

Anand Iyer

unread,
Nov 2, 2020, 4:46:08 AM11/2/20
to ripu singh, Discussion forum for Computational Thinking, akruti....@gmail.com
Because CountT is the parameter to the procedure. 

If you still have questions, shall we discuss after the evaluation has been done for this?
--
Cheers,

ripu singh

unread,
Nov 2, 2020, 4:56:20 AM11/2/20
to Anand Iyer, Discussion forum for Computational Thinking, akruti....@gmail.com
ok sure we shall discuss after evaluation.. SumT is also a parameter to the procedure then it has been initialized to Zero

Anand Iyer

unread,
Nov 2, 2020, 5:18:52 AM11/2/20
to ripu singh, Discussion forum for Computational Thinking, akruti....@gmail.com
that should be Sum, not SumT.

SumT also doesn't need initialization, since it's a parameter too.
--
Cheers,

ripu singh

unread,
Nov 2, 2020, 7:33:23 AM11/2/20
to Anand Iyer, Discussion forum for Computational Thinking, akruti....@gmail.com
Now Go to problem # 13 where CounT, and SumT is parameter to procedure addword but it has been initialized at the beginning. what do you say about that?

Computational Thinking Support 2

unread,
Nov 2, 2020, 7:39:38 AM11/2/20
to Discussion forum for Computational Thinking, ripu singh, Discussion forum for Computational Thinking, akruti....@gmail.com, anandd...@gmail.com
Hi all,
Ques. 12 is correct.

Regards,
Deepak
IITM Online Degree Team

Anand Iyer

unread,
Nov 2, 2020, 7:43:04 AM11/2/20
to Computational Thinking Support 2, Discussion forum for Computational Thinking, ripu singh, akruti....@gmail.com
Hi Ripu, Let me not comment on the Q.13 now, let's look at this tomorrow, once the evaluation is done.
--
Cheers,

Aman Chopra Motivation

unread,
Nov 2, 2020, 8:00:25 AM11/2/20
to Discussion forum for Computational Thinking, anandd...@gmail.com, Discussion forum for Computational Thinking, ripu singh, akruti....@gmail.com, ct-su...@onlinedegree.iitm.ac.in
So what is the final answer???? 
Please can you share solutions of computitional thinking assignment?
I was not able to study this week. Please tell i would be realy very greatful to you.
Please reply at amanchop...@gmail.com

sing...@gmail.com

unread,
Nov 2, 2020, 10:34:44 AM11/2/20
to Aman Chopra Motivation, Discussion forum for Computational Thinking, anandd...@gmail.com, akruti....@gmail.com, ct-su...@onlinedegree.iitm.ac.in
Ahh I just got it .. silly confusion question is correct 

sing...@gmail.com

unread,
Nov 2, 2020, 11:08:48 AM11/2/20
to Aman Chopra Motivation, Discussion forum for Computational Thinking, anandd...@gmail.com, akruti....@gmail.com, ct-su...@onlinedegree.iitm.ac.in
Hi Deepak 
Sorry for creating confusion in the group.
It’s a good question to make people understand and comprehend what you pass to a procedure is important and not the nomenclature used in arguments part of procedure
Thanks 

On 02-Nov-2020, at 9:04 PM, sing...@gmail.com wrote:

Ahh I just got it .. silly confusion question is correct 
Reply all
Reply to author
Forward
0 new messages