N
Nikhil Joshi
write a program to calculate decimal number from binary number?
write a program to calculate decimal number from binary number?
Nikhil Joshi said:write a program to calculate decimal number from binary number?
Done. Next?
Nikhil Joshi said:write a program to calculate decimal number from binary number?
Done. Next?
write a program to calculate decimal number from binary number?
tom st denis said:I'mma gonna go beyond what the other people wrote and just say this.
Drop out of whatever program you are in now. If this sort of program
stumps you you have no business studying computer science nor software
development. This is the equivalent of a math major asking us to help
them solve the matrix
I may have missed some of this thread, but how do you know the OP is a
CS major? I was quite good at academic CS, but there was a time when I
did not know how to do this.
This is the equivalent of a math major asking us to help
them solve the matrix
[ 2 1 ]
[ 1 1 ]
tom st denis said:This is the equivalent of a math major asking us to help
them solve the matrix[ 2 1 ]
[ 1 1 ]
What's the answer?
tom st denis said:This is the equivalent of a math major asking us to help
them solve the matrix[ 2 1 ]
[ 1 1 ]
What's the answer?
R1-R2 and then R2-R1.
So suppose you had the linear system
[2 1][3]
[1 1][2]
Then you'd have
[1 0][1]
[1 1][2]
And
[1 0][1]
[0 1][1]
So x = 1 and y = 1 in this linear system.
This is the equivalent of a math major asking us to help
them solve the matrix
[ 2 1 ]
[ 1 1 ]
What's the answer?
tom st denis said:I'mma gonna go beyond what the other people wrote and just say this.
Drop out of whatever program you are in now. If this sort of program
stumps you you have no business studying computer science nor software
development.
This is the equivalent of a math major asking us to help
them solve the matrix
[ 2 1 ]
[ 1 1 ]
What's the answer?R1-R2 and then R2-R1.
You haven't defined what R1 and R2 refer to, nor what those expressions
mean.
Nor have you defined what x and y refer to.
tom st denis said:This is clearly a homework question of some sort given the lack of
details other than a fairly obvious problem statement that came from a
lab somewhere.
This strikes me as too harsh. This is the sort of thing that will
challenge a freshman (and maybe even a sophomore) the first time they
see it; he does need to be told to do his own homework (and has been);
he only needs to change majors if he doesn't get better.
Yes it is. I don't see how that relates to my message.
tom st denis said:I think it boils down to a complete and utter lack of intuition and
drive for knowledge. Likely the person is looking for the easiest
cheap ride through to a diploma so they can then waste peoples time as
a completely worthless software developer.
I could have solved this problem when I was 8 years old. So in
effect, this guy has less intuition about software and computer
science than a C average 8 year old from a small town in Ontario
Canada. That's not saying much for their worth as a student let alone
an eventual professional.
Using yourself as an example is wrong unless you consider yourself just
about the least talented programmer who ever benefited from studying
programing. I suspect you had an average or above average talent for
programming, which means that there are thousands and thousands of less
talented programmers who, every year, study programming a benefited form
it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.