|
-
May 27th, 2000, 02:55 PM
#1
Thread Starter
Addicted Member
Help..
I need an Answer for this.
How many VB programmers does it take to change a light bulb ?
This is the first question Microsoft Visual Basic Certification exam ...
-
May 27th, 2000, 07:43 PM
#2
-
May 27th, 2000, 08:06 PM
#3
PowerPoster
0 - it's a hardware problem
-
May 27th, 2000, 09:17 PM
#4
New Member
471; one to write
Code:
GetLightBulbHandle() as hnd
, one to write
Code:
QueryStatusLightBulb() as Boolean
, one to write
Code:
GetLightSwitchHandle() as hnd
...
Shab.
Code:
Print WeekDayName(vbMonday)
-
May 27th, 2000, 09:33 PM
#5
PowerPoster
2 - One holds the light bulb and the second turns the chair around
-
May 27th, 2000, 09:46 PM
#6
Hyperactive Member
None, a pianist can do it with his left hand.
(Sorry, wrong forum...)
If it were here in Argentina, I would say 3: 1- one to actually change the bulb, 2- other to make the berbecue (no big work goes out without one) 3- a government inspector to certify that the work is well done.
-
May 27th, 2000, 11:05 PM
#7
PowerPoster
I'd say 100... One for changing the bulb and 99 to click the error messages
-
May 27th, 2000, 11:41 PM
#8
I would say 4
1 to write this
Code:
Type LOCUDT
X As Long
Y As Long
End Type
1 to write this
Code:
Declare Function GetBulbHandle Lib "Bulb32" (ByVal LocationX As LOCUDT, ByVal LocationY As LocUDT ByVal Watt As Integer) As Integer
1 to write this
Code:
Declare Function SetBulbPos Lib "Bulb32" (ByVal NewLocX As LOCUDT, ByVal NewLocY as LOCUDT, ByVal BulbHandle As Long)
and one to write this
Code:
Sub SetPos()
Dim lngRet As Long
Dim lngBulbHandle As Long
lngBulbHandle = GetBulbHandle(500, 60, 100)
lngRet = SetBulbPos(500, 60, lngBulbHandle)
End Sub
Private Sub Command1_Click()
Call SetPos
End Sub
there, it takes 4 VB programmers to change a lightbulb
-
May 28th, 2000, 02:29 AM
#9
transcendental analytic
Probably 138072701
I'd say all programmers in universe.
If we remove one programmer we have our universe collapse in mass decrease, so we need all programmers to be online
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 28th, 2000, 02:35 AM
#10
There's a lot more programmers than that!
-
May 28th, 2000, 02:48 AM
#11
transcendental analytic
How do you know that meg?
Maybe we have
1
or
31409750237456923469282973459345978
but theres probably
138072701
because, that's what my app told me
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 28th, 2000, 03:56 AM
#12
What's this App do? Count all the people in the world?
-
May 28th, 2000, 06:23 AM
#13
New Member
Originally posted by Megatron
What's this App do? Count all the people in the world?
Hmm - not sure that you need an app to do that <g>
FWIW, according to http://metalab.unc.edu/lunarbin/worldpop there's just over 6 thousand million (6e9) on the planet at the moment.
Projections only go up to the end of 2037, where (according to this) there'll be 10 thousand million people (1e10).
Shab.
Code:
Print WeekDayName(vbMonday)
-
May 28th, 2000, 06:34 AM
#14
6 thousand million, is the same as 6 billion
-
May 28th, 2000, 06:45 AM
#15
New Member
Zillions....
Originally posted by denniswrenn
6 thousand million, is the same as 6 billion
Ohhh - that largely depends on which side of the pond you're on I think <g>
from http://www.mcn.net/~jimloy/billion.html
Code:
Number of zeros U.S. & scientific community Other countries
3 thousand thousand
6 million million
9 billion 1000 million (1 milliard)
12 trillion billion
[snip]
[Edited by Shabble on 05-29-2000 at 01:03 AM]
Shab.
Code:
Print WeekDayName(vbMonday)
-
May 29th, 2000, 02:44 AM
#16
transcendental analytic
number of zeroes
[snip]
600 centilion
[snip]
999999999999999999999999999999 kedamaniljon
infinity
Ok my app does calculate this from a formula:
Amount of people/amount of kedamans + amount of megatrons ^amounts of shabbles mod amounts of denniswrenns
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 29th, 2000, 04:35 AM
#17
Code:
Amount of people/amount of kedamans + amount of megatrons ^amounts of shabbles mod amounts of denniswrenns
= 6000000000
------------
1 + 1^1
---
1
= 6000000000
----------
1 + 1
= 6000000000
----------
2
= 3000000000
There, using your formula, there are 3,000,000,000 programmers.
-
May 29th, 2000, 06:11 AM
#18
-
May 29th, 2000, 06:35 AM
#19
transcendental analytic
Ok, the formula didn't work except that the answer is correct. We have exactly 168072701 programmers, 138072701 was a typo
Code:
?168072700/1+1^1/1
168072701
so there must be 168072700 people, ok who is the 168072701th guy? The values are in hex, so you probably know what causes that
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 29th, 2000, 10:49 PM
#20
New Member
Originally posted by kedaman
Code:
?168072700/1+1^1/1
168072701
so there must be 168072700 people, ok who is the 168072701th guy? The values are in hex, so you probably know what causes that [/B]
Operator precidence I assume - try
Code:
?168072700/(1+(1^1/1))
Nowt to do with hex I'm afraid.
Shab.
Code:
Print WeekDayName(vbMonday)
-
May 30th, 2000, 12:26 AM
#21
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 02:42 AM
#22
168072700 is not the number of people in the world. It's 6 billion. your formula said that it suppose to be the number of people in the world.
-
May 30th, 2000, 03:04 AM
#23
transcendental analytic
Meg, it is hex:6040266496 in dec
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 03:32 AM
#24
Why i type that number in my Windows Calculator, the numbers change...when i switch from dec to hex than back to dec. The hex value stays the same but the dec doesn't.
-
May 30th, 2000, 04:41 PM
#25
New Member
M$ Calc
Originally posted by Megatron
Why i type that number in my Windows Calculator, the numbers change...when i switch from dec to hex than back to dec. The hex value stays the same but the dec doesn't.
Windows calulator has a small problem - it's limited to the numbers it can display in hex.
The maximum number it can display (when converting between bases) is:
4,294,967,295 decimal or
FF,FF,FF,FF hex
Typing in 4,294,967,296 then converting to hex converts it (internally I assume) to 1,00,00,00,00 hex which gets truncated - at the top end. All that's left is 0 which is (one hopes) the same in both decimal and hex.
Basically any numbers over 4,294,967,295 are treated mod 4,294,967,295 until they're under 4,294,967,295 for the purposed of conversion from and to hex.
The above applies equally to octal and binary conversions also.
There - that's 10 minutes wasted <g> Perhaps I should do some work now - I'm sure there's something more constructive that I can do other than pick M$ Calc to bits :)
Shab.
Code:
Print WeekDayName(vbMonday)
-
May 30th, 2000, 05:00 PM
#26
transcendental analytic
Hehe, got you now, shall i post the function?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 05:23 PM
#27
Lively Member
Only 1 to actually change it - but at least 10 managers / supervisors to give an opinion on the best way to "achieve the objective"
-
Jun 1st, 2000, 05:47 PM
#28
Addicted Member
It only takes 1 programmer if you download this file:
http://www.vb-world.con/home/electri...changebulb.ocx
-
Jun 1st, 2000, 09:19 PM
#29
How many VB programmers does it take to change a light bulb ?
How many times did the programmer press f1?
-
Apr 5th, 2005, 09:52 PM
#30
Re: How many VB programmers does it take to change a light bulb ?
-
Apr 6th, 2005, 03:03 AM
#31
KING BODWAD XXI
Re: How many VB programmers does it take to change a light bulb ?
0 they tell the client its a 'Feature' that means they need the new version of the software for their home pc
-
Apr 6th, 2005, 04:24 PM
#32
Re: How many VB programmers does it take to change a light bulb ?
One to search for the current hardware's driver.
One to code a driver for the new hardware.
One to create an interface between the current hardware and the new driver.
One to update the BIOS on the current hardware. (LightBulbTM ME was obselete, so they needed a LightBulbTM XP OS to support the new software.)
One to design a program to automatically eject the current hardware.
One to catch the old hardware as it falls and inspect it for bugs.
One to design a program to install the new hardware.
One to actually interface the current hardware with the new driver.
Five to test the new hardware's compatability with the old hardware.
Three to go tell the manager that they got the problem solved.
Hmm.. sounds like you need 16 to me...
-
Apr 6th, 2005, 04:46 PM
#33
Re: How many VB programmers does it take to change a light bulb ?
 Originally Posted by timeshifter
