This action might not be possible to undo. Are you sure you want to continue?
What is an object model and how do they benefit s/w development? What is universal data access? What are the two properties of the text box that are used to bind it to a record set object? 5. Identify the 3 types of property procedures & state when would you use them. 6. Identify the built in events for class modules & explain custom events. 7. Explain the process for using a class module in an application. 8. Explain early and late binding & the effect of each on the performance of an application. 9. Explain how to create controls at run time. 10. Discuss control collection in V.B. including its properties, uses & how to create it. 11. Explain how to create a menu & menu item at run time?. 12. Explain the concept of validation. 13. What does the immediate window allow you to do while debugging? 14. How can setting the break when value is true option for a watch help you to debug your code? 15. What are the 2 properties of the error object that can be useful in determining the cause at an error within an error handler? 16. What are stored procedures & how they benefit your application? 17. What is a cursor ? What 2 locations can cursor exists? 18. Explain concept collection instead of array. 19. What is the difference between function call by value & call by reference? 20. What is the difference between class module & standard module? 21. Explain the following : i. Clipboard ii. Com iii. Control array iv. Dialog box v. Event driven vi. Event procedure vii. Event trapping viii. Procedure call with argument ix. MDI & SDI x. Validation rule 2. 3. 4. 5. 6. 7. 8. Explain any 5 data types. Explain the concept of message box. Explain the difference between check box & option button. When do we use combo box & list box? Explain any 3 format date & time function. Explain the difference between lost focus, got focus & set focus. Explain the declaration statement.
Explain the collection property with syntax. How to use input box to randomly retrieve the records? 22. 13. Write code for cut. 31. b. copy & paste of selected text. What the use of nomatch property? 24. 33. Explain the difference between static & constant. Explain the concept of record set. 34. Explain any 5 string functions with syntax. 19. 20. What are dynasets & snapshots? 28. remove item & sort the list. Explain any 3 print methods. Explain all form events in sequence. Explain any 2 types of errors. Explain the spc & tab function. #Input & #Output. Explain activate & deactivate event of form. 30. 17. What is the difference between load & show form? 42. 41. 26. Explain the concept of initialize & terminate event at class. Explain hoe to search data from list using do loop. Explain BOF. How to change enable & disable & caption property of a button at run time? 29. Write a program to display the no of years difference after entering the date of birth. Explain the 3 steps of debugging. 15. 37. How to decide when to use a random file mode & append mode? 12. find record. Explain the concept of Active-X Control. 38. How to create dynamic array of user defined data type? Explain with following example: Create Emp data type Eno Ename Esal. 32. Explain the concept of trapping database errors. Explain the use of timer control. Explain the concept of date bound. . Explain the difference between find & seek. 36. write a program to add item. 14. 39. What is database field & vbfield? 27. 16. 21. LOF & EOF. 40. 23. Explain the concept of variable scope. Write program to add new record. Explain any 5 mathematical functions with syntax. display previous record & last record. 25. 35. #Get & #Write. 10. 18. Explain the prefix concept with suitable example. Explain the difference between : a.9. Also search the data items from that. 11.
Which are the important built-in events that class support? .64 60. Explain the graphic method. What is run time property and design time property? 52. What is general procedure & function procedure? 45. How can you enable the user to access a menu item from the keyboard? 64.16. Write a program using 2 dimensional array student rollno. What are 3 control types in V. Write a program to calculate discount using option button & display grass total & net total. Explain any 3 mouse events. Add the following records in it. What is the difference between Close#1 & Close? 51. State the order in which form events generally trigerred. 44. 61.48. 56. Display: Rollno Sub1 Sub2 Total 47. 63. Write a program to accept only string or character values from keyboard.32.? 53. Write a code to check whether all text boxes are filled or not. Sno. Select the drawing object & draw the selected object in picture box.43. Create PMT function & call that in command button. Explain any 3 key press events. What is . What is data combo control how is it different from the combo box control? 62. 49. 54. 59. Write a program to change a value of text box by Hscrollbar. Write a program to display what key is pressed from keyboard. Write a program to open a file. 48.ocx and when it is created? 65. Write code to disable all the text box and command button controls on the form. 25% 20% 10% Gross Amt Net Amt Discount Amt 46. 55. Display all values in different text boxes. Write following values constants in message box. 57. & 2 subject marks. 0. Write a program using list box.B. Only numeric value in 2 different text boxes. Sadd 50. 58. Sname.
What are objects and properties? How are they related? (4) What are the steps involved in planning and creating a VB project? (6) What is the purpose of the name property of any control? (4) Describe about the general declaration section of a form module? (4) What are the different types of errors and how are they caused? (8) What do you mean by context-sensitive Help menu? How can you use it? (6) What are the different modes that are available in VB? (6) Topic: More VB Controls 1.enabled = False End If End Sub 67. List the different steps in creating an error handler? 69. What is debug.vbd file? 72. 9. Explain the data control count property? SET II Topic: Introduction to Visual Basic 1.66. How to insert tooltip to a control toolbar button at design time? 68. Explain Refresh method? 75. 7. (8) What do you mean by access keys? Why are they used? (6) What is atooltip? How can you make it to appear? (4) How can you change the labels’ caption during the design time and during the runtime? (4) Explain With block with an example. 5. 6. What is the difference between an option button and a check box control? (6) How can you make groups of option buttons? Explain. 2. 8. List the different types of error? 71. 3.print and its use? 70. 4. Explain the following code: Cmd_test_click() If anydate = empty then exit sub If anydate < now then anydate = now timer1. 4. 7. What is use of F8 and Shift+F8? 74. Explain any four debugging tools? 73. What is . 3. (8) What is the purpose of image control and how can it be created? (6) What is concatenation and when can it be used? (4) What is the continuation operator? When is it used? (4) . 6. 5. 2.
When would you use a message box? (4) Topic Menus. What are the naming rules and conventions that we follow to declare a variable? (6) Topic: Decisions and conditions. Procedures. What do you mean by declaration of a variable? Explain with proper Syntax? (6) 3.Topic: Variables. submenus. What is the purpose of a Val function? (4) 5. 3. Give the difference between a variable and a constant. 4. 1. How does VB compare the text property of a text box? (6) 4. (6) 7. Explain the various parts in the menu editor? (8) What is a separator bar how is it created in a menu? (4) What do you mean by common dialog box? Explain its methods (8) What do you mean by event procedure? (6) What is the difference between a procedure and function? (6) What is a return value? How can it be used? (4) Explain the difference between VyRef and ByVal? Explain with ex? (6) Topic: Multiple forms 1. Name and give the purpose of five data types that are available in VB? (8) 2. Explain in detail about the various functions used for formatting the data? (8) 6. What are the arithmetic operators used in VB? What do you mean by Order of precedence. 6. 7. 4. Constants and calculations. What are different types of operators do we have in VB? Explain each with an example? (6) 3. What is a list box? (4) . (4) What is the difference between form load and form activate events? (6) What is the difference between hide and unload form methods? (4) How will you refer the objects on a different form? (4) Topic: Lists. What is the general format of the statement used to code decisions in an application? (6) 2. What do you mean by multiple forms? (4) What do you mean by Hide and Show form methods? Give the syntax. 5. What do you mean by Nested Ifs?(6) 6. 3. Functions 1. (8) 8. 5. 2. Loops and Printing 1. Explain a Boolean variable test for true and false. Explain in detail about the scope of a variable. Give an example (4) 5. (4) 4. 1. 2.
What is the purpose of printer. 1. 1. What steps are needed to assign property value to an object? (6) 10. (6) What function can be used to determine an available file number? (4) When would an On Error statement be used? (6) . 6. (8) 6. 4. 2. (4) What is the format for the statements to read and write sequential file. What are the various features of object oriented terminology? (8) 4. 5. How do the left. What is the difference between properties and methods? (4) 3. 5. What actions trigger the initialize and terminate events of an object? 8. What are the steps in processing a for next loop? Explain with examples (6) 7. 3. 4. 3. Define encapsulation. Differentiate early binding and late binding. 2.2. What do you mean by Reusable objects? (4) 7. How will you create a new object using a class? (6) 11. Why do you need to terminate a project (4) Topic: Data Files 1. 3. Print? (4) 8. Define data hiding. 5. (6) What is the significance of a file number (4) Explain the difference between outputs and append mode. What do you mean by an array. 4. right and Len functions Operate? (6) Topic Arrays. (8) 12. How can you write methods for a new class? (6) 13. (4) 6.(4) What is control array? Where is it used? (6) What is a multi-dimensional array? (4) How are list boxes used along with arrays? (6) Topic: OOP-Creating object oriented Programs. (4) 5. What do you mean by an object? How will you instantiate an object? (6) 2. Explain with syntax? (6) What is a subscript? What role does it play in a VB application. 7. What is a class? (6) 9. What is a combo box? What are its types? (6) What is the difference between a list box and a combo box? (6) Write short notes on listindex and listcount property? (4) What are Loops? Explain with syntax and example about the various Do Loops. What is the difference between a VB Project file and data file? (4) Explain what happens when an open statement is executed? (6) List and explain the file modes for data files. 8.
(4) Topic: Accessing database files. (6) 2. Write short notes on Seek method. Explain how the BOF and EOF properties are set and how they might be used in a project. Explain the Resume statement. (4) 5. What does updating a datafile mean? (6) 11. Which properties must be set to bind a combo box to a field in a database and display a dropdown list of the choice for that field. Explain Get statement and Put statement. 1. (6) 16. (6) 12.9. Which controls can be data bound why? (4) 3. Explain about the seek function. (8) What are the methods that are available to search for a particular record in a record set? (8) 8. (6) 10. Explain LOF function. (6) What is a record set? What are its types? Explain. (6) 4. Explain the difference between a data control and data bound control. How will you suppress system error messages? (4) 10. Explain the function and use of Err object. 5. 7. (6) 9. (4) . What steps are needed to delete a record from a database? (4) 8. 4. What is the difference between a random and a sequential file? (6) 14. How can you check for the user deleting the only record in a record set? (4) Topic: Advanced data handling 1. (6) 12. (4) 15. What steps are needed to add a record to a database? (4) 7. What is SQL? How is it used in VB? (6) 11. Explain the form-query Unload procedure with an example. What is grid control? How will you create it? (8) What is the purpose of record count and absolute position properties? (4) How will you open a database in the form load event? (4) \What do you mean by error trapping? How is it possible? (6) Explain validate event with an example. How will you update a database file? (6) 6. 2. (4) 13. How will you create a new dynaset using SQL statements? Give some examples. 6. For which type of record set is a seek method valid? Which fields in record set can be searched with seek. 3. What steps are needed to change a record to in a database record? (4) 9.
Question Papers of Some Colleges S. (03) (04) (03) (04) (03) (03) (07) (06) Are user defined procedures supported by Visual Basic? If yes. discuss how they can be defined and called with an example. Any user coming to . V Semester Subject : Visual Basic 100 Class : TYBSc(IT) Hours N. & Economics Sion (E).B :1) 2) questions. Solve any four from the remaining six Figures to the right indicate full marks. College of Commerce. Write the necessary code to produce a color dialog box to change the background color of a command button. Write the code for the following application An application for a store which deals with only three commodities. Assume suitable data wherever necessary. Give Examples.I. Max Marks : Date : Time : 3 Q1 is compulsory. 2) 3) Q 1 A B C D E F Q 2 A B Differentiate between Variables & constants.S. What is the difference between a VB Project file and data file? Explain the utility of the following functions with examples i) Mid ii) IsNumeric What is the significance of a file number Explain the use of the Print method of print class.E. Mumbai Preliminary Examination.
It should also have the feature of adding items in the list box at run time such that they are inserted in the file. the application should be able to print a bill in the following format: ABC Supermarket Date : MM/DD/YYYY ITEM Rate Qty ABC 10.00 Total : 20 C Q 3 A B C Explain some methods to debug a VB application. Division & Multiplication) on numbers in the range 1-5. (06) (06) (2+ 6) Q 4 A B C D (06) Discuss the general structure of a FOR Loop (04) with an example. Explain the concept of Control Arrays. Use suitable ActiveX controls and events. Write a program to display the age of a person if his date of birth is entered. Are menus ina VB application accessible (04) through the keyboard ? If yes. explain how? Code a VB application which facilitates storing (06) the items in a list box in a file. Give an example for each. Explain the events that are fired when a user presses any key from the keyboard. Write a VB application for performing mathematical operations (Addition.the store buys at least buys one item. . Subtraction. Explain the difference between : #Input & #Output. After purchasing. #Get & #Write.00 2 Price 20. Every item is available in three packages(by weight).
List different types of operators available in Visual Basic. (04) Describe the se of Class_initialise and (06) Class_Terminate events. Give examples. Dynasets and Snapshots. . How can u delete a record from a random file. a) The user should enter the Principal amount. quarterly. events. (06) (06) (07) Q 6 A B C Q 7 A B C D Discuss the concept of Late and Early Binding. c) The deposit should be for a minimum of 6 months duration. yearly or to be paid after maturity of the deposit. Discuss the use of the following functions with (06) examples i) Seek ii) FormatNumber iii) LTrim Write a VB application to calculate the (07) interest earned on a fixed deposit as per the following specifications. rate of Interest and period of the deposit( in months) .Q 5 A B C Explain the concept of Random files in Visual (07) Basic. What are types ? How are they declared and accessed ? Give examples. Explain each of them. properties and methods. Explain with examples different error handling (06) methods in Visual Basic. b) The user should be able to select the option of payment of interest as Monthly. Explain the concept of Recordsets. Apply proper validations. Code a VB application to retrive. add and delete records from an Access database. Use suitable Controls.
2)  B)  Q. Differentiate between : I) Standard code and Form code module II) Static and Global Variables III) Random and Sequential Files   Q. quantity price and discount for different products and calculate the net amount. Explain the working of Val function. Create an application that will the information of an employee and store in an array.5) A) . Explain the following options of the menu editor : I) Index II) Enabled and Visible III) Menu Listbox Explain the Default and Cancel properties in detail.SIWS College Time : 3 Hrs. Q.4) A) B) C)   Q.3) A) B) C)    Q. Create an application that will Clear the Textboxes and set the selected property of Listbox and Option buttons to 0 through a procedure in standard code module.1) Write Short Notes on : (Any 4) I) Naming rules and conventions for Variables II) Common Dialog box III) Event Driven Language IV) Arithmetic and Logical Operators V) Validate and Reposition Events VI) Control Arrays A) Explain the following controls with any 2 properties and Events : I) Textbox II) Image Create an application that will accept name. (use appropriate validations) Explain the different types of procedures. Attempt any 5 out of remaining. Form Design Diagram is necessary for Programs. Use a list box to store the names and display the details when user clicks on the name. Max Marks : 100 Note : Question 1 is Compulsory.
T. name and marks of 3 subjects and write a method to calculate the percentage. Q. Create an application that will search for a record in a table type of record set and delete the record. .6) A) Explain I) II) III) IV) the following properties and Methods of a Combobox : Style ItemData ListIndex and NewIndex AddItem  B) Create an application that will create a Data file and Store the names and phone numbers.O. Give a prompt for confirmation of deletion.B) C) Explain the user defined Data types in V. Create an application that will Accept data of book and store in a database file.7) A) B) C)    Q. What are Data bound controls? Explain with example. Create an application that will create a class Student to store Roll no.8) A) B) C)    The next set of questions will be sent in a day or two with question papers of some more colleges.) Explain the different types of Recordsets. Copy the contents in another file when user clicks on BACKUP button.  Q. (Use Error trapping code and set the properties of data control during run time.   P. Explain the use of following functions : I) Open II) LOF III) FreeFile Explain the use of Message Box. Provide navigation buttons for display of records.B.