i have an open book quiz (we can use the internet too) thats due in a half an hour..and ive done all that i can..
are you guys against helping out on homework on here if its an "open book" quiz?..would this classify as cheating? haha
Printable View
i have an open book quiz (we can use the internet too) thats due in a half an hour..and ive done all that i can..
are you guys against helping out on homework on here if its an "open book" quiz?..would this classify as cheating? haha
Heck, you got Google at your disposal, you don't need us if your questions were as simple as your last one. ;)
if you guys wanna help...
whats the default value for a for/next loop
null value? step 0 ? 1 ? or 2?
which of the following dim statements creates an array of 10 integer variables
dim x(9) as integer
dim x(10) as double
dim x(10) as integer
dim y(10) as float
dim x
2 answers? :D
as for the array... there are only two choices... and one is right... just think it through logocally about what you should know about arrays.
As for the first one.... I hope it's not a fill in the bubble kind of quiz as I would have to write a paragraph on how it is a bogus question, as for/next loops don't have a default value, and how it would be the counter used in the for/next loop, and how it has an INITIAL value as determined by the developer/code....
-tg
such a cheater.......
The first question is poorly written, but it looks like it was meant to ask: "What is the default step for a For...Next loop?", though the Null would be a truly strange answer in that case. Since a 'step' would make most sense as the distance you advance with each time through the loop (or the distance you advance with each step), then the answer should be pretty obvious, as well, since two of the options would be no advance at all, while a third answer would be a leap rather than a step.
piebald, not sure about the first one, but for the second one you can always just test it and then use Array.Count (or maybe it's a different value, but there is one) to determine if you dimmed the right amount of items.