Ultimate Computer Quiz

24 Questions | Attempts: 66
Share
SettingsSettings
Please wait...
  • 1/24 Questions

    The place where you want the cursor at the beginning of the program needs to have a TabIndex set to what number?

    • -1
    • 0
    • 1
    • 2
Please wait...
About This Quiz

Online mcq quiz on fundamentals of computer - set 2 no. Of questions:- 10 time:- 10 minutes. . .

Computer Quizzes & Trivia

Quiz Preview

  • 2. 

    What is the name of the object where the cursor should be at the beginning of the ConvertSeconds.frm program?

    • Text1

    • TxtSeconds

    • Label1

    • LblTime

    Correct Answer
    A. TxtSeconds
  • 3. 

    What kind of numbers are appropriate for data for seconds?

    • Positive

    • Negative

    • Odd

    • Even

    Correct Answer
    A. Positive
  • 4. 

    What data type is the variable Hours?

    • String

    • Single

    • Integer

    • Double

    Correct Answer
    A. Integer
  • 5. 

    Use a calculator.  There are ones available on the computer.  What is 7000 divided by 60?

    • 6940

    • 1.167

    • 116

    • 116.666667

    Correct Answer
    A. 116.666667
  • 6. 

    Do long division on paper to calculate the remainder of 7000 divided by 60.  What is the remainder?

    • 116

    • 116.66667

    • 40

    • 60

    Correct Answer
    A. 40
  • 7. 

    In this program, the conversion calculations are done only if the data the user puts in for the seconds, is ___________________________________________.

    • Numeric and positive

    • Numeric or positive

    • Numeric or negative

    • Numeric or zero

    Correct Answer
    A. Numeric and positive
  • 8. 

    When the user clicks OK on the message box, where does the cursor go?

    • CmdClear

    • TxtSeconds

    • LblTime

    • CmdConvert

    Correct Answer
    A. TxtSeconds
  • 9. 

    When the user clicks OK on the message box, what happens to the -33 that was in the textbox?

    • It stays in the textbox.

    • It moves to lblTime.

    • It disappears.

    • It changes to 33.

    Correct Answer
    A. It disappears.
  • 10. 

    What does the computer put in the variable Minutes when the line of code Minutes=Seconds\60  is executed?

    • 116

    • 116.66667

    • 1.167

    • 117

    Correct Answer
    A. 116
  • 11. 

    \ will divide and ________________ the digits to the right of the decimal point, which is called truncating.

    • Chop off

    • Insert

    • Change

    • Round

    Correct Answer
    A. Chop off
  • 12. 

    The answer to Seconds Mod 60 is the remainder of Seconds divided by what?

    • Seconds

    • Mod

    • Minutes

    • 60

    Correct Answer
    A. 60
  • 13. 

    Look at the code in your notebook for ConvertSeconds.  What data type is the variable Seconds?

    • String

    • Single

    • Integer

    • Long

    Correct Answer
    A. Long
  • 14. 

    The & symbol connects string data to make one big ___________________.  This is called concatenation.

    • Integer

    • String

    • Picture box

    • Message box

    Correct Answer
    A. String
  • 15. 

    Str(Hours) is needed to convert the integer number, hours into the ________________ data type.

    • Double

    • Single

    • Integer

    • String

    Correct Answer
    A. String
  • 16. 

    Will the program catch invalid data that is made up of letters and symbols?  Try it to know for sure.

    • Yes

    • No

    • Maybe

    • Never

    Correct Answer
    A. Yes
  • 17. 

    Which line of code made that happen?  (referring to number 20)

    • CmdClear.SetFocus

    • TxtSeconds = ""

    • TxtSeconds.SetFocus

    • LblTime = ""

    Correct Answer
    A. TxtSeconds.SetFocus
  • 18. 

    Which line of code reserves memory for the variable Hours?

    • Hours = Val(txtHours)

    • Dim Hours As Integer

    • Hours = Minutes \ 60

    • If Seconds > 0 Then

    Correct Answer
    A. Dim Hours As Integer
  • 19. 

    \ will not round the number.  It will _____________________ it.

    • Divide

    • Multiply

    • Truncate

    • Switch

    Correct Answer
    A. Truncate
  • 20. 

    What result do you get when you run the program and use 12121212 as the number of seconds?

    • 3367 hours 0 minutes 12 seconds

    • 3367 hours 12 minutes 0 seconds

    • 3367 hours

    • 3367 hours 0 minutes 0 seconds

    Correct Answer
    A. 3367 hours 0 minutes 12 seconds
  • 21. 

    If the user puts -33 in the textbox for the number of seconds, what appears on the screen?

    • Use a positive number of seconds.

    • Use numeric data. Try again.

    • Debug window

    • -1 hour -1 minutes -33 seconds

    Correct Answer
    A. Use a positive number of seconds.
  • 22. 

    What line of code made that happen?  (referring to number 22)

    • CmdClear.SetFocus

    • TxtSeconds = ""

    • TxtSeconds.SetFocus

    • LblTime = ""

    Correct Answer
    A. TxtSeconds = ""
  • 23. 

    Which of these statements is true?

    • The If Seconds > 0 Then is nested inside of the If IsNumeric structure.

    • The If IsNumeric structure is nested inside the If Seconds > 0 Then.

    • There is no nesting of structures in this program.

    • The If Seconds > 0 Then is nested inside the Else of If IsNumeric.

    Correct Answer
    A. The If Seconds > 0 Then is nested inside of the If IsNumeric structure.
  • 24. 

    The answer to 7000 Mod 60 is the ______________________ of 7000 divided by 60.

    • Memory location

    • Remainder

    • Quotient

    • Product

    Correct Answer
    A. Remainder

Quiz Review Timeline (Updated): Mar 21, 2022 +

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

  • Current Version
  • Mar 21, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 17, 2010
    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.