Question #1: What are the three things that a programmer has to code to make a loop work effectively in any programming language?
Question #2: In JavaScript you can use parseInt with input data you want to add. How do you do the same thing in Visual Basic?
Question #3: Visual Basic is event driven. How do you set up the click event in Visual Basic so that you can execute some code when a button is clicked.
Question #4: When you name a Visual Basic label, convention suggests that you start the name with what three letters?
Question #5: True or False: When you put the text box on the form you have put an object on the form.
Question #6: You can change the look of the text box by setting or changing the ______________________.
Question #7: When you want to put a message in a text box named txtMessage, the best way of coding is:
Question #8: What command can be used to convey information the way the alert does in JavaScript?
Question #9: What command can be used to take in user input in Visual Basic?
Question #10: If you want to take in user input during a loop, you should not use boxes on the form because the processing does not halt to allow a change in input. How can you ask the user for input when the request is coming from inside a loop?
Question #11: True or False: If you put a condition at the top of the loop, is it possible not to enter the loop.
Question #12: True of False: If you put a condition at the end of the loop, is it possible not to enter the loop?
Question #13: True or False: The load event is executed as soon as
the form is loaded to execute. It is a place where things you consider
housekeeping or startup can be coded.
Question #14: True or False: When you are using a loop, it is important that you do
something inside the loop to change the control. For example, if you are controlling
on ct you need to change ct inside the loop.
Question #15: Errors in the use of the programming language such as word usage and grammar are called ________________ errors.
Choose: A/ logic B/ data C/ development D/ syntax
Question #16: When you test a program that has successfully compiled with data, you are looking for ______________ errors.
Choose: A/ syntax B/ logic C/ compiler D/ language
Question #17: In programming, you use quotation marks to enclose:
Choose: A/ String or character literals B/ numeric literals C/ variable names D) string or character or numeric literals
Question #18: A database is made up of a group of ______________ that hold the collection of data. For example, there might be one
holding inventory information and one holding customer information.
Choose: A/ tables B/ columns C/ variables D/ none of the above
Question #19: Calculating an answer and storing it to a named memory location is using ____________ ?
Choose: A/ comparison B/ equal C/ assignment D/ compiling
Question #20: True or False: You cannot execute a program to produce output if it has critical syntax errors.
Choose: T/ True F/ False
Question #21:The three structures that define all programming logic are _____________, _____________, _________________.
Choose: A/ selection, process, loop B/ sequence, selection, loop C/ sequence, iteration, loop D/ sequence, repetition, case
Question #22: True or False: In a decision, if theAns is not greater than amtIn, it means that amtIn is less than theAns.
Choose: T/ True F/ False
Question #23: You can use either a letter or an integer as a direct subscript index/pointer to an array.
Choose: T/ True F/ False
Question #24: If you want the condition to end the loop to determine whether or not you execute the loop at least once, you should put the condition at the beginning of the loop.
Choose: T/ True F/ False
Question #25: What are three things that must be done if you are using a memory variable like ct to control a loop? List and explain your answer.