Top banner

Thursday, April 1, 2010

Vb Important Question per Chapters 4,5,6


Chapter 4 –

1. Explain the purpose of relational and logical operators.

2. Differentiate between a comparison performed on numeric data and a comparison performed on string data. How does VB compare the Text property of a text box?

3. Explain If ...Else construct and nesting.

4. Define the term Validation. When is it appropriate to do validation? Give three different cases.

5. Explain Message Box function and give an example of five message box constants.

6. Explain a Boolean variable. Give an example.

Chapter 05 –

1. What does the term common dialog box mean? Name and explain atleast three types of common dialog boxes. What is the name of extension of the file in which common dialog box control is stored?

2. Explain the difference between a sub procedure and a function procedure.

3. What is a return value? How can it be used?

4. Explain the differences between ByRef and ByVal. When would each be used?

5. Explain the difference between a menu and a submenu.






Chapter 06 –

1. What does the phrase standard code module mean?

2. Discuss the difference between declaring a variable in the General Declarations section of a standard code module and declaring a variable in the General Declarations section of a form code module.

3. What are the purposes of a splash screen and About box?

4. Explain the Hide and Show methods.

5. Explain the Form Load and Form Activate events.

6. What do you mean by modal and modeless forms?

7. Explain the Load and Unload statements.

8. Explain the Me keyword.

9. How do we declare a global variable and global constant?

10. Explain global and static variables.

11. Explain Dim, Public and Private keywords (for this, refer to other chapters also).

No comments:

Post a Comment