Basic MCQ
1 Color of a form can be changed using
2 Step statement is used with
3 Exit function is used for
4 Add item & index can be possible in
5 Which one is not a font property
6 What is the extension of project file
7 Load event is possible with
8 List of all the files on a drive can be seen by using
9 Which one is not a property of record set
10 Which type of functions are possible in VB
11 Can we assign the value of input box to a variable
12 Dir List box will show
13 How many Window state are possible
14 Window state can be changed using
15 Which one is not a function of text selection
16 Which of these events is the first to occur in case a form is shown in a VB Project
17 What does MDI stands for in VB Terminology
18 which one of the following is not a valid VB declarative statement
19 An integer variable can also be represented by the sign
20 If the data type of a variable is not specified then that variable is by default declared as
21 A Comment line in Visual Basic starts with the sign
22 Shortcut Key to run a VB Project is
23 Short Cut key to run a vb program One step at a time is
24 a=1493,b=143 the following function will return Function Min( a as varient,b as varient)as varient Min=Iff(a
25 Which one of the following is not a valid loop statement in VB
26 If declared within a module which type of access specifier will explore the variable to whole of the Application
27 What will the following function return Instr$("Visual Basic","Visual")
28 Which of these controls is not used to access the Computer's file system
29 For specifing a default case in Select Case statement the Keyword Used is
30 Following loop will execute for how many times I=0 do while (I<=5) debug.Print I loop
31 Which of the following is not a correct set of Properties for a class modules Private Variables
32 Which of the following is the default ADO Recordset Property
33 COM Stands for
34 Which of the following is not Dirctly Accessible through the objects created based on a class
35 DLL in VB Terminology Stnads for
36 Which of the following is not a valid data type in VB
37 To save changes done to a ADO Recorset the method used is
38 A Record is
39 What is the extension of a VB Project
40 In client server computing model security requirement of the data base is managed by
41 The Back-end Application server refers to
42 Which of the following is not a RDBMS
43 A Foreign Key
44 The primary role of normalizing the database is
45 The Validate Event in Visual Basic is applied to
46 Which of the following is not a valid lock in case of a ADO Recordset
47 which of the following is a valid mode to open a ADO recordset
48 which of the following properties belongs to extendor Objects
49 More folder method belongs to
50 Which of the following is an inProcess server
51 Dependency information is included for all components that that ship with VB,this information lies in
52 A Procedure in VB returns
53 Which Type of the DSN is accessible only by you on the machine you are using
54 You want to change the colour of certain text that appears in the code window.
Which of the following would you change?
55 A data type which can store data of all types is
56 Which of the following lines of code will enable Microsoft's Website to appear in the Web Browser control?
57 Which method is used to add a new field to a dynamic Recordset?
58 Which property does every VB control contain?
59 What is the main advantage of adding a reference to an object library?
60 A VB application creates an instance of a form. What is the event that will be triggered in the form?
61 Which of the following objects contain a set of records from a database?
62 When an Image control's property is set to true, the picture within the image control will size along with the control.
63 The Visual Basic Project file that stores the design of a user Control ends with which file extension?
64 What is the term that describes methods that execute using synchronous processing?
65 Which of the following ASP objects should you use when constructing a message to send to a browser from a WebClass?
66 Which of the following serves as an example of declaring an ActiveX component?
67 What event occurs when a function key is pressed?
68 Which property determines the contents of status bar panel?
69 To size the picture in an image control, set the image control's property to true.
70 What is the event, which is fired whenever a form lost focus to another window?
71 Which variable is Static in the following function? Static function myfunct() Static x As integer Dim y As string End Function
72 How many types of combo boxes are there?
73 Which property changes when the user clicks one of the Scrollbar's arrows?
74 When a label control is placed on the form, its default property is the same as its caption property.
75 The location of an object on a form is measured in from the edge of the form.
76 Statement that defines a variable.
77 Which method is used to add records to a recordset?
78 You have installed VB 5.0 on your m/c and after some time you want it to delete from your m/c. Action you will take is to
79 Which control is used to retrieve HTML text?
80 Which of the following is NOT allowed in an Active X document?
81 Dim myVar% creates a variable of following type:
82 What is the advantage of early binding?
83 What method of common dialog box is used to display help information?
84 What is a callback procedure?
85 During update the size of a page locked by Jet is
86 Arguments can be passed to DLLs
87 lblName.BorderStyle=vbFixed Single In the above expression vbFixedSingle
88 Which data type holds smallest range of value.
89 You are creating one application in which you want to download the files through FTP server in a regular interval, which of the following control will take minimal code
90 A programmer in an office is developing an active X control. To debug that active X control, you have to
91 You want a user of your ActiveX Document to visit your website, whenever he clicks "About menu item" on main menu. How will you do it?
92 An API call is having two Optional arguments, what is the way to pass a null value to them?
93 A Win API DLL written in C has following function DWORD My Proc(char ch); which declaration is appropriate while calling it from VB?
94 You are monitoring a global variable and want to suspend program execution when its value changes. Which debugging tool should you use?
95 You want to display a pop-up menu named mnu File at the cursor location when the user clicks the right mouse button over a form.
You have decided to place this code in the Form_Mouse Down event. Which statement will accomplis h this task?
96 You want to remember a form's state so that when it is opened again, it will appear the same. What function call would you use, and in which event procedure would you place it?
97 Choose the correct sequence of occurrence of form events during form loads into memory/and unloads from memory.
98 If you want to close the cancel command
99 LCase () returns the value of type.
100 Which control property determines the path and filename of the graphic image to display.
101 In which property we specify the duration in which the timer event must be triggered
102 What time value is measured by the timer control' s internal property
103 In OOP, a function contained within a class is called
104 Which of the following are good reason to use an object oriented language?
105 Which come first.
106 Statement that resize the array
107 A displayed form is made up of layers?
108 Visual Basic default coordinate system uses a unit called.
109 The image at control box can be changed by property.
110 VB is
111 Comment can be placed int the code by
112 Window less control can be differentiated from other control by property.
113 File type not supported by picture box control.
114 What caption property do all separator bars requires.
115 What character right justifies menu items.
116 How many types of icons supported by message box.
117 How a message box can be created such that it is necessary to answer it first. Until and unless it is answered user would not be able to switch to another windows program.
118 Which is not a system object.
119 Active X controls can be added to toolbox using.
120 Types of transaction supported by SQL Server.
121 What is the index value of collection's first item.
122 Which data type holds largest range of value.
123 Which data type holds highest precision value.
124 How many way a procedure can receive a variable.
125 Which loop check the condition at bottom of loop?
126 Format$(txt, "!@@@@@") will perform.
127 How to convert the text stored in a variable named as txt to proper case?
128 Multiple statements can be written in single line by separating them by:
129 The \ performs :
130 Stored procedure can be executed on
131 Which property value determines the pattern of drawn line.
132 Second Parameter of recordset's open method can be.
133 QBColor()function returns.
134 SQL query can be run on connection object using method.
135 Provides only basic control structures, math and string functions and variable manipulation capabilities
136 Enumerated properties created using:
137 Compiled ActiveX control file has the extension.
138 The command triggers the event created in the class.
139 The data inside an object is known as
140 The template which defines the characteristics of an object is called.
141 Which of the following keyword is used to keep track of Active window.
142 To attach scrollbar to the text box, the property of textbox should be set to;
143 What keyword to be used when to retain the value of array and need to resize it.
144 Addition, changes or deletions by others are not visible in the cursor.
145 Which form event would be use to activate pop-up menu when user clicks the right mouse button?
146 All of the folowing statements about shortcut keys are true except.
147 The TypeOf statement used to find out
148 Properties of menu items cannot be changed at run time
149 By default, the textbox control can hold the text
150 To attach scroll bar to the text box, the property of tool box should be set to
151 If password property of text box set to "*", then
152 The events occurs when certain key of key board is pressed
153 In list box or combo box when sorted property set to True, the 10 will appear in front of 5, Why?
154 What is default range of horizontal scrollbar
155 Which of the following file control displayes the folder of current drive
156 Which of the following control displays the information in hierarchical structure
157 When you compile and ActiveX control, the file has and extension of
158 What are the three type of property procedure that can be created for a class
159 Which property procedure is used to retrive the value of information from a class?
160 Which property procedure is used to set the value of internal variable that contains an object refrence?
161 How do you create a mathod for a class?
162 What does the friend declaration do?
163 The date inside an object is known as the
of the object
164 Making an object available from outside of an application for use is known as the object.
165 The templace is called a and the copies of the template are called
.
166 One advantage of the Object Browser over the properties window is that
167 You can create objects at
168 What is true about Collection?
169 What is the reason for using DLLs ti create program?
170 Which statement is used to identify an external precedure to Visual Basic?
171 The contents of Dynamic Link Library are linked to the application dynamically at
172 How do yor pass null pointer to a DLL precedure?
173 What is null-terminated string?
174 What does AddressOf operator do?
175 What value of the Instancing property should be used in creating a DLL for your own function?
176 What is the callback precedure?
177 If GetDriveType( ) function return the value 1, what does it mean
178 You can use the following function to retrive the information about a flag that indicates the status of file.
179 The proivides the essential functions to build and manage your application.
180 The provides functions to access the resources of the computer and the operating system.
181 To keep a window on top regardless of whether the windows is active, use
182 The function retrives the windows's title bar if there is one.
183 You can use function to obtain the window's class name.
184 What are the three controls where you can place graphics?
185 To load graphics on a control at design time, you have to assign its filename to
186 To lad graphics on a control at run time, you have to use the function
187 Which of the following control provides methods for drawing at runtime.
188 The graphics file is having one of the following extensions, except
189 To copy the contents of the control to the Clipboard, the following method should be used.
190 Visual Basic's default coordinate system uses a unit called
191 Which of the following property sets the control's current coordinate system.
192 Following are the drawing methods of Visual Basic, except.
193 You can define the second endpoint of the line relative to first endpoint, by using
option of Line Method.
194 If the FillStyle property is set to any value other than 1, then
195 You can use the Circle method to draw ellipses if you include the argument.
196 Using Picture property, you can copy only the bitmap loaded with the
No comments