0% found this document useful (0 votes)
19 views2 pages

Week 3 Doubt Resolution Sheet - CampusX DSMP 2022-23

The document contains a series of coding and conceptual doubts related to programming tasks, particularly in Python and machine learning. It includes questions about code execution, memory management, and class attributes, along with links to screenshots for reference. The responses provide guidance on resolving these doubts and suggest resources for further learning in data science and programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

Week 3 Doubt Resolution Sheet - CampusX DSMP 2022-23

The document contains a series of coding and conceptual doubts related to programming tasks, particularly in Python and machine learning. It includes questions about code execution, memory management, and class attributes, along with links to screenshots for reference. The responses provide guidance on resolving these doubts and suggest resources for further learning in data science and programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Type of

Timestamp
Week 2 task 4. Describe your doubt here in detail. Screenshot
doubt
Coding Last line of products_list toh ni ana pura code
, timestamp https://drive.google.com/open?id=1Bz
related
Career ma niclarity
lack hn on some concepts and interview
17:47
related study Mathswill
preparation for consume
it. a lot of time and my
Conceptual So My question is, from
return exact same like sir's code where I can
but study
my output
Coding Maths?And How to Study? And What topics
different from sir's output?
What will happen to the tuple at the first https://drive.google.com/open?id=1xC
related
Conceptual 1:23:39 why?
memory location https://drive.google.com/open?id=1W
Coding Will the garbage collector destroy it?
int' object has no attribute 'balance' . https://drive.google.com/open?id=1gX
related
Coding work fine. how i resolve this problem.
Why do we need to put self.attribute_name https://drive.google.com/open?id=1pt
related
Conceptual inside constructor rather than just simply
'list' object bolagaya
attribute_name whileho? initializing?
Conceptual perimeter(). When executing it gave "Int object
the rectangle
Conceptual is not callable".asWhy
Programming python
a topic anddoes OOP as the https://drive.google.com/open?id=1_0
then not
class task
Conceptual understand
next area and perimeter are variable
Coding def
topic, factorial(self,n):
were we supposed to have a session
related I have small self.fact = 1
Coding
doubt in task 7 Whatdef guess(self):
blogs, related to python, data science, https://drive.google.com/open?id=1FE
related
Career question 4. while
machine True:
learning etc.its
can beginners
related my question is , how possible that write?
different
Conceptual . Please suggest some ideas.
values can be store at same location at same
After
time. creating
why these gender
valuesattribute outside of
not overlapped ? class https://drive.google.com/open?id=1m
Conceptual In the task 4 question no 7, you have used
Coding why does it not suggest this attribute after dot?
17.08 product_list which hasnt been used before.
related
Conceptual 1:18:18 Please explain how
Coding now
I don't if Iunderstand
want to seewhat howwe many
haveobject
do inofquestion
my
related
Coding 2
Notof able
session 8
to understand the first two questions
child Class? https://drive.google.com/open?id=1zjd
related in session 9's task
Conceptual become garbage or only the elements 'B' and
Conceptual Like
'C'? I want a class to be linked with more than
Solution
Instead of product_list it should be prod_value.
Hands on machine learning is the best. You
can alsobe
We will follow
teachingISLRmaths for data science in
the upcoming
screenshot link.modules
Your code in detail. Don't
is right. Tryworry
to rerun
memory.
the code. So If thePython
output willwill
treat
notthat old tuple
change, replyasto
Garbage.
instance isPython2000 whichperiodically removes
is an integer. that the
Inside
garbage
method, from memory. So it can happen that
codes areyou have written
executed without this code:
our intention which
>>
canself.balance
change the = self.balance
default behavior + other.balance
sometimes.
daily_uses() which can
But you have the right code, no errorhelp how much is athere.
car is
something
driven on daily that basis.
you don't want tothis
So inside control
method, by the
objects. So if your code does not have any
the
suchsame name, be then
requirements, it a function,
no needan to integer,
put a or
any other object in Python.
such requirements, then no need to put Just use a different
a
constructor. If you do not define
as per your code definition, the factorial a constructor,
function
method is self.guess()2
not a path ofand the this
class,function
it is partis over.
of
But self.guess()1 is still not over as, it executed
Yes,
if partyouso can
while write
loopblogs.
didn'tYou break,candue writeto any
that
kind of blog at any time. There
separate locations. You can imagine it like a is no restriction.
list. The list is stored in a memory location. But
Colab Issue, reload the notebook.
Instead of product_list it should be prod_value.
counter was used in atm class. Make
object_list as a static variable and in the
2- Deck : it is a class of collection of all
solution
possible video.
cards But in a for now, try to create two
deck.
class Vehicle
Inheritance. E.g., and Bus, and try to inherit those
"B"
Class and "C" elements
Base1: Body of willthe be deleted as
classClass Base2:
garbage values. "A" will stay there.

You might also like