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
Silverlight interview questions and answers

What are the graphics related features supported in Silverlight?
Use of graphics nowadays is common as more and more websites are started using lots of graphics in there web pages. Silverlight also supports most of the graphics design and provides lots of features such as:
- Draw 2D vector graphics such as rectangle, ellipse, and path, with fill and/or stroke.
- Brushes: SolidColorBrush, Linear/RadialGradientBrush, ImageBrush, VideoBrush.
- Opacity mask.
- Shape (supports mouse/keyboard events) and Geometry (lightweight).
- EvenOdd and Nonzero path fill rule.
- Affine transforms.
- Render bitmap images encoded with jpg and png.
- Ink and stylus devices.


Rohit Sharma 12-16-2011 04:05 AM

Silverlight interview questions and answers

What is the cross domain/scheme/zone policy? How do I configure it?
Cross domain is the domain that is represented by a single domain name. Ex: www. Abc.com. If a Silverlight application is being hosted under one domain and the resources are being on another domain then it is considered as cross domain.
Cross Scheme consists of three types of schemes, which are as follows:
1. http
2. https
3. file
If the file is hosted under http or https or file scheme, then it is a cross scheme.
Cross Zone is browser specific and they differ browser to browser. You can find them in your browser’s security options.

How do I provide a cross domain policy file for a self-host WCF service?
It is quite easy to provide the cross domain policy file for self-host WCF services, but it requires programming to be done on the other side to do it. Example code:
ServiceHost host = new ServiceHost(typeof(Service1));
host.Open();
Console.Read();
host.Close();
<add baseAddress="http://localhost:8731/Service1/" /> // base address
When you will call the service from the Silverlight application, you will get a cross domain issue which can be solved by putting the cross domain file in the same directory with the console .exe.

What are the restrictions of web service accessing in Silverlight?
Silverlight provides and supports lots of features but there are some restrictions as well, such as WS-Security and WS-Addressing are not supported. When working with the languages such as ASMX/JAVA/PHP, you need to see that you have SOAP 1.1 and WS-I Basic Profile 1.0. Silverlight only support GET and POST actions, others are not supported. It doesn’t have full http features also.


Rohit Sharma 12-16-2011 04:04 AM

Silverlight interview questions and answers

What is the real advantage of using Excel/Word files or local database in Silverlight?
The real advantage of using Excel or World files or any local database in Silverlight is that it provides easy to manage features for store and fetching the data, which are frequently used by the applications. It doesn’t rely much on WCF services to provide the properties for data communication. The data is automatically fetched and saved in excel or word sheets for future references.

What are the advantages of Extensible Application Markup Language (XAML) over C# or VB.NET?
XAML is the language which is used with Silverlight. It is one of the growing languages that has lots of features and properties. The advantages of it over C# or VB.NET are that:
C# or VB.NET provide development by using coding whereas, XAML provides codeless development and provides lots of features to create complex user interface controls etc. It can also define an instance of class which is being already defined by C# or VB.NET.

Can you use any specific Patterns in Silverlight programming?
Yes, you can use any specific patters in Silverlight programming, as it provides Model-View or View-Model approach. This approach provides the provision to create loosely coupled application where the code is completely isolated from XAML. Prism which is a set of classes provided for development of such applications can also be used to provide more flexibility.

What is namescope in Silverlight?
Name scope in Silverlight stores the relationship between XAML and the objects which are being defined by the XAML, with their instance equivalents. Whenever, you create a new object, a new name scope will automatically be created. But, there is a problem in this, when name scope is being created for the dynamic objects, sometimes it causes an exception to occur or some kind of error.


Rohit Sharma 12-16-2011 04:04 AM

Silverlight interview questions and answers

What types of security measures are provided with Silverlight?
Silverlight is Microsoft based technology and it come up with some security features, to make it secure to use and implement. For secure communication its applications makes use of WCF services and uses WCF security features. SSL (Secure Socket Layer) can be used for security mechanism to give the transport layer security.

Does Silverlight application supports desktop implementation?
Yes, Silverlight supports desktop implementation. Newer version of Silverlight provides out-of-browser facility, by using this feature it can be physically deployed on the local machine. Silverlight 4.0 supports OOB facility that enhances the communication with other applications like Word, Excel etc. and with the local database like MS Access etc.

Where is the Silverlight application present?
Silverlight application resides on the host computer where the ASP.NET is installed. It resides in the ASP.NET webpage, but it can be hosted on other HTML pages too, by using the extension .xap. Silverlight application is made available to the browser when a user makes a HTTP request to ASP.NET page.

What are the controls provided in Silverlight for Line-of-Business (LOB) applications?
Silverlight provides lots of applications for Line-of-Business (LOB) to have better communication among the elements and also to enrich the properties of the application. The controls which are being provided by the Silverlight are as follows:
- Data Grid: The representation of data in a grid form
- Data Form: Representation of data in a form
- Chart controls: Representation of data in chart forms and has additional functionality to display the controls for customization.


Rohit Sharma 12-16-2011 04:04 AM

Silverlight interview questions and answers

What is the relationship between Silver Light, WPF and XAML?
Silverlight is used to read and render the user interface (UI) elements. XAML is a XML file that defines the user interface elements. This file is being read by the WPF framework. Microsoft developed WPF framework and then extended it to WPF/e, which helped the application to render user interface in the browser. Silverlight is being officially launched by Microsoft.

Explain SilverLight architecture?
Silverlight is a plugin that is provided by the Microsoft. Silverlight architecture includes the functionality from core .NET framework, Ajax and having some of its own functionality such as animation, media etc. The architecture consists of four blocks:
- .NET framework components: WPF is .NET framework, used in Silverlight.
- Presentation core: core presentation framework includes the display options such as images, vector animations etc.
- Other technologies: Ajax and JavaScript technologies are used to interact with Silverlight framework.
- Hosting: Silver-light animations run under the browser environment and it also provides lots of other application hosting programs.

What type of applications can be developed using Silverlight?
Silverlight is a plug-in, which can be used to develop web based or mobile based applications. Silverlight is used in those applications where you need to represent the graphics or the output should be in graphical format. Silverlight can be used in various types of Line-of-Business applications such as: Healthcare, Insurance, Logistics etc. One of the good example of its application is healthcare application.


Rohit Sharma 12-16-2011 04:03 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