Vb net Programming Flashcards

1
Q

What is full form of CLR?

A

COMMON LANGUAGE RUNTIME

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define CLR

A

The CLR is described as the “execution engine” of .net it provides the environment within which the programs run.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CLR Provide Services Names

A

Code compilation
Memory allocation(memory management)
Thread management
Garbage collection
Exception handling
Security mechanisms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Full form of FCL?

A

Framework Class Library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Full form of BCL?

A

Base Class Library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Description of Common type System?

A

Common Type System (CTS) describes a set of data types it ensures that objects written in different .NET supported languages can interact with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describes Common Language Specification

A

It is subset of CTS.it defines a set of rules and restrictions that every language must follow which runs under .NET framework.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to declare of Variables & Data Types.

A

Dim keyword use Declare variables:
Dim Area as Integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Definition of Boxing

A

Boxing means converting a value type variable to object type boxing is implicit conversion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

definition of unboxing User define data types

A

Unboxing means converting an object type to value type variable unboxing is explicit conversion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Conditional Statement declaration in VB .NET

A

if conditional then
Statements
Else if conditional then
Statements
End If

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Select case Statement Syntex

A

Select Case TextExpression
Case ExpressionList
Statements
Case ExpressionList2
Statements
Case Else
Statements
End Select

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Vb .NET For loop Statement Syntex.

A

For counter[As Datatype]=start To end [Step end]
Statements
Next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Use namespaces advantage

A

The main advantage of using namespaces is to avoid conflicts when you have mulitple classes with the same name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Visual Studio .Net Input box Syntex

A

Dim asn as String
ans=InputBox(“plese enter the name”,”demo”,”OM”,200,200)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Vb net Source file extension

A

.vb forms code file

17
Q

What is Procedure?

A

Procedure is a named sequence of statements, which performs one or more specific tasks, and it is executed when it is called. Procedure is identified by having a name.

18
Q

types of Procedures

A

Sub-procedures
function procedures
Event procedures

19
Q

Date & time Functions

A

Dim DTI as Date=11/12/2022
Msgbox(DTI.Year);

20
Q

how to show current day and time in vb .net.

A

Use of now function syntex:
Now()

21
Q

Calculate in Power in vb net

A

MsgBox(System.Math.Pow(5,2))

22
Q

How to check Input Value in Number.

A

Dim STR as String=”Decoder”
MsgBox(IsNumeric(STR))
Output: False

23
Q

Which Function use to convert string into Date Function?

A

Ctype it uses to convert one data type to another data type.
exp: Dt=CType(STR,Date);