0% found this document useful (0 votes)
117 views11 pages

Software Development With Visual QP Bank

The document provides a list of 20 multiple choice questions for each of 4 units covering a course on Software Development with Visual Basic. The questions cover topics like IDE components, variables, controls, forms, menus, databases and ADO.Net. Some key areas assessed include the purpose of IDEs, properties of controls and forms, variable scope and data types, basics of MDI and SDI forms, SQL queries and recordsets.

Uploaded by

veluswami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views11 pages

Software Development With Visual QP Bank

The document provides a list of 20 multiple choice questions for each of 4 units covering a course on Software Development with Visual Basic. The questions cover topics like IDE components, variables, controls, forms, menus, databases and ADO.Net. Some key areas assessed include the purpose of IDEs, properties of controls and forms, variable scope and data types, basics of MDI and SDI forms, SQL queries and recordsets.

Uploaded by

veluswami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

SEMESTER: V

SUBJECT CODE: 19UCC5C12


TITLE OF THE COURSE: SOFTWARE DEVELOPMENT WITH VISUAL BASIC

SECTION-A

UNIT – I

1. IDE stands for


a) Integrated Development Environment b) Integrated Design Environment
c) Interior Development Environment d) Integrated Distributive Environment
2. It is not a control but is used to manipulate control.
a) Image b) The pointer c) Command d) Zoom
3. Method is used to display a form object.
a) Form b) Object c) Show d) Display
4. When the user clicks a button, is triggered.
a) a method b) a setting c) an event d) a property
5. The statement used to stop the program.
a) Pause b) Stop c) End d) Delete
6. Property is used to hide the object at run time.
a) Enable b) Visible c) Hide d) Close
7. VB is an programming.
a) Structure b) OOP c) Event Driven d) Project
8. It is used to link or embed object, display and manipulate data from other window based
applications.
a) OLE control b) Frame control c) Timer control d) Image control
9. In visual basic, a variable name cannot be more than characters.
a) 255 b) 300 c) 355 d) 400
10. Properties can be viewed in two ways
a) Alphabetic and Categorized b) Alphabetic and Numeric c) Numeric and
Alphanumeric d) Alphanumeric
11. Displayed as a horizontal line between items on a menu bar.
a) Horizontal bar b) Separator bar c) Vertical bar d) Split bar
12. It is used for finding out about objects, properties and methods.
a) Object browser b) Property window
c) Form layout window d)Code editor window
13. The location of the form on the desktop during execution is determined by the
a) Form Designer window b) Project Explorer window
c) Context Menu d)Form Layout window
14. The various properties in property window are arranged in order.
a) Alphabetical b) Sequential c) Binary d) Descending
15. To open the property window for usage shortcut key is used.
a) F3 b) F2 c) F5 d) F4
16. Which of the following is not part of the IDE
a) Code editor window b) General window
c) Form layout window d) Properties window
17. Code window consists of a box and procedure list box.
a) Object b) Event c) Tool d) Message
18. Among the various properties of the tools in VB, in general property in not supposed to
change the value at maximum time.
a) Caption b) Name c) Height d) Color
19. Defines a line in the code window where VB suspends execution of application.
a) Error point b) Break point c) Compile point d) Run point
20. Debug window is the same as window.
a) Procedure b) Object c) Form d) Code

UNIT – II

