1) Differentiate between VB.Net and VB.
VB:
(1) VB6 was interpreter based language.
(2) VB non-object oriented principle based language
(3) Data Handling in VB6 is DAO protocol, then RDO, followed by ADO (ActiveX Data Objects).
(4)VB6 used the VB-Runtime
(5)No Type safe language
(6)Multithreaded applications Cannot be developed
(7)Parameter passing Most are passed by reference
VB.NET:
(1) VB.NET is a compiled language.
(2) VB.NET object oriented principle based language
(3)VB.Net Data is handled using ADO.net
(4) VB.NET uses the .Net Common Language Runtime (.Net CLR). The CLR(Common Language Runtime ) is much better designed and implemented than VB-Runtime.
(5)Type safe language.
(6)Multithreaded applications can be developed.
(7)Parameter passing Default is passing by value
VB:
(1) VB6 was interpreter based language.
(2) VB non-object oriented principle based language
(3) Data Handling in VB6 is DAO protocol, then RDO, followed by ADO (ActiveX Data Objects).
(4)VB6 used the VB-Runtime
(5)No Type safe language
(6)Multithreaded applications Cannot be developed
(7)Parameter passing Most are passed by reference
VB.NET:
(1) VB.NET is a compiled language.
(2) VB.NET object oriented principle based language
(3)VB.Net Data is handled using ADO.net
(4) VB.NET uses the .Net Common Language Runtime (.Net CLR). The CLR(Common Language Runtime ) is much better designed and implemented than VB-Runtime.
(5)Type safe language.
(6)Multithreaded applications can be developed.
(7)Parameter passing Default is passing by value
2) How many languages are supported by .Net Framework ?
.Net 2.0:
net version 2.0 is able to support upto 40+ languages
.Net 3.5:
.net 3.5 version can support upto 60+ languages
.Net 4.0:
.NET Framework 4.0 supports 96+ languages
Ex: Ada,c,c++, python , c#, java , javaScript , Oz, RPG.
1) Illustrate the use of Just in Time compiler in VB.net
Implicit compilation is a two-step process. The first step is converting the source code to intermediate language (IL) by a language-specific compiler. The second step is converting the IL to machine instructions. The main difference with the explicit compilers is that only executed fragments of IL code are compiled into machine instructions, at run-time.The .NET framework calls this compiler the JIT (Just-In-Time) compiler.
2) Define user defined namespaces and write procedures.
Namespace Contains
Classes of objects [...];
Structures [...];
Modules [...];
Interfaces [...];
Delegates [...];
Enumeration [...];
Other namespaces.
Syntax:
Namespace <Namespace Name>
End Namespace
3)Write the various system requirements for installation of VB.Net
Processor: x86 or x64 1 GHz Pentium processor or equivalent (minimum); 1 GHz Pentium processor or equivalent (recommended)
RAM: 512 MB (minimum); 1 GB (recommended)
Display: 800 x 600, 256 colors (minimum); 1024 x 768 high color, 32-bit (recommended)
Hard disk: up to 1.5 GB of available space may be required
Microsoft mouse or compatible pointing device