Quiz for programmer |
9.9.04 |
Last week I took a little quiz somewhere to prove my programming ability. Most questions were tricky and puzzling, and maths related. May be the organizer thinks a skillful/ proficient developer must be good at maths and speculation. Hmm... I should be marked as the incapable and unqualified one. |
Comments:
<< Home
Q1
8x = V ----- (1)
10(x-y) = V ----- (2)
ky = V
what is k?
take x = 6, V = 24
then 10(6-y) = 24, y =0.6
k(0.6) = 24
k =40
Q2
1020 - 1018 / 1020*1018
= 1/(510*1018)
Q3
4, 16, 36, 64
=2*2, 4*4, 6*6, 8*8, 10*10
=100
Add oil, your good colleague!
8x = V ----- (1)
10(x-y) = V ----- (2)
ky = V
what is k?
take x = 6, V = 24
then 10(6-y) = 24, y =0.6
k(0.6) = 24
k =40
Q2
1020 - 1018 / 1020*1018
= 1/(510*1018)
Q3
4, 16, 36, 64
=2*2, 4*4, 6*6, 8*8, 10*10
=100
Add oil, your good colleague!
Thanks your solution, my *good* colleague!!
I could only answer Q1 and Q3 correctly :(
For Q3, I solved in this way:
4,  16,  36,  64, ...
   \/    \/    \/    \/
  12   20    28 X <-- the difference between 2 numbers
     \/    \/     \/
  8      8     Y <-- the difference between 2 numbers
So I guessed Y=8, X=36, and the number is 64+36 = 100
At least I thought in a very systematic way, right?
I could only answer Q1 and Q3 correctly :(
For Q3, I solved in this way:
4,  16,  36,  64, ...
   \/    \/    \/    \/
  12   20    28 X <-- the difference between 2 numbers
     \/    \/     \/
  8      8     Y <-- the difference between 2 numbers
So I guessed Y=8, X=36, and the number is 64+36 = 100
At least I thought in a very systematic way, right?
Thanks your solution, my *good* colleague!!
I could only answer Q1 and Q3 correctly :(
For Q3, I solved in this way:
4,  16,  36,  64, ...
   \/    \/    \/    \/
  12   20  28 X <-- the difference between 2 numbers
     \/    \/    \/
  8     8    Y <-- the difference between 2 numbers
So I guessed Y=8, X=36, and the number is 64+36 = 100
At least I thought in a very systematic way, right?
I could only answer Q1 and Q3 correctly :(
For Q3, I solved in this way:
4,  16,  36,  64, ...
   \/    \/    \/    \/
  12   20  28 X <-- the difference between 2 numbers
     \/    \/    \/
  8     8    Y <-- the difference between 2 numbers
So I guessed Y=8, X=36, and the number is 64+36 = 100
At least I thought in a very systematic way, right?
Yup. your thinking is clear~
You have potential to be a good programmer. Especially your hard working, don't give up.
haha
Post a Comment
You have potential to be a good programmer. Especially your hard working, don't give up.
haha
<< Home