Basic MCQ

1 Color of a form can be changed using




... Answer is C)


2 Step statement is used with




... Answer is A)


3 Exit function is used for




... Answer is C)


4 Add item & index can be possible in




... Answer is A)


5 Which one is not a font property




... Answer is C)


6 What is the extension of project file




... Answer is A)


7 Load event is possible with




... Answer is B)


8 List of all the files on a drive can be seen by using




... Answer is B)


9 Which one is not a property of record set




... Answer is C)


10 Which type of functions are possible in VB




... Answer is C)


11 Can we assign the value of input box to a variable




... Answer is A)


12 Dir List box will show




... Answer is B)


13 How many Window state are possible




... Answer is C)


14 Window state can be changed using




... Answer is C)


15 Which one is not a function of text selection




... Answer is A)


16 Which of these events is the first to occur in case a form is shown in a VB Project




... Answer is D)


17 What does MDI stands for in VB Terminology




... Answer is D)


18 which one of the following is not a valid VB declarative statement




... Answer is B)


19 An integer variable can also be represented by the sign




... Answer is A)


20 If the data type of a variable is not specified then that variable is by default declared as




... Answer is D)


21 A Comment line in Visual Basic starts with the sign




... Answer is D)


22 Shortcut Key to run a VB Project is




... Answer is B)


23 Short Cut key to run a vb program One step at a time is




... Answer is A)


24 a=1493,b=143 the following function will return Function Min( a as varient,b as varient)as varient Min=Iff(a




... Answer is C)


25 Which one of the following is not a valid loop statement in VB




... Answer is C)


26 If declared within a module which type of access specifier will explore the variable to whole of the Application




... Answer is D)


27 What will the following function return Instr$("Visual Basic","Visual")




... Answer is A)


28 Which of these controls is not used to access the Computer's file system




... Answer is B)


29 For specifing a default case in Select Case statement the Keyword Used is




... Answer is C)


30 Following loop will execute for how many times I=0 do while (I<=5) debug.Print I loop




... Answer is D)


31 Which of the following is not a correct set of Properties for a class modules Private Variables




... Answer is B)


32 Which of the following is the default ADO Recordset Property




... Answer is A)


33 COM Stands for




... Answer is C)


34 Which of the following is not Dirctly Accessible through the objects created based on a class




... Answer is D)


35 DLL in VB Terminology Stnads for




... Answer is A)


36 Which of the following is not a valid data type in VB




... Answer is D)


37 To save changes done to a ADO Recorset the method used is




... Answer is C)


38 A Record is




... Answer is B)


39 What is the extension of a VB Project




... Answer is B)


40 In client server computing model security requirement of the data base is managed by




... Answer is C)


41 The Back-end Application server refers to




... Answer is C)


42 Which of the following is not a RDBMS




... Answer is A)


43 A Foreign Key




... Answer is B)


44 The primary role of normalizing the database is




... Answer is A)


45 The Validate Event in Visual Basic is applied to




... Answer is D)


46 Which of the following is not a valid lock in case of a ADO Recordset




... Answer is C)


47 which of the following is a valid mode to open a ADO recordset




... Answer is D)


48 which of the following properties belongs to extendor Objects




... Answer is D)


49 More folder method belongs to




... Answer is D)


50 Which of the following is an inProcess server




... Answer is A)


51 Dependency information is included for all components that that ship with VB,this information lies in




... Answer is D)


52 A Procedure in VB returns




... Answer is D)


53 Which Type of the DSN is accessible only by you on the machine you are using




... Answer is A)


54 You want to change the colour of certain text that appears in the code window. Which of the following would you change?




... Answer is B)


55 A data type which can store data of all types is




... Answer is C)


56 Which of the following lines of code will enable Microsoft's Website to appear in the Web Browser control?




... Answer is B)


57 Which method is used to add a new field to a dynamic Recordset?




... Answer is D)


58 Which property does every VB control contain?




... Answer is C)


59 What is the main advantage of adding a reference to an object library?




... Answer is C)


60 A VB application creates an instance of a form. What is the event that will be triggered in the form?




... Answer is D)


61 Which of the following objects contain a set of records from a database?




... Answer is B)


62 When an Image control's property is set to true, the picture within the image control will size along with the control.




... Answer is A)


63 The Visual Basic Project file that stores the design of a user Control ends with which file extension?




... Answer is C)


64 What is the term that describes methods that execute using synchronous processing?




... Answer is D)


65 Which of the following ASP objects should you use when constructing a message to send to a browser from a WebClass?




... Answer is B)


66 Which of the following serves as an example of declaring an ActiveX component?




... Answer is A)


67 What event occurs when a function key is pressed?




... Answer is A)


68 Which property determines the contents of status bar panel?




... Answer is A)


69 To size the picture in an image control, set the image control's property to true.




... Answer is A)


70 What is the event, which is fired whenever a form lost focus to another window?




... Answer is B)


71 Which variable is Static in the following function? Static function myfunct() Static x As integer Dim y As string End Function




... Answer is C)


72 How many types of combo boxes are there?




... Answer is C)


73 Which property changes when the user clicks one of the Scrollbar's arrows?




... Answer is C)


74 When a label control is placed on the form, its default property is the same as its caption property.




... Answer is B)


75 The location of an object on a form is measured in from the edge of the form.




... Answer is A)


76 Statement that defines a variable.




... Answer is B)


77 Which method is used to add records to a recordset?




... Answer is B)


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




... Answer is D)


79 Which control is used to retrieve HTML text?




... Answer is A)


80 Which of the following is NOT allowed in an Active X document?




... Answer is A)


81 Dim myVar% creates a variable of following type:




... Answer is C)


82 What is the advantage of early binding?




... Answer is A)


83 What method of common dialog box is used to display help information?




... Answer is B)


84 What is a callback procedure?




... Answer is C)


85 During update the size of a page locked by Jet is




... Answer is A)


86 Arguments can be passed to DLLs




... Answer is A)


87 lblName.BorderStyle=vbFixed Single In the above expression vbFixedSingle




... Answer is C)


88 Which data type holds smallest range of value.




... Answer is B)


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




... Answer is B)


90 A programmer in an office is developing an active X control. To debug that active X control, you have to




... Answer is D)


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?




... Answer is A)


92 An API call is having two Optional arguments, what is the way to pass a null value to them?




... Answer is D)


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?




... Answer is A)


94 You are monitoring a global variable and want to suspend program execution when its value changes. Which debugging tool should you use?




... Answer is A)


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?




... Answer is B)


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?




... Answer is D)


97 Choose the correct sequence of occurrence of form events during form loads into memory/and unloads from memory.




... Answer is D)


98 If you want to close the cancel command




... Answer is A)


99 LCase () returns the value of type.




... Answer is D)


100 Which control property determines the path and filename of the graphic image to display.




... Answer is B)


101 In which property we specify the duration in which the timer event must be triggered




... Answer is B)


102 What time value is measured by the timer control' s internal property




... Answer is B)


103 In OOP, a function contained within a class is called




... Answer is A)


104 Which of the following are good reason to use an object oriented language?




... Answer is D)


105 Which come first.




... Answer is D)


106 Statement that resize the array




... Answer is A)


107 A displayed form is made up of layers?




... Answer is C)


108 Visual Basic default coordinate system uses a unit called.




... Answer is D)


109 The image at control box can be changed by property.




... Answer is B)


110 VB is




... Answer is C)


111 Comment can be placed int the code by




... Answer is A)


112 Window less control can be differentiated from other control by property.




... Answer is B)


113 File type not supported by picture box control.




... Answer is D)


114 What caption property do all separator bars requires.




... Answer is A)


115 What character right justifies menu items.




... Answer is A)


116 How many types of icons supported by message box.




... Answer is C)


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.




... Answer is C)


118 Which is not a system object.




... Answer is C)


119 Active X controls can be added to toolbox using.




... Answer is C)


120 Types of transaction supported by SQL Server.




... Answer is D)


121 What is the index value of collection's first item.




... Answer is B)


122 Which data type holds largest range of value.




... Answer is A)


123 Which data type holds highest precision value.




... Answer is C)


124 How many way a procedure can receive a variable.




... Answer is B)


125 Which loop check the condition at bottom of loop?




... Answer is C)


126 Format$(txt, "!@@@@@") will perform.




... Answer is B)


127 How to convert the text stored in a variable named as txt to proper case?




... Answer is C)


128 Multiple statements can be written in single line by separating them by:




... Answer is C)


129 The \ performs :




... Answer is A)


130 Stored procedure can be executed on




... Answer is B)


131 Which property value determines the pattern of drawn line.




... Answer is C)


132 Second Parameter of recordset's open method can be.




... Answer is C)


133 QBColor()function returns.




... Answer is A)


134 SQL query can be run on connection object using method.




... Answer is C)


135 Provides only basic control structures, math and string functions and variable manipulation capabilities




... Answer is B)


136 Enumerated properties created using:




... Answer is B)


137 Compiled ActiveX control file has the extension.




