Do Now Ticket Out Door Vb 10/27/09

7 Questions | Attempts: 36
Share

SettingsSettingsSettings
Visual Basic Quizzes & Trivia

Do Now:
1. Use a random number generator online to pick the number of the ticket that you are hypothetically being given from the range pictured to the right. Write down your ticket number.
2. Use a random number generator online to pick the 5 door prize winners' numbers picked from the tickets distributed which had a range of numbers from 410005 to 410514.
Write down the ticket numbers.
3. Did you win a door prize?
4. How many tickets were distributed?
5. Write the chance of winning a door prize as a fraction.
6. Write the chance of winning as Read morea percentage.
Ticket out Door:
In Visual Basic, a random __________ number between 0 and 1 is generated with the use of the keyword,_______.


Questions and Answers
  • 1. 

    What is your ticket number?

  • 2. 

    Use a random number generator online to pick the 5 door prize winners' numbers picked from the tickets distributed which had a range of numbers from 410005 to 410514.  What are the 5 winning numbers?

  • 3. 

    Did you win a door prize?

  • 4. 

    How many tickets were distributed?

    • A.

      410514

    • B.

      410005

    • C.

      510

    • D.

      514

    • E.

      5

    Correct Answer
    C. 510
  • 5. 

    Write the chance of winning a door prize as a fraction.

    • A.

      4/510 or 2/255

    • B.

      5/510 or 1/102

    • C.

      5/410514

    • D.

      1/509

    • E.

      5/514

    Correct Answer
    B. 5/510 or 1/102
  • 6. 

    Write the chance of winning as a percentage.

    • A.

      .98%

    • B.

      98%

    • C.

      .0098%

    • D.

      1%

    • E.

      .19%

    Correct Answer
    A. .98%
  • 7. 

    In Visual Basic, a random _____________ number between 0 and 1 is generated with the use of the keyword, _______.

    Correct Answer
    decimal Rnd
    Single Rnd
    Decimal Rnd
    single rnd
    decimal rnd

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 26, 2009
    Quiz Created by
    Jhangen
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.