GAD Practical No.1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Experiment No. 01:- Install Set Up and Use VB.

Net IDE (Integrated Development


Environment)
Q1, Differentiate between VB.Net and VB.
Ans-

VB .NET Visual Basic

It stands for Visual Basic. Network Enabled It is a programming language

Technology. It is also developed by Microsoft, and this developed by Microsoft for the fastest

language was based on the .Net Framework. development of a window-based

Furthermore, it is specially designed for VB operating system as well as

developers. applications.

It is a modern, fully object-oriented language that VB is the predecessor of VB.NET and

replaced VB6. was not an object-oriented language.

So, it is not actively maintained.

A VB.NET uses the Common Language Runtime (CLR) Visual Basic uses the VB-Runtime

component of .Net Framework at runtime. It has better environment.

features and design implementation as compared to

VB-Runtime.

It is a compiled language It is an Interpreter based language

It does not support backward compatibility. It supports backward compatibility.

It is a type-safe language. It is not a type-safe language.

In VB.NET, data is handled using the ADO.net protocol. Data Connectivity and handling are

done through DAO, RDO, and ADO

(ActiveX Data Object) protocol,

Object does not support default property. The Object supports the default

property of virtual basic.

In the VB.Net parameter are passed by a default value. In VB, most of the parameters are

passed by reference.

A Multithreaded application can be developed in It does not support the multi thread

VB.NET. concept.

Q2. How many languages are supported by .Net Framework?


Ans-.NET Framework supports more than 60 programming languages in which 11
programming languages are designed and developed by Microsoft.
Experiment No. 01:- Install Set Up and Use VB.Net IDE (Integrated Development
Environment)

Q3. Illustrate the use of Just in Time compiler in VB.Net


Ans- Just-In-Time compiler(JIT) is a part of Common Language Runtime (CLR) in .NET
which is responsible for managing the execution of .NET programs regardless of any
.NET programming language. A language-specific compiler converts the source code
to the intermediate language. This intermediate language is then converted into the
machine code by the Just-In-Time (JIT) compiler. This machine code is specific to the
computer environment that the JIT compiler runs on.

Q4. Define user defined namespaces and write procedures.


Ans- User defined namespaces:
(i) They allow you to create a system to organize your code.

(i) Each namespace has a name, and in order to guarantee that the names of different
namespaces are different, you use a unique rule for naming them.

(iii) User defined namespaces helps us to control the scope of class and method
names in larger programming projects.

(iv) We access a member of namespace by using .(dot operator) also called as period
operator.The members of the namespaces are variables,procedures and classes that
are defined within a namespace.

(v) You can not have two classes with the same name in the same scope.We can void
this by putting with the same name in a different scope.

(vi) We can define a namespace using the 'Namespace' keyword.

Procedures in vb. net:

(i) Procedure is a piece of code in a larger program.

(ii) It is a unit of code enclosed either between the sub and end sub statements or also
Function of sub function statements.

(iii) if we have code that performs same task in different places, we can write the task
once as a procedure and call it from different places in code.

Q5. Write the various system requirements for installation of VB.Net

Processor
PC with a Pentium II-class processor, 450 MHz

(recommended: Pentium III-class, 600MHz)


Experiment No. 01:- Install Set Up and Use VB.Net IDE (Integrated Development
Environment)

RAM Windows NT 4.0 Workstation - 64 MB, Windows NT 4.0 Server -


160 MB

(recommended: 96 MB for Workstation, 192 MB for Server)

Windows 2000 Professional - 96 MB; Windows 2000 Server -


192 MB

(recommended: 128 MB for Professional, 256 MB for Server)

Windows XP Professional - 160 MB

(recommended: 192 MB)

Windows XP Home - 96 MB

(recommended: 160 MB)

Available Hard Disk 600 MB on system drive, 1.5 GB installation drive


Space

Operating System Windows 2000, Windows XP and Windows NT 4.0

CD-ROM or DVD- Required


ROM Drive

Video 800 x 600, 256 colors (recommended: High Color 16-bit)

Mouse Microsoft mouse or compatible

You might also like