One to search for the current hardware's driver.
One to code a driver for the new hardware.
One to create an interface between the current hardware and the new driver.
One to update the BIOS on the current hardware. (LightBulbTM ME was obselete, so they needed a LightBulbTM XP OS to support the new software.)
One to design a program to automatically eject the current hardware.
One to catch the old hardware as it falls and inspect it for bugs.
One to design a program to install the new hardware.
One to actually interface the current hardware with the new driver.
Five to test the new hardware's compatability with the old hardware.
Three to go tell the manager that they got the problem solved.
Hmm.. sounds like you need 16 to me...
Then add 2 more to convince the boss they need to move to LightBulb.NET so they can use LB#.
Tg
-
Apr 6th, 2005, 10:31 PM
#34
Re: How many VB programmers does it take to change a light bulb ?
oh just to let you know, my goal was to bring the oldest topic i could find back
-
Jun 6th, 2005, 10:31 AM
#35
Re: How many VB programmers does it take to change a light bulb ?
Having done significant research, I found that my prior answer was slightly flawed and have made the appropriate adjustments, leaving the final answer to be:
- One to search for the current hardware's driver.
- One to code a driver for the new hardware.
- One to create an interface between the current hardware and the new driver.
- One to update the BIOS on the current hardware. (LightBulbTM ME was obselete, so they needed a LightBulbTM XP OS to support the new software.)
- One to design a program to automatically eject the current hardware.
- One to catch the old hardware as it falls and inspect it for bugs.
- One to design a program to install the new hardware.
- One to actually interface the current hardware with the new driver.
- Five to test the new hardware's compatability with the old hardware.
- Three to go tell the manager that they got the problem solved.
- Two to try and convince the manager that LightBulbTM.NET is much more efficient and less costly.
- One to write a brand new driver for LightBulbTM.NET and interface it with LightBulbHolderTM XP.
- Three to debug the new system.
- One to tell the manager that the project was scrapped due to an anomoly in LightBulbTM.NET.
- One to hire an electrician to take care of the problem professionally.
Thus, the correct answer is 24.
-
Oct 15th, 2006, 02:30 PM
#36
Re: How many VB programmers does it take to change a light bulb ?
Hold on... after late breaking techniques in the art of light-bulb changing, I've determined that there are actually 3 needed for the last step...
-
Oct 15th, 2006, 03:30 PM
#37
Banned
Re: How many VB programmers does it take to change a light bulb ?
Windows users are mentally incapable of attending to any kind of light-fitting malfunction.
-
Oct 15th, 2006, 03:32 PM
#38
Re: How many VB programmers does it take to change a light bulb ?
I'm sorry... I don't have much choice... and XP Pro treats me good...
-
Oct 15th, 2006, 03:36 PM
#39
Banned
Re: How many VB programmers does it take to change a light bulb ?
"There's always a choice Luke."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|