IntroToProgramming_Chapter4_StudyGuide - Intro to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Intro to Programming Chapter 4 Chapter 4 Review Questions 1. A conditional statement, when equal to True, can permit one or more other statements to execute. 2. A(n) relational operator determines if a specific relationship exists between two values. 3. Relational expressions can only be evaluated as True or False. 4. A(n) Flag is a Boolean variable that signals when some condition exists in a program. 5. A non-Boolean variable or expression is considered False if its value is 0. If its value is anything other than 0, it is considered True. 6. The If-Then-Else statement will execute one group of statements if the condition is true, and another group of statements if the condition is false. 7. The If-Then-ElseIf statement is like a chain of If. ..Then. ..Else statements. They perform their tests, one after the other, until one of them is found to be true. 8. A Nested If statement is an If statement in the conditionally executed code of another If statement. 9. Logical operators connect two or more relational expressions into one or reverse the logic of an expression. 10. The ToUpper method returns the uppercase equivalent of a string. 11. The ToLower returns a lowercase version of a string. 12. The IsNumeric intrinsic function accepts a string as its argument and returns True if the string contains a number, or False if the string's contents cannot be recognized as a number. 13. The Length method returns the number of characters in a string. 14. The TrimStart method returns a copy of a string without leading spaces. 15. The TrimEnd method returns a copy of a string without trailing spaces. 16. The Trim method returns a copy of the string without leading or trailing spaces. 17. The SubString method extracts a specified number of characters from within a specified position in a string. 18. You can display message boxes with the MessageBox.Show method. 19. The value ControlChars.CRLF can be concatenated with a string to produce multiple line displays. 20. In a(n) Select Case statement, one of several possible actions is taken, depending on the value of an expression. 21. Input Validation is the process of inspecting input values and determining whether they are valid. 22. Radio Button usually appear in groups and allow the user to select one of several possible actions. 23. Check Boxes may appear alone or in groups and allow the user to make yes/no, or on/off selections. 24. A Class-Level variable may be accessed by statements in any procedure in the same file as the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/08/2010 for the course BUS 92 at San Jose State.

Page1 / 5

IntroToProgramming_Chapter4_StudyGuide - Intro to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online