Please write a console application to import the following text files (passed as parameters) into the provided database, using stored procedures. You have 4 hours.
That was my entry exam for my current job.
Comment has been collapsed.
That's assuming the data in the file is coherent and error-free. Each one of the text files had a different structure and needed to be split into multiple tables, with some error-checking.
But the only reason I took close to the 4 hours is because I hadn't done any C# before that. Learned the language from an e-book I grabbed two days prior to the test. Having spent the previous 4 years doing nothing more complicated than vbsrcipts for user logins, and the 5 years before that doing PHP/ASP (not .NET) meant I was a bit rusted.
Comment has been collapsed.
Your name
+1
Why the fuck would they be giving me the test if they didn't know who I was in the first place?!?
Comment has been collapsed.
Yes, many people in Math use 0 as a natural number (and many others do not), it is a matter of preference.
But, back to your original question: there are other ways to make that an integer... See spoilers below if you want to know more.
a=b^3 will do...
But that is not all -- you can try a=8 and b=30, for example.
Finally: that said, there is a solution to this with "elementary" Math (meaning, high school Math).
Comment has been collapsed.
Zero is never natural number, and I never seen anyone who though other way.
Integer is just name for whole real number, meaning there is 0 value behind decimal point. Also, integer can be positive and negative,
while whole nature of natural number is that its positive whole number equal or grater then 1.
Comment has been collapsed.
Hmmm... No. Zero being natural or not is a convention, and there is no international consensus among Mathematicians on this. As:
http://en.wikipedia.org/wiki/Natural_number
(To be honest, there is consensus that it is not such an important issue anyway... When writing your text, let the reader know at the beginning if 0 is natural or not in your text and move on. Which I see I failed to do when stating my problem.... :) )
Comment has been collapsed.
Every thermodynamics test (or even better, fluid dynamics) i've ever gotten.
Comment has been collapsed.
Why? Those were two of the most easiest subjects for me .... On the other hand if you are talking about computational fluid dynamics, I completely understand you ( especially trying to model an unsteady oscillating flow using FVM and then you add combustion to it .... yeah, that was nightmare inducing ... Glad I'm out of Grad school :D )
Comment has been collapsed.
Was the same professor for both. He wouldn't tell us when to make assumptions about specific systems, and if we tried to account for those in problems we haven't encountered before, it'll kill your test grade. Lack of information I guess. I'll go through tables all day long and excel does all my math anyhow. To each their own though.
Comment has been collapsed.
Fair enough. It really sucks to have douche-bag professors. We had the same guy for Finite Elements and Aircraft Mechanics. God have mercy on our souls but he made every subject he taught so dull. He caught me sleeping in his class so many times that he actually called my parents... in university ... Can you imagine the feeling ?
Comment has been collapsed.
Haha, I can't imagine a professor doing that. I've never actually fallen asleep in class though. I'm just happy whenever a professor speaks English as a first language, or at least is semi-proficient with it. I swear, 3 years of math and every single professor spoke in heavy asian accents.
Comment has been collapsed.
Neither could I. But I suppose he had a vendetta against me. His godson was best friends with me and most of us used to cut classes and go to gaming centres to play Dota. Somehow he came to the conclusion that it his friends (aka us ) were forcing him to come and play.
Comment has been collapsed.
British researchers say the chicken must have come first as the formation of eggs is only possible thanks to a protein found in the chicken’s ovaries.
‘It had long been suspected that the egg came first but now we have the scientific proof that shows that in fact the chicken came first,’ said Dr Colin Freeman, from Sheffield University, who worked with counterparts at Warwick University.
‘The protein had been identified before and it was linked to egg formation but by examining it closely we have been able to see how it controls the process,’ he added.
The protein – called ovocledidin-17 (OC-17) – acts as a catalyst to speed up the development of the shell.
Scientists used a super computer called HECToR, based in Edinburgh, to ‘zoom in’ on the formation of an egg.
It showed OC-17 was crucial in kick-starting crystallisation – the early stages of forming a shell.
The protein coverts calcium carbonate into calcite crystals which makes up the egg shell, creating six grammes of shell every 24 hours.
Comment has been collapsed.
Well that's playing with the words... Of course his question is about the chicken egg. Dinosaurs layed eggs and i'm pretty sure they were on Earth before chickens since apparently dinosaurs are chickens ancestors (forgot the exact words but they share the same line)
Fish layed eggs even before dinosaurs were a thing. So i'm pretty sure researchers wouldnt've need a super computer to theorize about chicken and fish eggs.
So yeah the question IS about chicken egg.
Comment has been collapsed.
Have you engaged in homosexual intercourse in the last 24 hours?
-- Blood exam. A couple of years back.
Comment has been collapsed.
Name.
For some reason, this question is in every exam I give.
Comment has been collapsed.
Highschool physics.
"Which is the greatest physicist of the century? Multiple choice question with pictures of Newton, Hawking, Einstein and our physics profesor."
Everybody answered our physics profesor. The correct answer was Einstein, which was named "Person of the Century" by Time magazine in 1999. :D Greatest farewell test in a subject in highschool, the last five minutes of the exam profesor played us Final countdown from Europe on youtube and drew two glasses of champaigne on the board.
Comment has been collapsed.
13 Comments - Last post 3 hours ago by MeguminShiro
13 Comments - Last post 3 hours ago by MeguminShiro
38 Comments - Last post 4 hours ago by MeguminShiro
22 Comments - Last post 4 hours ago by MeguminShiro
858 Comments - Last post 4 hours ago by MeguminShiro
178 Comments - Last post 4 hours ago by MeguminShiro
13 Comments - Last post 4 hours ago by MeguminShiro
92 Comments - Last post 7 minutes ago by LightningCount
1,678 Comments - Last post 13 minutes ago by MouseWithBeer
752 Comments - Last post 14 minutes ago by Karfein
257 Comments - Last post 35 minutes ago by ercalote
62 Comments - Last post 40 minutes ago by Keka
41 Comments - Last post 1 hour ago by Vini1
17,735 Comments - Last post 1 hour ago by Riszu
Comment has been collapsed.