i want a simple programe that multiply data of 2 ports(port 1&port 2) written in C
when I was in school, we were instructed to write a UNIX shell. I have to admit, cheating did cross my mind :) I wouldn't expel somebody over an "hello world" progrma. Erik, please... :) :) :)
... and not grant diplomas to those that can not program/engineer, just copy.
of course, if the diploma read "web search" "forum use" or "copying", that would be another issue.
Erik
If this was a class assignment, you might want to give the teacher a more detailed answer to guarantee a grade worthy of your skills...
#include <http: //www.atmel.com/8951.pdf> /* define the cpu architecture */ auto code main( extern int cpu, static float oscillator ) reentrant using 8951 { far register bit *result;// use the cpu registers for fast multiplication // Remember to divide both sides by the cpu speed to keep the multiply // operator from going unstable: result / oscillator = (cpu.Port1 * cpu.Port2) / oscillator; if( cpu != (void)"Atmel" )// check to make sure it is the correct controller { result += (volatile) NULL;// adjust for other microcontrollers } // return the result as an embedded number ('enum') return( (enum)main->result ); goto main;// infinite loops are typical for embedded applications. }
What kind of class would assign such a lame task or question? And what kind of student would use an answer from 'the internet' without being able to understand if it is even in the ball park of being correct? If this question had to be asked, then clearly any answer would be blindly accepted not matter how ridicules it was.
Seriously, somebody please provide a link to such a class. This forum seems to get a lot of these 'classwork' type questions. I'd like to see what those classes expect of their students, and what the prerequisites must be.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
Cpt. Vince, I give you a straight A !
What kind of class would assign such a lame task or question? a "diploma mill"
I have experienced interviewees that had "graduated" with a very facy diploma that did not know the diffrence between an OR and an AND.
what is 101b AND 010b was answered by 103 by one candidate. Of course, this simple question was never intended as "can you solve this" more as a "would (s)he need pencil and paper for this" imagine my surprise when I got the answer 103
What kind of class would assign such a lame task or question?
Alas, there does not seem to be a lower limit to the complexity of asked questions, or the amount of time some people can manage to spend just to complicate a trivial problem into a nightmare.
A big problem is that some teachers seem to have a problem understanding the subject they are teaching in...
We have received applications for a position as senior embedded developer from people who have spent a couple of weeks in evening school getting a bit of a grasp of Basic... When people doesn't realize that software development is basically an unbound problem area, they think that their puny knowledge represents the requirements of a professional developer, and that whatever they haven't learned yet can be picked up in a couple of weeks of further studying or practicing.
Remember the plight of the teacher. Coming up with assignments that cover the course concepts, but are so odd they can not be easily found and copied from the internet.
assignments that cover the course concepts, but are so odd they can not be easily found and copied from the internet not a problem, just ask in a forum.
we are breading a generation of googlers, not thinkers. where are the next Voltaire, Einstein, Plank...with this guy (the original poster), we are doomed!
"where are the next Voltaire, Einstein, Plank..."
Did someone mention my name?
Two minutes response time. Do you have a background filter scanning all posts for your name :)