Doubt in question Regarding Final exam

383 views
Skip to first unread message

Heman

unread,
Oct 27, 2023, 12:05:42 PM10/27/23
to Discussion forum for The Joy Of Computing Using Python
There was a Question i encountered today asking about output without the calling of the function with the respective parameters.Now where can i get cleared regarding this

NOC23 CS108

unread,
Oct 27, 2023, 4:45:11 PM10/27/23
to Discussion forum for The Joy Of Computing Using Python, Heman
Dear Learner,

Can you please attach the question? 

manasvi

unread,
Oct 28, 2023, 2:11:15 AM10/28/23
to Discussion forum for The Joy Of Computing Using Python, NOC23 CS108, Heman
Yes I also had same problem

the ques was as follows or something similar:

def func(c1,c2):
       if (a<c1<z) and ( a<c2<z):
            return False
       if   (a>c1>z) and ( a>c2>z):
            return False
       return True


We were asked to answer the output of this but there was no parameters given as such to run this func on.

Heman

unread,
Oct 28, 2023, 2:32:50 AM10/28/23
to Discussion forum for The Joy Of Computing Using Python, manasvi, NOC23 CS108, Heman
Yess this question only.For me this one was yesterday's afternoon session section 3 question no 17.here there is no call for the function with parameters but the output has been asked 

Heman

unread,
Oct 28, 2023, 2:35:29 AM10/28/23
to Discussion forum for The Joy Of Computing Using Python, Heman, manasvi, NOC23 CS108
and also classes are not in our syllabus and You guys have mentioned it in the final session of this course like classes are not there,but we have got a question from classes yesterday

Prerna

unread,
Oct 28, 2023, 1:46:29 PM10/28/23
to Discussion forum for The Joy Of Computing Using Python, Heman, manasvi, NOC23 CS108
same for today regarding printing Id of object.

Vishal

unread,
Oct 30, 2023, 10:23:59 AM10/30/23
to Discussion forum for The Joy Of Computing Using Python, Prerna, Heman, manasvi, NOC23 CS108
Guys, there were various questions where output was asked without calling the function, it should be implicitly understood if output is asked that function is called 
. As a student, I understand your concern but this is the possible explanation.

Heman

unread,
Nov 3, 2023, 12:21:46 AM11/3/23
to Discussion forum for The Joy Of Computing Using Python, Vishal, Prerna, Heman, manasvi, NOC23 CS108
Yeah...but if the function is with parameters then how we are supposed to give the output without the function call for the arguments and also there was no formal parameters.
Reply all
Reply to author
Forward
0 new messages