... Answer is B)


138 The command triggers the event created in the class.




... Answer is B)


139 The data inside an object is known as




... Answer is C)


140 The template which defines the characteristics of an object is called.




... Answer is C)


141 Which of the following keyword is used to keep track of Active window.




... Answer is A)


142 To attach scrollbar to the text box, the property of textbox should be set to;




... Answer is D)


143 What keyword to be used when to retain the value of array and need to resize it.




... Answer is C)


144 Addition, changes or deletions by others are not visible in the cursor.




... Answer is C)


145 Which form event would be use to activate pop-up menu when user clicks the right mouse button?




... Answer is C)


146 All of the folowing statements about shortcut keys are true except.




... Answer is A)


147 The TypeOf statement used to find out




... Answer is B)


148 Properties of menu items cannot be changed at run time




... Answer is A)


149 By default, the textbox control can hold the text




... Answer is B)


150 To attach scroll bar to the text box, the property of tool box should be set to




... Answer is A)


151 If password property of text box set to "*", then




... Answer is C)


152 The events occurs when certain key of key board is pressed




... Answer is B)


153 In list box or combo box when sorted property set to True, the 10 will appear in front of 5, Why?




... Answer is B)


154 What is default range of horizontal scrollbar




... Answer is A)


155 Which of the following file control displayes the folder of current drive




... Answer is B)


156 Which of the following control displays the information in hierarchical structure




... Answer is B)


157 When you compile and ActiveX control, the file has and extension of




... Answer is B)


158 What are the three type of property procedure that can be created for a class




... Answer is C)


159 Which property procedure is used to retrive the value of information from a class?




... Answer is B)


160 Which property procedure is used to set the value of internal variable that contains an object refrence?




... Answer is A)


161 How do you create a mathod for a class?




... Answer is A)


162 What does the friend declaration do?




... Answer is B)


163 The date inside an object is known as the of the object




... Answer is C)


164 Making an object available from outside of an application for use is known as the object.




... Answer is B)


165 The templace is called a and the copies of the template are called .




... Answer is B)


166 One advantage of the Object Browser over the properties window is that




... Answer is C)


167 You can create objects at




... Answer is C)


168 What is true about Collection?




... Answer is A)


169 What is the reason for using DLLs ti create program?




... Answer is C)


170 Which statement is used to identify an external precedure to Visual Basic?




... Answer is A)


171 The contents of Dynamic Link Library are linked to the application dynamically at




... Answer is A)


172 How do yor pass null pointer to a DLL precedure?




... Answer is B)


173 What is null-terminated string?




... Answer is B)


174 What does AddressOf operator do?




... Answer is C)


175 What value of the Instancing property should be used in creating a DLL for your own function?




... Answer is A)


176 What is the callback precedure?




... Answer is A)


177 If GetDriveType( ) function return the value 1, what does it mean




... Answer is B)


178 You can use the following function to retrive the information about a flag that indicates the status of file.




... Answer is B)


179 The proivides the essential functions to build and manage your application.




... Answer is A)


180 The provides functions to access the resources of the computer and the operating system.




... Answer is B)


181 To keep a window on top regardless of whether the windows is active, use




... Answer is C)


182 The function retrives the windows's title bar if there is one.




... Answer is B)


183 You can use function to obtain the window's class name.




... Answer is A)


184 What are the three controls where you can place graphics?




... Answer is B)


185 To load graphics on a control at design time, you have to assign its filename to




... Answer is A)


186 To lad graphics on a control at run time, you have to use the function




... Answer is B)


187 Which of the following control provides methods for drawing at runtime.




... Answer is B)


188 The graphics file is having one of the following extensions, except




... Answer is A)


189 To copy the contents of the control to the Clipboard, the following method should be used.




... Answer is C)


190 Visual Basic's default coordinate system uses a unit called




... Answer is A)


191 Which of the following property sets the control's current coordinate system.




... Answer is A)


192 Following are the drawing methods of Visual Basic, except.




... Answer is B)


193 You can define the second endpoint of the line relative to first endpoint, by using option of Line Method.




... Answer is C)


194 If the FillStyle property is set to any value other than 1, then




... Answer is A)


195 You can use the Circle method to draw ellipses if you include the argument.




... Answer is D)


196 Using Picture property, you can copy only the bitmap loaded with the




... Answer is B)

No comments

Eligibility Criteria and Topic for IT Professionals (HARTRON) on Job Work Basis

Eligibility Criteria and Topic for IT Professionals (HARTRON) on Job Work Basis Sr. No. Category Qualific...

Powered by Blogger.