Results 1 to 10 of 10

Thread: open book quiz

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    7

    open book quiz

    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

  2. #2
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: open book quiz

    Heck, you got Google at your disposal, you don't need us if your questions were as simple as your last one.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    7

    Re: open book quiz

    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

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    7

    Re: open book quiz

    Quote Originally Posted by Jenner View Post
    Heck, you got Google at your disposal, you don't need us if your questions were as simple as your last one.
    haha..i HAVE been...i just cant find exact answers anywhere..and i hate this book even more

    i understand though

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    7

    Re: open book quiz

    2 answers?

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: open book quiz

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    7

    Re: open book quiz

    Quote Originally Posted by techgnome View Post
    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
    thanks i appreciate it..for the array one..wouldnt it be the x(9) one..since you start with 0

  8. #8
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Re: open book quiz

    such a cheater.......
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  9. #9
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: open book quiz

    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.
    My usual boring signature: Nothing

  10. #10
    Fanatic Member Vectris's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    941

    Re: open book quiz

    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.
    If your problem is solved, click the Thread Tools button at the top and mark your topic as Resolved!

    If someone helped you out, click the button on their post and leave them a comment to let them know they did a good job

    __________________
    My Vb.Net CodeBank Submissions:
    Microsoft Calculator Clone
    Custom TextBox Restrictions
    Get the Text inbetween HTML Tags (or two words)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width