MCQOPTIONS
Saved Bookmarks
This section includes 565 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
For server-side custom validation, the name of the custom function must be identified in the______________ function property |
| A. | Client Validation |
| B. | on client validation |
| C. | On server validation |
| D. | server validation |
| Answer» D. server validation | |
| 2. |
An indexer________________. |
| A. | Enables us to access a property through index. |
| B. | Can have user-defined name. |
| C. | Is identified by its name. |
| D. | Cannot be overloaded. |
| Answer» B. Can have user-defined name. | |
| 3. |
The purpose of JIT compiler is to convert____________. |
| A. | VC#.NET source code IL code |
| B. | IL code to byte code |
| C. | IL code to managed native code |
| D. | None of these |
| Answer» C. IL code to managed native code | |
| 4. |
Home page in VS.NET is also known as__________. |
| A. | Default page |
| B. | Start page |
| C. | First page |
| D. | Welcome page |
| Answer» C. First page | |
| 5. |
We can attach _________ validation control to an input control |
| A. | One |
| B. | less than one |
| C. | more than one |
| D. | almost one |
| Answer» D. almost one | |
| 6. |
The Buffered Stream class is a ________ of the Stream class. |
| A. | Base class |
| B. | binary class |
| C. | Derived class |
| D. | class |
| Answer» D. class | |
| 7. |
The main ASP.NET page class is derived from the ____________ class |
| A. | Page |
| B. | base |
| C. | derived |
| D. | main |
| Answer» B. base | |
| 8. |
In the case of access modifiers___________. |
| A. | Private and protected access modifiers can be specified for a class. |
| B. | Public access modifier can be specified for a class. |
| C. | The scope of the internal access modifier is the namespace. |
| D. | None of these. |
| Answer» E. | |
| 9. |
A buffer is a block of bytes in memory used to ___________ |
| A. | Class data |
| B. | binary data |
| C. | cache data |
| D. | data |
| Answer» D. data | |
| 10. |
The arrays involved in a jagged array_____________. |
| A. | Should be of same size. |
| B. | May be of different sizes. |
| C. | Are not known as subarrays. |
| D. | None of these. |
| Answer» C. Are not known as subarrays. | |
| 11. |
The node is also called as ______________ |
| A. | Data |
| B. | class |
| C. | host |
| D. | cache |
| Answer» D. cache | |
| 12. |
A Managed provider can be considered as a set of objects that mediate between a_____________ and _______________ |
| A. | Data source |
| B. | VB.NET program |
| C. | data |
| D. | both (a) and (b) |
| Answer» E. | |
| 13. |
A machine on a network is called ________ |
| A. | Node |
| B. | data |
| C. | address |
| D. | store |
| Answer» B. data | |
| 14. |
In case of the Params type parameter____________. |
| A. | Only output can be sent. |
| B. | The number of arguments is variable. |
| C. | Both input and output can be handled. |
| D. | None of these. |
| Answer» C. Both input and output can be handled. | |
| 15. |
The size of long is___________. |
| A. | 8 bits |
| B. | 16 bits |
| C. | 32 bits |
| D. | 64 bits |
| Answer» E. | |
| 16. |
A property________________. |
| A. | Should have a get method. |
| B. | Should have a put method. |
| C. | Should have both get and put methods. |
| D. | Should have either a get method or put method. |
| Answer» B. Should have a put method. | |
| 17. |
In case of components and namespaces, |
| A. | Several classes may be present in a component. |
| B. | Classes contained in different source files may be part of same namespace. |
| C. | Classes contained in a source file may be from different namespaces. |
| D. | All the above. |
| Answer» D. All the above. | |
| 18. |
For client-side custom validation, the name of the custom function must be identified in the______________ function property |
| A. | Client Validation |
| B. | on client validation |
| C. | On server validation |
| D. | server validation |
| Answer» B. on client validation | |
| 19. |
The text files are helpful in __________ and ____________ textual data. |
| A. | Storing, displaying |
| B. | storing, retrieving |
| C. | Retrieving, displaying |
| D. | displaying, retrieving |
| Answer» C. Retrieving, displaying | |
| 20. |
All IO classes that represent streams are derived from the ______ class. |
| A. | Data |
| B. | Stream |
| C. | another |
| D. | none |
| Answer» C. another | |
| 21. |
The out type parameters can be used_______________. |
| A. | Only to pass back a result to the calling functions. |
| B. | Only to send information to the called function. |
| C. | To pass data to the called method and receive information from the called method. |
| D. | None of these. |
| Answer» B. Only to send information to the called function. | |
| 22. |
The validation control has ____________ control. |
| A. | Up level |
| B. | down level |
| C. | both |
| D. | bottom level |
| Answer» D. bottom level | |
| 23. |
An instance class member is referred by using the format____________. |
| A. | Object name. Class member name. |
| B. | Class name. Class member name. |
| C. | Object name. Class member name or class name. class member name. |
| D. | None of these. |
| Answer» B. Class name. Class member name. | |
| 24. |
An instance of a reference type variable is allocated memory on_______. |
| A. | Stack |
| B. | Heap |
| C. | Both a&b |
| D. | None of these |
| Answer» C. Both a&b | |
| 25. |
The ADO.NET provides greater case of ___________ |
| A. | Programming |
| B. | higher dependency |
| C. | Improve data source |
| D. | both (a) and (b) |
| Answer» E. | |
| 26. |
In VC#.NET project files are grouped into a _____________. |
| A. | Workspace |
| B. | Namespace |
| C. | Solution |
| D. | Package |
| Answer» D. Package | |
| 27. |
The up level browser will perform validation on the client, using the _________ and_____________ |
| A. | HTML, ASP |
| B. | DHTML, java script |
| C. | Both (a) and (b) |
| D. | none |
| Answer» C. Both (a) and (b) | |
| 28. |
The size of integer is___________. |
| A. | 8 bits |
| B. | 16 bits |
| C. | 32 bits |
| D. | 64 bits |
| Answer» B. 16 bits | |
| 29. |
An instance of a value type variable is allocated memory on_______. |
| A. | Stack |
| B. | Heap |
| C. | Both a&b |
| D. | None of these |
| Answer» B. Heap | |
| 30. |
Overloaded constructors will have________. |
| A. | Different names |
| B. | Different parameter lists |
| C. | Different return types |
| D. | none of these. |
| Answer» C. Different return types | |
| 31. |
The Garbage Collection solves_____________. |
| A. | Memory leakage problem |
| B. | DLL hell problem |
| C. | Both a & b |
| D. | None of these |
| Answer» B. DLL hell problem | |
| 32. |
Which one of the following statements about code debugging is correct? |
| A. | Debugger helps us to step through our code, one line at a time. |
| B. | Breakpoints can be set by pressing F9 function key. |
| C. | Breakpoints can be set by left-clicking in the left margin area at the line where we want to set the breakpoint. |
| D. | a, b and c are correct. |
| Answer» B. Breakpoints can be set by pressing F9 function key. | |
| 33. |
The VC#.NET language________________. |
| A. | Solves the memory leakage problems. |
| B. | Solves the DLL hell problems. |
| C. | Has very good correspondence with the IL language. |
| D. | All the above. |
| Answer» C. Has very good correspondence with the IL language. | |
| 34. |
In the case of a component, |
| A. | Reusability is possible. |
| B. | Code will be in IL format. |
| C. | The extension is dll. |
| D. | All the above. |
| Answer» E. | |
| 35. |
A namespace can contain___________. |
| A. | Classes |
| B. | Namespaces |
| C. | Classes and namespaces |
| D. | None of these. |
| Answer» B. Namespaces | |
| 36. |
Which one of the following JIT compilers produce highly optimized code? |
| A. | Econo JIT |
| B. | Standard JIT |
| C. | Pre JIT |
| D. | None of these |
| Answer» C. Pre JIT | |
| 37. |
The parameters of a method __________. |
| A. | Help us to pass information to a method. |
| B. | Help us to get information from a method. |
| C. | Help us to pass information to and from a method. |
| D. | None of these. |
| Answer» D. None of these. | |
| 38. |
The stream class has been designed to provide functional features for ________ and__________. |
| A. | Creating, manipulating |
| B. | displaying, manipulating |
| C. | Creating, displaying |
| D. | printing, creating |
| Answer» B. displaying, manipulating | |
| 39. |
Only ___________ amount of processing time is needed for data conversion. |
| A. | Large |
| B. | small |
| C. | none |
| D. | allocated time |
| Answer» C. none | |
| 40. |
________________ access modifier is applied to a method or a data member, it can beaccessed by all classes in the same namespace and derived class in other namespace. |
| A. | Public |
| B. | Protected |
| C. | Internal |
| D. | Protected internal |
| Answer» E. | |
| 41. |
The second type of streams is used to represent __________ |
| A. | Data |
| B. | text |
| C. | binary data |
| D. | derived |
| Answer» D. derived | |
| 42. |
The code that requires the CLR at runtime for the execution is known as the ________. |
| A. | IL code |
| B. | Managed code |
| C. | Binary code |
| D. | One of these |
| Answer» C. Binary code | |
| 43. |
The file steam class is designed specifically for reading and writing_______________ files. |
| A. | Class files |
| B. | binary data |
| C. | program |
| D. | none |
| Answer» C. program | |
| 44. |
A static constructor_____________. |
| A. | Is executed when the class is loaded. |
| B. | Can be accessed through an object name. |
| C. | Can be executed any number of times. |
| D. | Can have its own destructor. |
| Answer» B. Can be accessed through an object name. | |
| 45. |
The ref type parameters are____________. |
| A. | “Input only” parameters. |
| B. | “Input / Output” parameters. |
| C. | “Output only” parameters. |
| D. | None of these. |
| Answer» C. “Output only” parameters. | |
| 46. |
The ______________ enables to move through the code very quickly. |
| A. | Class view window |
| B. | Solution explorer window |
| C. | Code window |
| D. | none of these |
| Answer» D. none of these | |
| 47. |
The various possible values of dock property are_________ |
| A. | TOP, Left |
| B. | Fill, right |
| C. | Side, upright |
| D. | Both (a) and (B) |
| Answer» E. | |
| 48. |
The alias should have |
| A. | Improve the readability of the code. |
| B. | Avoid name clashes. |
| C. | Saves you typing out very long strings. |
| D. | All the above. |
| Answer» E. | |
| 49. |
The compiled version of a VC#.NET program will be in_______________. |
| A. | Machine code |
| B. | IL code |
| C. | Byte code |
| D. | None of these |
| Answer» B. IL code | |
| 50. |
The first type of streams i specially used to represent _________ |
| A. | Binary data |
| B. | text |
| C. | data |
| D. | derived |
| Answer» C. data | |