Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If not answered correctly will vote down. 1.You are in run time when you design the user interface. True False 2. You can use the

If not answered correctly will vote down.

1.You are in run time when you design the user interface. True False 2. You can use the Properties window to change the properties of controls during run time. True False 3. Snap lines are blue lines that assist the programmer in aligning controls. True False 4. Remark statements are not executable code. True False 5. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______. A. Geographical User Interchange B. Graphical User Interface C. Geometrical Upper Intelligence D. Grammatical User Incorporation 6. In Visual Basic, we work with objects that have _______. A. Programmer preference B. Projects, solutions, and procedures C. Classes, actions, and disciplines D. Properties, methods, and events 7. If you encounter a run-time error or you pause the program execution, you are in _______. A. stop time B. debug time C. pause time D. design time 8. The property used to display information in the title bar of a form is _______. A. TitleBar B. Name C. Text D. Title 9. If a line of code is not considered "executable", it must be _______. A. a Close statement B. an Assignment statement C. a Remark statement D. an event procedure 11. If a project runs, but the results are not correct, this is called a(n) _______. A. run-time error B. Logic error C. syntax error D. arithmetic error 12. You are designing a form that will have three groups of radio buttons. You should create three group boxes, and then create the groups of radio buttons inside each of the group boxes. True False 13. During design time, you can make a check box appear selected by setting its Checked property to False. True False 14. During run-time, if a radio button is selected, its Checked property is True. True False 15. If you have several radio buttons, you can make them work together as a group by adding them to a GroupBox. True False 16. You can make labels, text boxes, and picture boxes appear to be three-dimensional by setting the BorderStyle property to Fixed3D. True False 17. You can select multiple controls by clicking on the first control and then holding the Ctrl key and clicking on each of the other controls in the group. True False 18. If you don't want the focus to stop on a control when the user presses the Tab key, set the TabStop property to True. True False 19. The text property of a label or text box control can be cleared by using the Delete method. True False 20. Data whose value may not be changed during the execution of a project is referred to as a constant. True False 21. If you are declaring a variable that will be used in calculations, you may use the string data type. True False 22. SCHOOL_NAME_String is in the correct format for a constant that holds the name of your school. True False 23. A variable named SalesTotalDecimal that is declared in the CalculateButton_Click event procedure can be used in any procedure of the form. True False 24. A variable that will store totals and that will be available to all procedures in the form must be declared as a constant. True False 25. When Option Explicit is turned on, you can use any variable name without first declaring it. True False 26. It is a good idea to set Option Strict On, in the Visual Basic environment in order to detect misspelled variable names when the project is run. True False 27. The Parse method and exception handling can be used to eliminate the problems encountered when the user does not enter a value into a field. True False 28. It's a good idea to always use the ToUpper or ToLower method on the Text property of text boxes, whenever comparing string values. True False 29. In an If statement, when the expression is false, only the Else clause, if present, is executed. True False 30. The code: If NumberAInteger > NumberBInteger OR NumberBInteger > NumberCInteger Then, evaluates True when NumberAInteger = 3, NumberBInteger = 5, and NumberCInteger = 2. True False

31. A CheckBox may be tested to determine if it is checked by using the following code: If TestChecked.Checked Then True False 32. When using Select Case, the group of statements must end with End Case. True False 33. Once a Visual Basic event procedure is executing, there is no way of stopping execution before an error causes it to stop. True False 34. When a project is running and it reaches a breakpoint in the code, the program will halt, display the line with the breakpoint and go into debug time. True False 35. Assume that you are designing a form and it will be necessary for the user to type in his name. You should use a _____________ for inputting the user's name. A. TextBox B. Label C. Button D. CheckBox 36. Assume that you are designing a form where the user will need to select only one item from a group of displayed choices. This can best be accomplished by using _______. A. check boxes B. text boxes C. radio buttons D. name boxes 37. A hair-styling salon needs help designing a form for the various services that they offer. What would you suggest they use that will display all of the services, and that will allow the customers to choose one or more items? A. Check boxes B. Text boxes C. Radio buttons D. Rich text boxes 41. Setting the TabIndex of a control to 0 (zero) will _______. A. cause the control to appear to the right of the other controls B. make the control Visible C. align the control to the left of the other controls D. set the focus on this control when the program begins running 42. Which design time property setting should be used on an object named UserInputTextBox in order to make the insertion point appear in the object when the form first appears? A. Focus property set to True B. TabStop property set to Focus C. TabIndex property set to True D. TabIndex property set to 0 43. Which of the following statements makes the visibility of the label match the setting in the check box? A. CheckBoxName.Enabled = LabelName.Visible B. LabelName.Checked = CheckBoxName.Visible C. LabelName.Visible = CheckBoxName.Checked D. CheckBoxName.Checked=LabelName.Visible 44. The ______ symbol is used for concatenation. A. & (ampersand) B. @ (at) C. ' (apostrophe) D. _ (underscore) 46. When you declare a variable or a named constant, Visual Basic reserves an area of memory and assigns it a name called a(n) _______. A. identifier B. identity C. declaration D. dimension 47. Which of the following is NOT a valid rule for naming identifiers? A. Names may contain underscores. B. Names may contain letters. C. Names may contain digits. D. Names may contain spaces. 48. Which of the following does not follow the conventions for naming identifiers? A. UnitsEnrolledDecimal B. ZipCodeString C. Amount.Due.Decimal D. COUNTRY_OF_BIRTH_String 49. Which of the following is NOT a rule for naming identifiers for constants? A. Include the data type at the end of the identifier. B. Everything in the identifier's name should be capitalized except the data type. C. Identifiers for constants should begin with a prefix of Const. D. Identifiers for constants should use an underscore between words. 50. Which of the following is a valid statement that can be used to declare a local variable that will store whole numbers? A. Dim IndexWhole as Whole B. Dim IndexString as String C. Dim IntegerIndex as Index D. Dim IndexInteger as Integer 51. A _______ variable is declared inside a procedure. A. namespace B. module-level C. local D. block 52. Variables declared within a button's click-event are _____ variables. A. local B. module-level C. namespace D. private 53. Using the order of precedence and the formula below, what is AnswerInteger if?: NumberOneInteger = 2, NumberTwoInteger = 12, NumberThreeInteger = 20, and NumberFourInteger = 6 AnswerInteger = NumberOneInteger * (NumberTwoInteger + NumberThreeInteger) - NumberFourInteger / NumberOneInteger A. 19 B. 41 C. 61 D. None of these 54. You can use the _______method to round decimal values to the desired number of decimal positions. A. ToDecimal B. ToSingle C. ToRound D. Round 55. When comparing strings, which one of the following strings is less than the others, based on the ANSI code? A. ONETWOTHREE B. onetwothree C. OneTwoThree D. 1Two3 56. . Which of the following statements does NOT apply to the Case structure? A. It can be used instead of nested Ifs. B. It can be used for testing numeric and string values. C. It must begin with Select Case and it must end with End Case. D. Case Else is optional. 57. _______ is an optional clause available for the Case Structure when no match is found in any of the Case statements. A. Case Else B. Default C. ElseIf D. Else Case 61. Use the Case structure and convert the following If statement so that it checks the string as an uppercase value. If StateNameString = "California" Then AdjustedPriceDecimal = PriceDecimal+(PriceDecimal * TaxDecimal) Else AdjustedPriceDecimal = PriceDecimal End If

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions