VB.NET multiple choice questions

Home > Multiple choice questions > VB.NET MCQs 

This test is for experienced programmers and developers. It includes VB.NET topics such as

Arrays Collections Enumerations
Assemblies Operators Operator overloading
Properties Types Windows forms
Classes Inheritance Class access modifiers
Constructors Finalizers Garbage collection
Inheritance Interfaces Polymorphism
Static and Instance members Debugging Command windows
Configuring debugging Tracing Data access
ADO providers Data adapter Data binding controls
Data command Data connection Data view
SQL server access XML access Distributed applications

Latest VB.NET interview questions and answers

Describe the managed execution process in .NET
Imperative and declarative security.
Describe user interface design in .Net.
What are the major components of .NET framework?
What do you understand by side-by-site execution of assembly?
How do we access crystal reports in .NET?
How to use performance monitor to diagnose bottlenecks in your application?
Difference between System exceptions and Application exceptions. 



Write your comment - Share Knowledge and Experience

Discussion Board
nice article

thanks for sharing mytectra interview questions

hubspot 10-3-2019 03:07 AM

review

Really you have given good information, this very much usefull for begginers. Thank you for information.



Katherine 10-23-2018 09:12 AM

Asp.net

the website is useful for all beginners and experienced job seekers and also helpful for college students...........its so good.

appu bukka 10-15-2018 11:23 PM

Asp.net

the website is useful for all beginners and experienced job seekers and also helpful for college students...........its so good.

appu bukka 10-15-2018 11:23 PM

Thank You

Thank You for this wonderful blog Technical Interview Questions and Answers for Freshers ASP.NET.....You give the brief question with answer which we actually want when preparing for interview.

Minakshi 10-13-2018 01:55 AM

Good Questions

All Questions are good. Keep it up Careerride

ASP.NET interview 03-9-2018 07:25 AM

asp.net

its really good..and...its contain such small thing part of asp.net learned for begginer

nitin sapate 02-5-2017 10:56 PM

.Net

Its very usefull for Begginers....

Noushad 11-10-2016 01:41 AM

thankss

really nice....very useful questions answers for .net interview

palka garg 04-23-2016 02:31 AM

hi

your blog has really many values thanks for sharing this information.

deeksha 03-23-2016 07:39 AM

feedback

Very useful for everyone

venkat 11-28-2015 07:47 AM

About asp.net

Simple and superb

k.sridhar 11-13-2015 06:49 AM

asp.net tutorial comments

ONE PLACE !!! to find all most important asp.net knowledge-base questions. VERY VERY NICE!!!

PRATAP 10-5-2015 05:27 AM

....

so nice....

Rampradeep 09-14-2015 05:30 AM

asp.net

Vry nice easy ans

sangeetha 04-18-2015 01:48 PM

ASP.Net

Very Nice Question_Answer.....so easy....

Vikas 04-15-2015 02:48 AM

Define ASP.NET MVC

The ASP.NET MVC is an open source web application framework that implements the model–view–controller (MVC) pattern.


Dot Net Training Institutes in Chennai

gym.prathap 11-10-2014 04:20 AM

Comment

These questions are really so good.

Anurag Singh 06-5-2014 07:58 AM

good site

testy

test 04-21-2013 01:56 AM

Request

I have a blog, I just want to keep your website online test link in my blog. please allow me to do this. My blog deals with interview FAQ, it is not as famous as your website but it has proper traffic.
thank you

thomas 05-7-2012 09:19 AM

ASP.NET questions

Exhaustive and quality exercise, have been using this site for my preparation for interview.

Dilip 01-18-2012 06:49 AM

ASP.NET interview questions

Difference between Namespace and Assembly

-Namespace can span multiple assemblies.
-Namespace logically groups class.
-Assembly is physical grouping of logical units.


Can you explain how to sign out in forms authentication?

FormsAuthentication.SignOut()

What are namespaces provided by .NET for data management?

System.data
System.data.oledb
System.data.sqlclient
System.xml


What are the fundamental objects in ADO.NET?

Datareader
Dataset

What is the basic method of dataadapter?

fill, fillschema, update


Explain the importance of Manifest in .NET

- .NET Manifest stores assembly metadata.
-Metadata is responsible in doing versioning of assembly, secure identify, resolve references to resources and classes


Ramesh 12-6-2011 12:35 AM

ASP.NET interview questions

Can you explain the importance of Web.config?

It applies settings to each web application.


Explain the difference between dataset and datareader.

