basicpracticefinal_answers.pdf - Visual Basic Practice Final Exam Name Period True/False 1 Dim scores As Integer(10 declares an array of integers FALSE

basicpracticefinal_answers.pdf - Visual Basic Practice...

This preview shows page 1 - 2 out of 3 pages.

Visual Basic Practice Final Exam Name - __________________________________ Period - ___________ True/False 1. Dim scores As Integer(10) declares an array of integers. FALSE 2. At least one parameter must be passed to a function. FALSE 3. The Enabled property can be used with menu command objects (i.e. menu items.) TRUE 4. The Close method is used to make a message box disappear. FALSE 5. An array is a type of method. FALSE 6. The scope of a variable declared outside of all the methods on a form is wider than that of a local variable. TRUE 7. A form has a method named KeyClick that executes when the user presses a key on the keyboard. FALSE 8. The statement num += 3 causes three to be added to the original value of the variable num . TRUE For the following set of questions indicate True or False depending on whether syntax errors are present. Do not consider logic errors. Remember that a syntax error is an error that prevents VB from executing a statement or line of code. You can assume that variables with the int prefix are Integer variables that were properly declared and that object names with prefixes are valid objects. 9. There are no syntax errors in the statement: Dim (5)intMyList As Integer FALSE 10. There are no syntax errors in the statement: Const MAX As Integer = 500 TRUE 11.
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Winter '13
  • Rana

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes