Friday, May 15, 2020

West Bengal Board class 11 visual basic program 4. get input from inputbox and check it is positive negative or zero

West Bengal Board class 11 visual basic program 4. get input from inputbox and check it is positive negative or zero

Get input using inputbox, and then check it is positive or negative or zero in vb6,print using msgbox (visual basic)


Private Sub Form_Load()
Dim a As Integer
a = Int(InputBox("enter a number"))
If a = 0 Then
MsgBox (a & "is zero")
ElseIf a > 0 Then
MsgBox (a & "is positive")
Else
MsgBox (a & "is nagetive")
End If
 End Sub

West Bengal Board class 11 visual basic program 3. get input using inputbox and then sum of digit

West Bengal Board class 11 visual basic program 3. get input using inputbox and then sum of digit

Get input using inputbox, and then sum of digits (2digit) and display using msgbox in vb6(visual basic)


Private Sub Form_Load()
Dim a, b, c As Integer
a = Int(InputBox("enter a number"))
b = a Mod 10
c = a \ 10
d = b + c
MsgBox (d)
End Sub

West Bengal Board class 11 visual basic program 2. input a number and check it is even or odd



West Bengal Board class 11 visual basic program 2. input a number and check it is even or odd


West Bengal Board class 11 visual basic program 1. input numbers using inputbox and then print sum

West Bengal Board class 11 visual basic program 

1.  input  numbers using inputbox and then print sum


Monday, May 11, 2020

DATA STRUCTURE AND ANALYSIS OF ALGORITHM THEORY

1.  ADT
2.  ARRAY
3.  STACK
4. QUEUE
5. LINK LIST
6. CIRCULAR LINK LIST
7. DOUBLY LINK LIST
8. SEARCHING - CLICK HERE
9. SORTING - CLICK HERE
10. HASHING
11. BINARY TREE
12. HASHING
13. GRAPH THEORY ALGORITHMS  - CLICK HERE
14. RED-BLACK TREE. - i ) insertion - CLICK HERE

SORTING

    CONCEPT AND ALGORITHM
1. BUBBLE SORT  -  CLICK HERE
2. SELECTION SORT - CLICK HERE
3. INSERTION SORT - CLICK HERE
4. MERGE SORT - CLICK HERE
5. QUICK SORT - CLICK HERE
6. HEAP SORT - CLICK HERE 
7. RADIX SORT - CLICK HERE
8. BUCKET SORT
9. SHELL SORT

COMPARISON AND  COMPLEXITY

1. BUBBLE SORT
2. SELECTION SORT
3. INSERTION SORT
4. MERGE SORT
5. QUICK SORT
6. HEAP SORT
7. RADIX SORT
8. BUCKET SORT
9. SHELL SORT






BUBBLE SORT CONCEPT AND ALGORITHM

BUBBLE SORT CONCEPT AND ALGORITHM