MCQOPTIONS
Saved Bookmarks
This section includes 623 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
| 201. |
The Button control can be activated: |
| A. | by clicking the button with the mouse. |
| B. | programmatically through the click event. |
| C. | both (a) and (b) |
| D. | with the form’s DefaultButton property. |
| Answer» D. with the form’s DefaultButton property. | |
| 202. |
Which property determines whether a control is displayed to the user? |
| A. | Visible |
| B. | Enabled |
| C. | Show |
| D. | Hide |
| Answer» B. Enabled | |
| 203. |
A GUI |
| A. | uses buttons, menus, and icons |
| B. | should be easy for a user to manipulate |
| C. | both (a) and (b) |
| D. | stands for Graphic Use Interaction |
| Answer» D. stands for Graphic Use Interaction | |
| 204. |
What is the full form of IDE in C#.Net? |
| A. | Integrated Design Environment |
| B. | Integrated Development Environment |
| C. | Interior Design Environment |
| D. | Interior Development Environment |
| Answer» C. Interior Design Environment | |
| 205. |
Visual Studio .NET provides which feature: |
| A. | debugging |
| B. | application deployment |
| C. | syntax checking |
| D. | All of the above |
| Answer» E. | |
| 206. |
Which language is not a true object-oriented programming language? |
| A. | VB 6 |
| B. | VB.NET |
| C. | JAVA |
| D. | C++ |
| Answer» B. VB.NET | |
| 207. |
Which is not a main component of the Visual Studio IDE? |
| A. | start menu |
| B. | Tool box |
| C. | designer window |
| D. | Solution Explorer |
| Answer» B. Tool box | |
| 208. |
Which type of project can a developer choose in the New Project dialog box? |
| A. | Visual Basic Projects |
| B. | Visual C++ Projects |
| C. | Visual C# Projects |
| D. | All of the above |
| Answer» E. | |
| 209. |
For which task does the IDE provide multiple ways to accomplish the task? |
| A. | Putting a control on the form |
| B. | Running the program |
| C. | Activating the property window for a control |
| D. | All of the above |
| Answer» E. | |
| 210. |
Which are the standard prefixes for the Button and Combo box controls respectively? |
| A. | bto and cbo |
| B. | bto and chb |
| C. | btn and cbo |
| D. | btn and chb |
| Answer» D. btn and chb | |
| 211. |
Which does the solution explorer not display? |
| A. | Form Properties |
| B. | Reference Folder |
| C. | Form File |
| D. | Assemble File |
| Answer» B. Reference Folder | |
| 212. |
Which is true about the name and text property of a control? |
| A. | The text property changes to match any changes in the name property. |
| B. | They are the same when the control is first created. |
| C. | They are never the same unless the programmer makes it that way. |
| D. | The name property changes to match any changes in the text property. |
| Answer» C. They are never the same unless the programmer makes it that way. | |
| 213. |
The _______ function returns a string stored in a variant data type. |
| A. | Chr. |
| B. | Str. |
| C. | Char. |
| D. | None of these |
| Answer» B. Str. | |
| 214. |
_________ method is used to forcibly set the CPU focus to a particular control. |
| A. | Setfocus |
| B. | Gotfocus |
| C. | Lostfocus |
| D. | None of the above |
| Answer» B. Gotfocus | |
| 215. |
The __________ property is used in VB for maximum form at run time. |
| A. | caption |
| B. | window resize |
| C. | window status |
| D. | none of these |
| Answer» D. none of these | |
| 216. |
_________ control displays current directory with any sub directories and allows the user to change directly. |
| A. | File list box |
| B. | Drive list box |
| C. | Directory list box |
| D. | All of the above |
| Answer» D. All of the above | |
| 217. |
___________ is property is used to hide the content in textbox with some symbols. |
| A. | Name |
| B. | Caption |
| C. | Hidden |
| D. | Password char |
| Answer» E. | |
| 218. |
___________ method is used to retrieve the stored text from the clipboard. |
| A. | Input |
| B. | Gettext |
| C. | Addtext |
| D. | Settext |
| Answer» C. Addtext | |
| 219. |
Which symbol creates an access key in the text of a menu item? |
| A. | @ |
| B. | & |
| C. | $ |
| D. | # |
| Answer» C. $ | |
| 220. |
__________ event occurs when a form loaded into the memory. |
| A. | Load |
| B. | Activate |
| C. | Initialize |
| D. | None of the above |
| Answer» B. Activate | |
| 221. |
Which is not a property of the Common control class? |
| A. | Show |
| B. | Font |
| C. | BackColor |
| D. | ForeColor |
| Answer» B. Font | |
| 222. |
________ control is used to represent the items in a hierarchical manner. |
| A. | Tree view |
| B. | Grid view |
| C. | Progress bar |
| D. | None of these |
| Answer» B. Grid view | |
| 223. |
Extension of ActiveX designers ____________ |
| A. | .dsr |
| B. | .axd |
| C. | .adx |
| D. | None of these |
| Answer» B. .axd | |
| 224. |
An object datatype can store _______ bytes. |
| A. | 1 byte |
| B. | 2 byte |
| C. | 4 byte |
| D. | 8 byte |
| Answer» D. 8 byte | |
| 225. |
________ indicates whether a particular condition is on or off. |
| A. | Text box |
| B. | Check box |
| C. | List box |
| D. | Combo box |
| Answer» C. List box | |
| 226. |
Frame Control acts as a __________ |
| A. | Event |
| B. | Method |
| C. | Class |
| D. | Container |
| Answer» E. | |
| 227. |
________ method is used to clear the contents of MSHFlexGrid control. |
| A. | Clr |
| B. | Cls |
| C. | RemoveItem |
| D. | Clear |
| Answer» E. | |
| 228. |
__________ statement enables us to trap runtime error. |
| A. | Error |
| B. | On Error |
| C. | On runtime Error |
| D. | All of these |
| Answer» C. On runtime Error | |
| 229. |
The ______ is a tool used for both the Input and output purpose. |
| A. | label |
| B. | text box |
| C. | Combo box |
| D. | command button |
| Answer» C. Combo box | |
| 230. |
In visual basic the declaration of variables is done by _____ key word. |
| A. | int |
| B. | dim |
| C. | static |
| D. | declare |
| Answer» C. static | |
| 231. |
Form_Mouse Down( ) procedure is executed when any mouse button is clicked in a free area of the ______. |
| A. | form |
| B. | window |
| C. | screen |
| D. | None of these |
| Answer» B. window | |
| 232. |
________ method removes a dialog box from view. |
| A. | Enabled |
| B. | Disable |
| C. | Hide |
| D. | Display |
| Answer» D. Display | |
| 233. |
__________ is a data type that can be used to declare a text of maximum 10 million characters. |
| A. | Date |
| B. | Ulong |
| C. | Numeric |
| D. | String |
| Answer» E. | |
| 234. |
___________ is a method which moves the focus to the specified control or form. |
| A. | Setfocus |
| B. | Lostfocus |
| C. | Gotfocus |
| D. | None of these |
| Answer» B. Lostfocus | |
| 235. |
_________ is used for finding out about objects, properties and methods. |
| A. | Form layout window |
| B. | Code editor window |
| C. | Object browser |
| D. | None of the above |
| Answer» D. None of the above | |
| 236. |
Variables are named storage locations in memory, the value of which does not change during program ___________ |
| A. | debug |
| B. | design |
| C. | execution |
| D. | All of the above |
| Answer» D. All of the above | |
| 237. |
Visual Basic is a tool that allows you to develop application in __________ |
| A. | Real time |
| B. | Graphical User Interface |
| C. | Character User Interface |
| D. | None Of These |
| Answer» C. Character User Interface | |
| 238. |
The function procedures are ___________ by default. |
| A. | public |
| B. | private |
| C. | protected |
| D. | None of the above |
| Answer» B. private | |
| 239. |
The variables that does not change the value during execution of program is __________ |
| A. | Numeric |
| B. | String |
| C. | Constant |
| D. | None of the above |
| Answer» D. None of the above | |
| 240. |
In visual basic ______ is the extension to represent project file. |
| A. | .frm |
| B. | .vbp |
| C. | .cls |
| D. | .vb |
| Answer» C. .cls | |
| 241. |
In Visual Basic, a variable name cannot be more than __________ characters. |
| A. | 255 |
| B. | 300 |
| C. | 355 |
| D. | 400 |
| Answer» B. 300 | |
| 242. |
___________ function is used to return a copy of a string without leading spaces. |
| A. | Rtrim |
| B. | Ltrim |
| C. | Trim |
| D. | All of the above |
| Answer» C. Trim | |
| 243. |
Which of these methods of class String is used to remove leading and trailing whitespaces? |
| A. | startsWith() |
| B. | TrimEnd() |
| C. | Trim() |
| D. | TrimStart() |
| Answer» D. TrimStart() | |
| 244. |
Which of these methods of class String is used to extract a substring from a String object? |
| A. | substring() |
| B. | Substring() |
| C. | SubString() |
| D. | None of the mentioned |
| Answer» C. SubString() | |
| 245. |
Which of these methods of class String is used to check whether a given string starts with a particular substring or not? |
| A. | StartsWith() |
| B. | EndsWith() |
| C. | Starts() |
| D. | Ends() |
| Answer» B. EndsWith() | |
| 246. |
What is the value returned by the function CompareTo() if the invoking string is less than the string compared? |
| A. | zero |
| B. | value less than zero |
| C. | value greater than zero |
| D. | none of the mentioned |
| Answer» C. value greater than zero | |
| 247. |
Choose the base class for string() method : |
| A. | System.Array |
| B. | System.char |
| C. | System.String |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 248. |
Choose the base class for string() method |
| A. | System.Array |
| B. | System.char |
| C. | System.String |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 249. |
Did method use to remove whitespace from the string? |
| A. | Split() |
| B. | Substring() |
| C. | Trim() |
| D. | TrimStart() |
| Answer» D. TrimStart() | |
| 250. |
Choose the constructor type used to build strings from character array: |
| A. | public String(value) |
| B. | public String(char[ ] value, int startIndex, int length) |
| C. | public String(char[ ]) |
| D. | all of the mentioned |
| Answer» C. public String(char[ ]) | |