PRAVEEN VB

Embed Size (px)

Citation preview

  • 8/3/2019 PRAVEEN VB

    1/44

    BBA 05113401709

    Q.1 Print your detail on a form.

    PRAVEENKR PAGE 1 CA-1

  • 8/3/2019 PRAVEEN VB

    2/44

    BBA 05113401709

    Coding Window:

    PRAVEENKR PAGE 2 CA-1

  • 8/3/2019 PRAVEEN VB

    3/44

    BBA 05113401709

    PRAVEENKR PAGE 3 CA-1

  • 8/3/2019 PRAVEEN VB

    4/44

    BBA 05113401709

    Q.2 Write a program to create a basic calculator.

    PRAVEENKR PAGE 4 CA-1

  • 8/3/2019 PRAVEEN VB

    5/44

    BBA 05113401709

    Coding window:

    PRAVEENKR PAGE 5 CA-1

  • 8/3/2019 PRAVEEN VB

    6/44

    BBA 05113401709

    Running window:

    PRAVEENKR PAGE 6 CA-1

  • 8/3/2019 PRAVEEN VB

    7/44

    BBA 05113401709

    Q.3 Write a program to find out square and cube of a given

    number.

    PRAVEENKR PAGE 7 CA-1

  • 8/3/2019 PRAVEEN VB

    8/44

    BBA 05113401709

    Coding window:

    PRAVEENKR PAGE 8 CA-1

  • 8/3/2019 PRAVEEN VB

    9/44

    BBA 05113401709

    PRAVEENKR PAGE 9 CA-1

  • 8/3/2019 PRAVEEN VB

    10/44

    BBA 05113401709

    Q: 4 Write a program to print the table of 0 to 20 number.

    PRAVEENKR PAGE 10 CA-1

  • 8/3/2019 PRAVEEN VB

    11/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 11 CA-1

  • 8/3/2019 PRAVEEN VB

    12/44

    BBA 05113401709

    Q. 5 write a program to print the factorial of a given number

    PRAVEENKR PAGE 12 CA-1

  • 8/3/2019 PRAVEEN VB

    13/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 13 CA-1

  • 8/3/2019 PRAVEEN VB

    14/44

    BBA 05113401709

    Q: 6 write a program to show a swapping of value of two

    variables.

    PRAVEENKR PAGE 14 CA-1

  • 8/3/2019 PRAVEEN VB

    15/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 15 CA-1

  • 8/3/2019 PRAVEEN VB

    16/44

    BBA 05113401709

    Q.8 Show the working of option button

    PRAVEENKR PAGE 16 CA-1

  • 8/3/2019 PRAVEEN VB

    17/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 17 CA-1

  • 8/3/2019 PRAVEEN VB

    18/44

    BBA 05113401709

    Q.9 Show the working of check box

    PRAVEENKR PAGE 18 CA-1

  • 8/3/2019 PRAVEEN VB

    19/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 19 CA-1

  • 8/3/2019 PRAVEEN VB

    20/44

    BBA 05113401709

    Q. 10 Write a program to calculate the average of 3 given

    number.

    PRAVEENKR PAGE 20 CA-1

  • 8/3/2019 PRAVEEN VB

    21/44

    BBA 05113401709

    Coding windows:

    Running windows:

    PRAVEENKR PAGE 21 CA-1

  • 8/3/2019 PRAVEEN VB

    22/44

    BBA 05113401709

    Q. 11 Write a program that accept the number between 1 to 7 and print the

    particular days of weak, through if statement.

    PRAVEENKR PAGE 22 CA-1

  • 8/3/2019 PRAVEEN VB

    23/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 23 CA-1

  • 8/3/2019 PRAVEEN VB

    24/44

    BBA 05113401709

    Q. 12 Write a program to print the following Fibonacci series

    on the form.

    PRAVEENKR PAGE 24 CA-1

  • 8/3/2019 PRAVEEN VB

    25/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 25 CA-1

  • 8/3/2019 PRAVEEN VB

    26/44

    BBA 05113401709

    Q. 13 write a program to show the working of Input box() and Msgbox().

    PRAVEENKR PAGE 26 CA-1

  • 8/3/2019 PRAVEEN VB

    27/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 27 CA-1

  • 8/3/2019 PRAVEEN VB

    28/44

    BBA 05113401709

    Q. 14 Write a program to find out the greatest among the three

    numbers.

    PRAVEENKR PAGE 28 CA-1

  • 8/3/2019 PRAVEEN VB

    29/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 29 CA-1

  • 8/3/2019 PRAVEEN VB

    30/44

    BBA 05113401709

    Q.15 Write a program to print the following output on the form.

    1. * 2. 1 3. A

    ** 22 AB

    *** 333 ABC

    **** 4444 ABCD

    PRAVEENKR PAGE 30 CA-1

  • 8/3/2019 PRAVEEN VB

    31/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 31 CA-1

  • 8/3/2019 PRAVEEN VB

    32/44

    BBA 05113401709

    Q. 16 write a program to check the given number is even or odd.

    PRAVEENKR PAGE 32 CA-1

  • 8/3/2019 PRAVEEN VB

    33/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 33 CA-1

  • 8/3/2019 PRAVEEN VB

    34/44

    BBA 05113401709

    Q. 17 Write a program to check weather given Year is leap or not.

    PRAVEENKR PAGE 34 CA-1

  • 8/3/2019 PRAVEEN VB

    35/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 35 CA-1

  • 8/3/2019 PRAVEEN VB

    36/44

    BBA 05113401709

    Q18the working of hex, oct,val.

    PRAVEENKR PAGE 36 CA-1

  • 8/3/2019 PRAVEEN VB

    37/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 37 CA-1

  • 8/3/2019 PRAVEEN VB

    38/44

    BBA 05113401709

    Q:19 Show the working of array.

    PRAVEENKR PAGE 38 CA-1

  • 8/3/2019 PRAVEEN VB

    39/44

    BBA 05113401709

    Coding window:

    Running window:

    PRAVEENKR PAGE 39 CA-1

  • 8/3/2019 PRAVEEN VB

    40/44

    BBA 05113401709

    Q20Create a function, show the call by value and call

    reference.

    Coding Window

    Call By Value

    Running Window

    PRAVEENKR PAGE 40 CA-1

  • 8/3/2019 PRAVEEN VB

    41/44

    BBA 05113401709

    Call by Reference

    Running Window

    PRAVEENKR PAGE 41 CA-1

  • 8/3/2019 PRAVEEN VB

    42/44

    BBA 05113401709

    PRAVEENKR PAGE 42 CA-1

  • 8/3/2019 PRAVEEN VB

    43/44

    BBA 05113401709

    Q21Write a program to create a array to store the value of 15

    student.

    Coding Window

    Running Window

    PRAVEENKR PAGE 43 CA-1

  • 8/3/2019 PRAVEEN VB

    44/44

    BBA 05113401709