-Datareader provides forward-only and read-only access to data
-Dataset object can hold more than one table from the same data sources as well as the relationships between them.
-Dataset is a disconnected architecture
-Dataset cab persist contents while datareader cannot persist contents


What are the ways of authentication technique in ASP.NET?

Windows authentication
Passport authentication
Forms authentication


How to format data inside DataGrid.

By using DataFormatString property


Tell me which method to customize columns in DataGrid.

Template column


How do we force validation control to run?

Page.Validate


Can we disable client side script in validation?

Yes, set EnableClient script to false


How to find how to code was executed.

Tracing


How to find how the code was executed.

Session.abandan


What are different IIS isolation levels?

LOW (IIS process)
Medium (Pooled)
High (Isolated)


Tanvir 12-6-2011 12:35 AM

ASP.NET interview questions

What are the modes of storing ASP.NET session?

-InProc
-StateServer
-SQLServer


What are the ways to maintain state?

Hidden fields, viewstate, hidden frames, cookies, query string


Tell me the sequence in which ASP.NET events are processed.

-Page_Init
-Page_Load
-Control events
-Page_Unload event


How to assign page specific attributes.

By using @Page directive


Where is ViewState information stored?

HTML hidden fields


Name the validation controls in ASP.NET.

RequiredFieldValidator
RangeValidator
CompareValidator
RegularExpressionValidator
CustomValidator
ValidationSummary


Ranveer 12-6-2011 12:34 AM

ASP.NET interview questions

What are different types of JIT?

-Pre-JIT, Econo-JIT, Normal-JIT


How can we perform transactions in .NET?

-Open a database connection using open method of the connection object.
-Begin a transaction using the Begin Transaction method of the connection object.
-Execute the SQL commands using the command object.
-Commit or roll back the transaction using the commit or rollback method of the transaction object.
-Close the database connection.


What is reflection?

-Reflection is used to browse through the metadata information.
-Using reflection you can dynamically invoke methods using system.Type.Invokemember


Which class does the remote object has to inherit?

System.MarchalByRefObject


What are the different kinds of marshalling?

Marshal-by-value
Marshal-by-reference


What are different types of caching?

-Page Output caching
-Page Fragment Caching


Akash 12-6-2011 12:34 AM

ASP.NET interview questions

What is a Assembly?

Assembly is a unit of deployment like an exe or a dll.


Explain the concept of strong names.

-Strong Name is same as GUID in COM components
-Strong Names helps GAC to differentiate between two versions
-It is required when we deploy assembly in GAC.
-Strong Names use public and private key concept


Difference between Namespaces and assembly.

Assembly is physical grouping of logical unit whereas Namespace is logically groups classes.

What are the different types of Assembly?

- Private assembly
- Public assembly


Where is version information stored of an assembly?

Stored in assembly in manifest.


Kedar 12-6-2011 12:34 AM

ASP.NET interview questions and answers

Explain Global assembly cache, GAC.

Global assembly cache contains shared assemblies that are globally accessible to all .net application on the machine.
Shared assembly is installed in the GAC.



NIsha 11-22-2011 02:51 AM

ASP.NET interview questions and answers

Difference between an EXE and a DLL.

An EXE is portable and executable with a entry point
A dll is not portable and executable since it has no entry point.



Disha 11-22-2011 02:51 AM

ASP.NET interview questions and answers

Machine config and web config. Can you explain them?

Machine config sets the base configuration for all the .net assemblies running on the server.
Web config sets the base config for all the web app and override settings in machine configuration.



Prithvi 11-22-2011 02:50 AM

ASP.NET interview questions and answers

Value types differ from reference types. Explain

variables of the value types directly contain their data.
Variables of the reference types store references to objects.
With reference types, it is possible for two variables to reference the same object,
With value types, the variables have their own copy of the data.


Pratik 11-22-2011 02:50 AM

ASP.NET interview questions and answers

Is string a value type or a reference type?

String is a reference type.

Deepak 11-22-2011 02:49 AM

ASP.NET interview questions

Benefits and Limitation of using Viewstate for state management.

Benefits of using Viewstate

With Viewstate states are retained automatically
It is simple to use and implement
No server resources are required because state is in a structure in the page code
From security point of view, it is safer than hidden fields as values in view state are hashed, compressed, and encoded
Since the data is cached on the client View, state is good for caching data in Web frame configurations.

Limitation of Viewstate

Performance are affected when large values are stored because view state is stored in the page.
Despite the state stores data in a hashed format, it can still be tampered because it is stored in a hidden field on the page.


