login about faq

To prove you're not a spammer, email newuser.lgqa@gmail.com with the subject "Account Request" to request an account.

True / False?

  1. A variable in computer programming, is defined as a named location in memory.
  2. Flowcharting is standardized and has special symbols for start, stop and decisions.
  3. Unlike flowcharting, pseudocode uses standardized symbols to visually depict an algorithm.
  4. In a Visual Basic form using text controls, the font of the control can typically be changed with the Text property.
  5. You should use a special type of casing, Camel Casing or Pascal Casing, when defining variables and function or procedure names.
  6. Both constant and variable memory locations should be given labels that are self-explanatory, in order to make code more readable.
  7. The concatenation operator joins strings together.
  8. The Code Editor in Visual Basic detects most syntax errors as you enter the instructions.
  9. Logic errors occur as a result of statements that are correct syntactically, but incorrect logically.
  10. A Case statement does not allow for multiple logical paths in one statement.
  11. The Selection structure (if, conditional) can be used to make a decision and then select the appropriate path, depending on the outcome of the condition.
  12. Only one path in a selection structure can include instructions that perform arithmetic calculations.
  13. A nested selection structure allows the inclusion of other selection structures, withon the outer ‘if’.
  14. You cannot use a nested selection structure in Visual Basic. This will result in a syntax error.
  15. When making an image move across the screen, right to left, typically you should decrease the value of the ’x-coordinate’ component.
  16. String comparisons in Visual Basic are case sensitive.
  17. The data type of the expressions in a Select Case statement must be compatible with the data type of the selector Expression.
  18. The If...Then...Else statement is the only statement you can use to code a multiple-path selection structure in Visual Basic. Theer is no other structure that allows for the selection of different paths.
  19. All modern programming languages support the inclusion of iteration and conditionals.
  20. When a loop is placed in a selection structure’s False branch, the loop will be processed only when the selection structure’s condition evaluates to False.
  21. A counter-controlled loop does not have to increment or decrement the counter variable within the body of the loop. The compiler or interpreter handles this automatically.
  22. Repetition structures cannot be nested. In other words, you can never have a ‘do while’ within another ‘do while’.
  23. In a Function declationion in Visual Basic, the set of parentheses (with or without the parameter list) is optional.
  24. Functions help to modularize code by including a set of instructions in one place..
  25. Every variable declared in an application has both a value and a unique address that represents the location of the variable in the computer’s internal memory.
  26. A function, in Visual Basic, should pass back a value via the return statement.
  27. The elements in a numeric array are all initialized to the number -1.
  28. The contents of the variables (elements) in an array cannot be displayed. This is the way arrays work, for extra data security.
  29. If the subscript of an array is not in the acceptable range, this is a logic error and will cause a runtime error called an ‘Array out of Bounds Error’.
  30. Arrays (in Visual Basic 2010) can store elements that have different data types.
  31. Scope refers to the area where a memory location is recognized by an application’s code, such as Local Scope and Global Scope.
  32. Global variables are accessible throughout a module, but local variables, declared within a function for instance, are only accessible within the function.
  33. Each element in a two-dimensional array is identified by a unique combination of two subscripts that the computer assigns to the element when the array is created.
  34. Arrays are zero-based - this means that the first element starts at array position 0.
  35. Functions support reuse of code segments.
  36. Arrays can be used in parallel to represent related information. For instance, one array can store country details, and another array can store capital cities, at the same index.
  37. When a form is first opened in Visual Basic, the Form Load procedure is called. Here, initial values can be set for the form.
  38. The ToString method can be used to convert a numeric quantity to a String data type.
  39. The TryParse class method can be used to convert a string to an integer.
  40. The first element in an array has an index of 1

asked Dec 19 '12 at 20:05

LockergnomeFanstudent's gravatar image


closed Dec 19 '12 at 21:54

KevinLockergnome's gravatar image

KevinLockergnome ♦♦

The admins closed the last question, you should respect their decision instead of just copying and pasting the content of it into a new question. You could at least have put some effort into hiding it.

(Dec 19 '12 at 21:28) Zbob750 Zbob750's gravatar image

The question has been closed for the following reason "Closed due to previous decision" by KevinLockergnome Dec 19 '12 at 21:54

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 19 '12 at 20:05

Seen: 1,063 times

Last updated: Dec 19 '12 at 21:54