Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the difference between underscore and self (i.e self.xx and _xx) ?
Home
Technology
What is the difference between underscore and...
asked
Nov 10, 2020
in
Technology
by
JackTerrance
What is the difference between underscore and self (i.e self.xx and _xx) ?
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Nov 10, 2020
by
JackTerrance
when you are using the self.XX, you access the property via the setter or getter. when you are using the _XX, you access the property directly skip the setter or getter
Related questions
0
votes
Q: What is the difference between SOM (Self Organizing Maps) and K-Means?
There is only one question related to this and it is more about which one is better. I just don't ... exactly lies the difference? Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
k-means
artificial-intelligence
0
votes
Q: In lossy dielectric, the phase difference between the electric field E and the magnetic field H is
In lossy dielectric, the phase difference between the electric field E and the magnetic field H ... by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked
Nov 6, 2021
in
Education
by
JackTerrance
electromagnetic-theory-interview-questions
electromagnetic-theory-interview-questions-answers
electromagnetic-theory-multiple-choice-questions
electromagnetic-theory-mcq-with-answers
electromagnetic-theory-mcq
electromagnetic-theory-questions
0
votes
Q: What is the meaning of a single and a double underscore before an object name?
What is the meaning of using leading underscores before the name of an object in Python? And what's the difference ... , method, etc.? Select the correct answer from above options...
asked
Jan 24, 2022
in
Education
by
JackTerrance
python-faq
python
0
votes
Q: What is the purpose of the single underscore “_” variable in Python?
What is the meaning of _ after for in this code? if tbh.bag: n = 0 for _ in tbh.bag.atom_set(): n += 1 Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
variables
0
votes
Q: A and B are two independent witnesses (i.e., there is no collision between them) in a case. The probability
A and B are two independent witnesses (i.e., there is no collision between them) in a case. The probability ... the statement is true? Select the correct answer from above options...
asked
Nov 19, 2021
in
Education
by
JackTerrance
probability-interview-questions
probability-interview-questions-answers
probability-multiple-choice-questions
probability-mcq-with-answers
probability-mcq
probability-questions
cbse-class-10
0
votes
Q: Find the potential between two points p(1,-1,0) and q(2,1,3) with E = 40xy i + 20x^2 j + 2 k
Find the potential between two points p(1,-1,0) and q(2,1,3) with E = 40xy ... theory proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked
Nov 11, 2021
in
Education
by
JackTerrance
electromagnetic-theory-interview-questions
electromagnetic-theory-interview-questions-answers
electromagnetic-theory-multiple-choice-questions
electromagnetic-theory-mcq-with-answers
electromagnetic-theory-mcq
electromagnetic-theory-questions
0
votes
Q: Find the potential between a(-7,2,1) and b(4,1,2). Given E = (-6y/x^2 )i + ( 6/x) j + 5 k.
Find the potential between a(-7,2,1) and b(4,1,2). Given E = (-6y/x^2 ... electromagnetic theory proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked
Nov 11, 2021
in
Education
by
JackTerrance
electromagnetic-theory-interview-questions
electromagnetic-theory-interview-questions-answers
electromagnetic-theory-multiple-choice-questions
electromagnetic-theory-mcq-with-answers
electromagnetic-theory-mcq
electromagnetic-theory-questions
0
votes
Q: The rate for the decomposition of `NH_(3)` on platinum surface is zero order. What are the rate of production of `N_(2)` and `H_(2)` if `K = 2.5 xx 10
The rate for the decomposition of NH3 on platinum surface is zero order. What are the rate of production of N2 ... 10-4mollitre-1s-1? Select the correct answer from above options...
asked
Jan 4, 2022
in
Education
by
JackTerrance
probability-questions
probability-mcq
0
votes
Q: On the modified chess board `10 xx 10.` Amit and Suresh two persons which start moving towards and the each other person moivng with same constant spe
On the modified chess board `10 xx 10.` Amit and Suresh two persons which start moving towards and the each ... during their trip. Select the correct answer from above options...
asked
Nov 13, 2021
in
Education
by
JackTerrance
artificial-intelligence-interview-questions
artificial-intelligence-interview-questions-answers
artificial-intelligence-multiple-choice-questions
artificial-intelligence-mcq-with-answers
artificial-intelligence-mcq
artificial-intelligence-questions
0
votes
Q: The rate constant for the first order decompoistion of a certain reaction is described by the equation `log k (s^(-1)) = 14.34 - (1.25 xx 10^(4)K)/(T)
The rate constant for the first order decompoistion of a certain reaction is described by the equation logk(s-1)= ... periof be 256min? Select the correct answer from above options...
asked
Jan 4, 2022
in
Education
by
JackTerrance
probability-questions
probability-mcq
0
votes
Q: Let’s play around with matrix derivatives! A trace Tr(X)Tr(X) of a matrix XX is a sum of its diagona
Let's play around with matrix derivatives! A trace Tr(X)Tr(X) of a matrix XX is a sum of its diagonal ... a matrix notation for it: Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: A circle with radius 10 cm is drawn somewhere on a rectangular piece of paper of dimensions `40 cm xx 30 cm.` This paper is kept horizontally on table
A circle with radius 10 cm is drawn somewhere on a rectangular piece of paper of dimensions `40 cm xx 30 cm.` This ... pi=(22)/(7))` Select the correct answer from above options...
asked
Nov 17, 2021
in
Education
by
JackTerrance
probability-interview-questions
probability-interview-questions-answers
probability-multiple-choice-questions
probability-mcq-with-answers
probability-mcq
probability-questions
0
votes
Q: A `2 xx 2` square matrix is written down at random using the number 1, -1 as elements. The probability that the matrix is non-singular is
A 2 2 square matrix is written down at random using the number 1, -1 as elements. The probability that the matrix is ... 5/8 D. 1/3 Select the correct answer from above options...
asked
Nov 15, 2021
in
Education
by
JackTerrance
probability-interview-questions
probability-interview-questions-answers
probability-multiple-choice-questions
probability-mcq-with-answers
probability-mcq
probability-questions
0
votes
Q: Can I become a self-taught Data Scientist?
Can I become a self-taught data scientist? Select the correct answer from above options...
asked
Jan 17, 2022
in
Education
by
JackTerrance
data-science
0
votes
Q: In conductors, the E and H vary by a phase difference of
In conductors, the E and H vary by a phase difference of (a) 0 (b) 30 (c) ... theory proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked
Nov 6, 2021
in
Education
by
JackTerrance
electromagnetic-theory-interview-questions
electromagnetic-theory-interview-questions-answers
electromagnetic-theory-multiple-choice-questions
electromagnetic-theory-mcq-with-answers
electromagnetic-theory-mcq
electromagnetic-theory-questions
...