Nidhi 11-12-2011 09:03 AM

ASP.NET interview questions

What is Cache Callback in Cache?
Cache object is dependent on its dependencies example file based, time based etc...Cache items
remove the object when cache dependencies change.ASP.NET provides capability to execute a
callback method when that item is removed from cache.

What is scavenging?

It is process of deleting items from the cache when memory is scarce.
Items are removed from cache depending on cache item priority.
Cache item priority is set when you add item to cache.
The items scavenging are removed according to priority.

Explain different types of remote object creation mode in .NET.

Different ways in which object can be created using Remoting are
SAO (Server Activated Objects) also called as Well-Known call mode.
CAO (Client Activated Objects)

SAO has two modes “Single Call” and “Singleton”

With Single Call object, the object is stateless as object is created with every method call.
The object is created once and the object is shared with all clients with Singleton.

CAO are stateful as compared to SAO.
The creation request is sent from client side.
Client holds a proxy to the server object created on server.


Nidhi 11-12-2011 09:03 AM

ASP.NET interview questions

How do we access viewstate value of this page in the next page ?

View state contains information about controls embedded on the particular page.
ASP.NET 2.0 resolves this by embedding a hidden input field name, __POSTBACK.
This field is embedded only when there is an IButtonControl on the page and its PostBackUrl property is set to a non-null value.
This field contains the view state information of the poster page.


Explain how to implement Page Fragment Caching.

Page fragment caching involves the caching of a fragment of the page, rather than the entire page.
When portions of the page are need to be dynamically created for each user request this is best
method as compared to page caching. You can wrap Web Forms user control and cache the
control so that these portions of the page do not need to be recreated each time.

Explain the different types of caching using cache object of ASP.NET.
Two types of output caching to cache information:
Page Output Caching
Page Fragment Caching

Page Output Caching
Page output caching adds the response of page to cache object.
Later when page is requested page is displayed from cache rather than creating the page object and displaying it.
Page output caching is good if the site is fairly static.

Page Fragment Caching
If parts of the page are changing, you can wrap the static sections as user
controls and cache the user controls using page fragment caching.


Nidhi 11-12-2011 09:02 AM

ASP.NET interview questions

Explain about Query String and its benefits and limitations.

It is information sent to the server appended to the end of a page URL.

Benefits of query string:

No server resources are required.
The query string containing in the HTTP requests for a specific URL.
All browsers support query strings.

Following are limitations of query string

Query string data is directly visible to user thus leading to security problems.-
Most browsers and client devices impose a 255-character limit on URL length.

What is .NET Remoting?

.NET remoting is replacement of DCOM.
You can make remote object calls, which are in different Application Domains.
The client uses a proxy to make remote object calls, which looks like a real object.
Client Channel communicates with Server Channel.
Server Channel uses as formatter to deserialize the message and sends to the remote object.


Nidhi 11-12-2011 09:02 AM

ASP.NET interview questions

What is Absolute and Sliding expiration?

You specify the duration of the cache using Absolute Expiration, starting from the time the cache is activated.


Can you explain benefits and limitations of using Hidden frames?

Benefits of hidden frames:

Using hidden frames you can cache more than one data field.
The ability to cache and access data items stored in different hidden forms.

Limitations of hidden frames

They are not supported on all browsers.
The data can be tampered.


Nidhi 11-12-2011 09:02 AM

ASP.NET interview questions

Explain the advantages and disadvantages of using Cookies.

Advantages of cookies

Since stored in client no server resources are required.
cookies are light weight and simple to use

Disadvantages of using cookies

Most browsers place a limit on the size of a cookie.
Use of cookies are inaffective when browser or client device’s ability to receive cookies are disabled.
Cookies can be tampered.
Cookies can expire thus leading to inconsistency.


Nidhi 11-12-2011 09:01 AM

ASP.NET interview questions

Benefits and Limitation of using Hidden fields.


Benefits of Hidden fields

Hidden fields are simple and easy to implement.
Hidden fields work with Web Farms as data is cached on client side
Good news is that all browsers support hidden field.
And yet another advantage is that no server resources are required for Hidden fields usage

Limitations of Hidden field

One of the biggest threat of using Hidden fields are that they can be tampered creating a security hole.
Page performance adversely affected if you store large data since the data are stored in pages itself.
They do not support rich structures as HTML hidden fields are only single
valued.


Nidhi 11-12-2011 09:01 AM

 

 

Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring