Graded Assignment

99 views
Skip to first unread message

Parth Shukla

unread,
Nov 2, 2020, 1:44:26 PM11/2/20
to Discussion forum for Computational Thinking
Q12 accepted answers are Line 4,11 and 18
Please can anyone specify what is wrong with line 11 

ARIJIT DUTTA

unread,
Nov 2, 2020, 1:46:33 PM11/2/20
to Parth Shukla, Discussion forum for Computational Thinking
Dear Parth, 
                     There should be a checking against whether it's a verb or not.

ARIJIT DUTTA

On Tue, Nov 3, 2020, 00:14 Parth Shukla <parthsh...@gmail.com> wrote:
Q12 accepted answers are Line 4,11 and 18
Please can anyone specify what is wrong with line 11 

--
You received this message because you are subscribed to the Google Groups "Discussion forum for Computational Thinking" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cs1001-discus...@nptel.iitm.ac.in.
To view this discussion on the web visit https://groups.google.com/a/nptel.iitm.ac.in/d/msgid/cs1001-discuss/8f61db58-16fa-4f6c-a952-e5fb0cc0808en%40nptel.iitm.ac.in.

_Music_Viking

unread,
Nov 2, 2020, 1:48:22 PM11/2/20
to Discussion forum for Computational Thinking, parthsh...@gmail.com
Line 11 only checks if LetteCount is less than the average. But it should also check if the word is a 'Verb' or not! That is the main condition.
Message has been deleted

Parth Shukla

unread,
Nov 2, 2020, 1:51:35 PM11/2/20
to Discussion forum for Computational Thinking, arijit.d...@gmail.com, Discussion forum for Computational Thinking, Parth Shukla
Got it Thankyou !!

ARIJIT DUTTA

unread,
Nov 2, 2020, 1:54:52 PM11/2/20
to Parth Shukla, Discussion forum for Computational Thinking
Dear Parth,
                    Line 04 is accepting the return value from procedure, where verb - checking has been already done.

On Tue, Nov 3, 2020, 00:19 Parth Shukla <parthsh...@gmail.com> wrote:
Shouldn't that be done in line 4 when executing the procedure ???

On Tuesday, November 3, 2020 at 12:16:33 AM UTC+5:30 arijit.d...@gmail.com wrote:
ARIJIT DUTTA

Parth Shukla

unread,
Nov 2, 2020, 2:09:20 PM11/2/20
to Discussion forum for Computational Thinking, arijit.d...@gmail.com

if verb checking has already been done in the procedure and do we have to do it again in line 11

Pratik Madhusudhan

unread,
Nov 2, 2020, 2:27:51 PM11/2/20
to Discussion forum for Computational Thinking, parthsh...@gmail.com, arijit.d...@gmail.com
in line 17 only the condition is provided to calculate the count and sum.... which are then returned to line 4... an further to calculate the AvgT...in line 11 the condition of X.PartofSpeech==VERB has to be applied again soas to compare to AvgT  
Reply all
Reply to author
Forward
0 new messages