Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
VB.NET Part 1
VB.NET Part 2
VB.NET Part 3
VB.NET Part 4
VB.NET Part 5
 
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
 
ASP.NET
ADO.NET
NET Remoting
C#.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Database concepts
SQL Server
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
Operating System
Project Management
Linux
Testing
Networking
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills
Group discussion

VB.NET Interview Questions

VB.NET Interview questions and answer part 1

Next>>

Part 1 | Part 2 | Part 3 | Part 4 | part 5

By Nishant Kumar

Question - Define Assembly in .NET.
Answer-An assembly is the primary unit of a .NET application.
It includes an assembly manifest.
Manifest describes the assembly.

Question - Define Anchoring and Docking in .NET.
 
Answer -Anchoring treats the component as having the absolute size and adjusts its location relative to the parent form.
Docking treats the component location as absolute and disregards the component size. So if a status bar must always be at the bottom no matter what, use docking.
If a button should be on the top right, but change its position with the form being resized, use anchoring.

Question - Define Garbage collector in .NET.
Answer -GC is automatic memory reclamation.
It is low-priority thread that always runs in the background of the  application.
When memory is scarce, the priority of the garbage collector is elevated until sufficient resources are reclaimed. 
It is not certain when an object will be garbage collected.  

Question - Describe user interface design in .Net. 
Answer -User interface shouldvisually consistent.

Major elements of a user interface include forms, controls, and menus
A good user interface pays attention to the following considerations:
-Simplicity 
-Positioning of Controls
-Consistency 
- Aesthetics

 
Question - Define form in VB.NET. 

Answer - Forms are the primary unit of the user interface. 
Design of the form should be consistent, complete, and attractive visual interface.
You can add forms to your application at design time or at run time.
Forms have properties that control their appearance.
These properties include

- BackColor

- ForeColor

- Text

- Font

- Cursor

- BackGroundImage

- Opacity

 

Form provides several intrinsic methods to control their lifetime
- Form.Show
- Form.ShowDialog
- Form.Activate
- Form.Hide
- Form.Close

These methods causes change in the visual interface and raises various events
- Load
- Activated/Deactivate
- VisibleChanged
- Closing
- Closed


Question - Define Context menu in VB.NET.
Answer - It is useful for enabling access to commands in a variety of contextual situations 
It is created using ContextMenu control.
It is created at run time in the same manner as main menus

 
Question - Validation in VB.NET.

Answer - You haveForm-level and Field-level validation.

Form-level - Validates all fields on a form simultaneously.

Field-level validation validates each field as data is entered.

 
Question - TextBox control properties in VB.NET.

Answer - Textbox control has several properties that restrict the values users can enter
- MaxLength
- PasswordChar
- ReadOnly
- MultiLine

 
Question - Keyboard events in VB.NET.

Answer - Keyboard events allow you to validate keystrokes.
They are raised by the control that has the focus and is receiving  input.
Following are the keyboard events.
- KeyDown
- KeyUp
- KeyPress


Question - What are the major components of .NET framework?
Answer - Common Language Runtime: It helps in application execution, allocation and reclamation of memory, enforces type safety.
.Net base class library: It contains collection of classes used in application development.

Question - Define reference type and value type.
Answer - A value type holds the data assigned to it. A reference type contains the pointer i.e. memory address that holds the data.

Question - Which keyword do you use to reference class library members without specifying fully qualified name?
Answer - ’Import’ in VB.NET and ‘using’ in C#.NET.

Question - Define garbage collection.
Answer - GC is a low priority thread that runs in the background of the .Net application. It helps in destroying the objects from the memory that are no longer in used.


Question - Define constructors and destructors.
Answer - The constructor sets default value to the class and runs when the class is initialized. The destructor runs when an object is being destroyed by GC to reclaim memory.

 
VB.NET Interview questions with answers posted on July 22, 2008 at 8:10 am
Question - Is is possible to force garbage collector to run?

Answer
Yes, we can force garbage collector to run using System.GC.Collect().


October 30, 2008 at 18:10 pm by Amit Satpute

Explain the difference between Datagrid, Datalist and repeater.

They all are similar in the sense that they have a datasource property.

DataGrid DataList Repeater
Paging, sorting, editing ability Built-in No No
Repeat property No Yes Yes
Customization Restrictive Medium Customizable
Performance Less Better Best
Stylistic Yes Yes No

What is the use of Command builder?

Command builder generates insert/update/delete commands for data adapter based on select command. Automatic creation of insert/update/delete commands hinders performance. The command builder uses select command property of data adapter to determine values for other commands.

Explain the significance of Import and Using statement.

To have same names declared and used in one or more namespaces, import aliases can be used.

In C#, ‘using’ defines the scope of an object. It also obtains resources, runs the statements and then performs the clean up using the dispose method.

Explain the use of following COM+ services

JIT activation
Queued components
Object Pooling

When an application needs to be scaled up for heavy transactions, the server resources can be used efficiently using Just-in-Time (JIT) activation - an automatic COM+ service.

Queued components provide asynchronous message queuing.

Object Pooling provides a pool of ready-made objects.

 
Part 1 | Part 2 | Part 3 | Part 4 | part 5
Next>>

VB.NET Interview questions part 2 includes following questions with answers

Define shared member of the class. | Define class and structure. | What is visual inheritance? | How can you set tab order? | Define extender provider component. | Define field-level validation and form-level validation. | Steps to add a control to a form at run time. | Define implicit cast and explicit cast. | When do you use enums and constants?

VB.NET Interview questions part 3 includes following questions with answers

Define arrays and collections. | Why do you use properties instead of fields? | Define delegate. | Define parse method. | Briefly describe kinds of multidimensional arrays. | What is encapsulation? | Define method overloading. | Describe an abstract class. | Describe Break mode. | Define Watch window? | What is trace? Describe its working. | Describe exception handling in VB.NET. | What is data provider? Explain its components. | ADO.NET. | Explain commandType property of a SqlCommand object. | Define typed and untyped DataSet objects.

VB.NET Interview questions part 4 includes following questions with answers

Briefly describe DataView. | Define an XmlDataDocument. | Define SQL injection attack? | ReadXML, WriteXML, GetXML | Briefly describe user-defined controls. | Describe the role of the LicenseProvider in control licensing. | What are the requirements to access of the Certified for Windows logo program? | Steps to create localized form. | Explain the difference between Globalization and Localization. | What is strong name? | How do you retrieve resources at run time.

VB.NET Interview questions part 5 includes following questions with answers

Explain how to retrieve information from the configuration file at run time. | Define imperative and declarative security. | What is a shared assembly? | Define XCOPY deployment. | What is a native image? | What is a bootstrapper application?

Interview questions and answers on .Net web service includes following questions with answers

What is XML Web Server? | Describe the Components that help locate and consume XML Web Service. | Describe the process of communication between Client and Web Service. | What are the components published while deploying of Web Service? | Describe .disco file. | Describe the step to be followed to access web service by client.

.NET Code Security Interview questions with answers

What is code security? What are the types? | Define Principal object. | Define declarative and imperative security. | Define role-based security. | Explain code access security. | What is Code group? | Define the use of Caspol.exe.

.NET Debug & Trace Interview questions with answers 

What is break mode? What are the options to step through code? | Debug Vs Trace. | Define trace class. Define Listeners collection of Trace and Debug objects. | Define Trace Switches.

.Net Framework Interview Question with answers

Explain the .Net Framework. | Describe the .Net Framework Architecture. | What are the components of the .Net Framework. | Explain the role of assembly in the .Net Framework. | Describe the GAC in the .Net Framework.

.NET Assembly Interview questions with answers

Define .Net Assembly. | What does an assembly contain? | Define a private assembly and a shared assembly. | What are Satellite Assemblies? | What do you understand by side-by-site execution of assembly? | How do you create a resource-only assembly? | Explain how to retrieve resources using ResourceManager class. | Define Strong Name. | How do you apply a strong name to assembly? | Define Global Assembly Cache. | How do you install assembly to the Global Assembly Cache?

.Net Framework Interview Question with answers
Explain the .Net Framework. | Describe the .Net Framework Architecture. | What are the components of the .Net Framework. | Explain the role of assembly in the .Net Framework. | Describe the GAC in the .Net Framework.
.NET Assembly Interview questions with answers
Define .Net Assembly. | What does an assembly contain? | Define a private assembly and a shared assembly. | What are Satellite Assemblies? | What do you understand by side-by-site execution of assembly? | How do you create a resource-only assembly? | Explain how to retrieve resources using ResourceManager class. | Define Strong Name. | How do you apply a strong name to assembly? | Define Global Assembly Cache. | How do you install assembly to the Global Assembly Cache?  

 

Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.