1. It is a data type that can be used to declare a text of maximum 10 million characters.
a) String b) Numeric c) Single precision d) Date
2. Control is used for checking the multiple option in given list
a) Radio button b) check box c) list box d) text box
3. A module-level is available to all the in the module.
a) Data b) Procedures c) Event d) Task
4. Dynamic arrays can be declared when the user may not know the of the array at design time.
a) Exact column b) Exact variable c) Exact value d) Exact size
5. Variables of different data types when combined as a single variable to hold several related
information is called as data types.
a) Numeric b) User defined c) String d) Byte
6. Function translates a numeric value to a variable is
a) Message b) Build In C) Val d) Mod
7. A variable is one that is declared inside a procedure.
a) Local b) Scope c) Static d) Non Static
8. Variables are not reinitialized each time Visual basic invokes a procedure and thus retains or
preserves value even when a procedure ends.
a) Static b) Dynamic c) Virtual d) Currency
9. Variables are used for storing values
a) Temporarily b) Permanently c) Constantly d) Variably
10. Dim is a
a) Data type b) Keyword c) Operator d) A control structure
11. Operator type is used for checking comparing values.
a) Bits wise b) Logic c) Relational d) Arithmetic
12. It is a data type that can be used to declare a text of maximum 10 million characters.
a) String b) Numeric c) Single precision d) Date
13. The function with symbols representing the date and time is used to print the formatted dates
and times.
a) String b) Format c) Val d) date.
14. ASCII stands for
a) American Standard Code for Information Interchange b) American Source Code for
Information Interchange c) American Source Code for Information Interface
d) American Standard Code for Interval Interface.
15. Event is fired when there is a change in the contents of the text box.
a) Click b) Mouse move c) Change d) Tool Box
16. Property is used to change the label value of command button is
a) Value b) Caption c) Text d) Name
17. Option button can be grouped in a control.
a) Label b) Text box c) Frame d) Check box.
18. The box displays the name of the selected object associated with the form.
a) Object b) List c) Combo d) Checkbox.
19. Scroll bar is of types in Visual basic for usage.
a) Two b) Four c) Five d) Six.
20. 20. Boxes are used to display information to the user and to prompt the user for the data
needed to continue an application.
a) Msgbox b) Inputbox c) Listbox d) Dialog

UNIT – III

1. Control arrays are added at run time using statement.


a) Unload object b) Load object c) Form load d) Form unload
2. SDI stands for
a) Simple Document Interface b) Single Document Interface c) Sample Document
Interface d) Simple Document Internal.
3. There can be only MDI form in an application.
a) Four b) Two c) One d) Zero
4. In visual basic controls are also called as
a) Objects b) Rules c) Part of the menus d) Code
5. A menu can include a maximum of levels of sub menus.
a) 2 b) 4 c) 6 d) 8
6. Each menu control array element is identified by a unique index value, indicated in the
property box on the menu editor.
a) Number b) Index c) Array d) Value
7. The location of the form on the desktop during execution is determined by the
a) Form Designer window b) Project Explorer window c) Context Menu
d) Form Layout window
8. How many parent form will be in MDI
a) 1 b) 2 c) 0 d) many
9. The maximum value of each argument is and minimum is
a) 300 and 20 b) 255 and 0 c) 275 and 10 d) 299 and 5
10. Statement removes a control from an array.
a) Unload Object b) Load Object c) Form Load d) Form Unload
11. Property of an image control sizes the picture loaded to it.
a) Undeclared variable b) Text c) Image d) Declared variable
12. A shape control is a visual element that contains several shapes.
a) Defined b) Predefined c) Lateral d) Formlevel
13.Returns a variant string containing a copy of a specified string without leading spaces and
trailing spaces.
a) Ltrim( ) b) Rtrim( ) c) Midtrim( ) d) Trim ( )
14. The process of clicking the mouse button in a control and moving the mouse while holding
down the mouse button.
a) Dropping b) Cutting c) Moving d) Dragging
15. Property of an Image control is used to automatically resize a picture and place it inside the
control.
a) Stretch b) Image c) Resize d) Control
16. A cell is an intersection of and
a) Row, rows b) Row, column c) Column, column d) Row, line
17. Paints graphics methods at arbitrary locations.
a) Picture b) PaintPicture c) ImagePicture d) Image
18. SQL allows us to build a query in a graphical user interface without having to learn.
a) Query designer b) Form designer c) Report designer d) Table designer
19. MDI stands for
a) Multiple document interface b) Multiple design interface c) Manipulated document
interface d) Menu document interface.
20. The is the function is used to display the picture using picture box.
a) Picture( ) b) Load picture( ) c) pic( ) d) display picture( )
UNIT – IV

1. In Vb.net, data is handled through which facilitates development of web applications.


a) DAO b) RDO C) ADO d) ADO.NET
2. Where is a single element of data stored?
a) Field b)Table c) Record d) Report
3. Which type of record set is the set of record represent a table, or attached tables.
a) Dynaset-type record set b) Snapshot -type record set c) Table -type record set
d)Dynamic -type record set
4. A collection of object classes that model the structure of a relational database
system.
a) ADO b) DAO c) RDO d) DOA
5. The method is used to display a last record from the database.
a) Move end b) Move last c) Move d) Move Forward
6. Expansion of DAO is
a) Data Alternate Object b) Direct Access Object c) Data Access Object
d) Direct Alternate Object
7. Queries are SQL statements that perform specific actions on the database.
a) Action b) Fixed c) Unfixed d) Select
8.  Based on XML schema, so they can be strongly typed.
a) DAO b) RDO c) ADO d) ADO.NET
9. Creates a connection between the application and the ODBC database and assigns it to a
database type object.
a) Fixed Database b) Select Database c) Create Database d) Open Database
10. Stored procedures commonly known as & it perform an action on the database without
returning a record set.
a) Action query b) Select query c) Rollback query d) Commit query
11. Access file is like a database.
a) Random b) Sequential c) Dynamic d) Static
12. Collection of fields or columns that contain values.
a) Table b) Row c) Database d) Record
13. Updatable use of data that have records from multiple tables.
a) Snapshot b) Dynaset c) Tables d) Record set
14. The object is aS stored query definition, which is a precompiled SQL statement.
a) QueryDef b) QueryFix c) QueryDif d) QueryFed
15. A process involving a minimum of two independent entries one being the client and the
other is the server.
a) Client/Server Architecture b) Client Architecture c) Server Architecture
d) Network
16. Displays a text that the user cannot modify or interact with.
a) List b) Combo c) Label d) Text
17. Object represents a connection to a remote database used as a data source for the associated
commands.
a) Connection b) RDO c) ADO d) Fixed
18. Method is used to add a new row of the recordset object is
a) Sub b) Add c) New d) Update
19. DSN stands for
a) Domain service name b) Domain standard name c) Date source name d)Data source
name
20. VB displays any required or optional parameters for methods.
a) Optional info b) Auto incre info c) Auto decre info d) Auto quick info

UNIT – V

1. The Data Report designer is broken into different sections.


a) Two b) Six c) Eight d) Ten
2. The Data control implements data access by using the
a) Microsoft Jet Database Engine b) Microsoft RDO c) Microsoft ADO
d) Microsoft DAO
3. The method of the connection object is used to run the queries against the database is
a) Open Resultset b) Close Resultset c) Fix Resultset d) Unfix Resultset
4. A tool used in form window for grouping the option button.
a) Label b) Group c) Frame d) Shape
5. A control in visual basic is used to create applications that present information in rows and
columns.
a) MSFlexGrid b) MSGridFlex c) MSGridLine d) MSLineGrid
6. The query of designer interface displays the input sources for querying a
a)Select b) Diagram c) Image d) Result
7. Used to link or embed object, display and manipulate data from other windows based
applications.
a) OLE b) DLE c) MLE d) CLE.
8. The and properties specify the current cell in a MSFlexGrid.
a) Row, col b) Col, cols c) Row, rows d) Row, cell
9.The property of the file list box is updated according to the selected file type is
a) Fill b) Pattern c) List d) Select
10. Data report utility includes controls.
a) Three b) Two c)Six d) Five
11. A report can be created by adding a command object.
a) Hierarchical b) Data c) Order d) Environment
12. Allows the user to specify one or more columns is
a) General b) Relation c) Aggregate d)Grouping
13. Used to cascade forms is method with argument .
a) Arrange, VbCascade b) Arrange, VbFill c) Arrange, VbUnfill d) Arrange, Cascade
14. Event occurs whenever the size of the form is changed.
a) Size b) Change c) Resize d) Fixed
15. Property is used to hide the tool in run time by setting value as false.
a) Visible b) Enabled c) Hide d) Delete.
16. The query designer interface displays the input sources for querying
a) Select b) Diagram c) Image d) Result
17. Control displays data that is calculated at runtime, using built-in functions, as the report is
generated
a) Caption b) Text c) Connection d) Function
18. The connection object has tabs.
a) One b) two c) three d) four
19. Used to connect the timeout parameter and locking level is
a) Advanced b) Provider c) Connection d) Option
20. Contains the query options are specified is
a) Grid b) Diagram c)SQL d) Results

SECTION – B
UNIT – I
1. Describe visual programming.
2. Define form layout window.
3. Enumerate to use the code window.
4. State the properties.
5. Describe an event procedure.
6. Enumerate the property procedures.
SECTION – C
1. State the various interfacing elements of visual basic.
2. Explain the function of a timer control.
3.State the various control structures supported by visual basic.
4. Explain in detail about IDE.
5. Describe GUI tools easier to work with when compared to non GUI tools.
6. Explain the Working with forms.

UNIT-II
SECTION-B
1. Explain about variables.
2. Enumerate the data types.
3. Describe about separator bar.
4. Extract the type of dialog boxes. Summarize the one that is generally preferred.
5. Express a note on scope of variables.
6. Explain control structures.
SECTION –C
1.Explain in detail about functions.
2.Describe the different types of operators and explain in detail.
3. Demonstrate Msg box statement and Msgbox ( ) function.
4.Explain X and Y arguments in the mouse event procedure?
5. Describe about dialog box in visual basic.
6. Indicate the value of the source argument of the form_ DragDrop( ) procedure?

UNIT-III
SECTION-B
1. State the salient features of control arrays.
2. Explain the different categories of controls in visual basic.
3. Define MDI. How to create an MDI application?
4. Explain short note on Menus in visual basic.
5. Explain to add shortcut keys in VB.
6. Explain the properties used in menu object.
SECTION –C
1. Can we change the Min and Max properties of scroll bars at run time?
2. Explain in detail about modifying and deleting menu items in visual basic.
3. Explain in detail about SDI.
4. Define the procedure for creating menu and sub menus.
5. State the controls that provide choices to the users.
6. Describe a program includes a scroll bar named VScroll. Write a statement that places the
thumb of the scroll bar at position 40.

UNIT - IV
SECTION – B
1. Explain a record set property.
2. Explain workspace object.
3. Compare the Dynaset and Snapshot type Recordset.
4. Cite the Move Last method used for.
5. Extract a short note on DAO.
6. Define ODBC.
SECTION –C
1. Explain to modify and deleting records.
2.Interpret the steps to create an ODBC as data source .
3.Explain in detail about data access options.
4.Describe the method is generally preferred for finding a specific record in a database.
5.Explain the various transactions methods supported by visual basic.
6. Explain the intrinsic data –bound controls of a Data control.

Unit –V
SECTION-B

1. State the new features of Visual Basic 6.0.


2.Explain the methods of the Data Report object.
3. Explain about shape command.
4. Describe to create a simple report.
5. Tell about hierarchical report.
6. Explain the uses of Data report utility.

SECTION –C
1. Classify crystal report and data report.
2. Explain in detail about Data environoment designer.
3. Relate the objects in DAO object model?
4. Can Data Report utility be used only with the Data Environment Designer? If not, how
Else can it be used?
5. Illustrate to use SQL Query Designer.
6. Explain in detail about the Flex grid control.

You might also like