Sie sind auf Seite 1von 44

BBA

05113401709

Q.1 Print your detail on a form.

PRAVEENKR

PAGE 1

CA-1

BBA

05113401709

Coding Window:

PRAVEENKR

PAGE 2

CA-1

BBA

05113401709

PRAVEENKR

PAGE 3

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 4

CA-1

BBA

05113401709

Coding window:

PRAVEENKR

PAGE 5

CA-1

BBA Running window:

05113401709

PRAVEENKR

PAGE 6

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 7

CA-1

BBA Coding window:

05113401709

PRAVEENKR

PAGE 8

CA-1

BBA

05113401709

PRAVEENKR

PAGE 9

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 10

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 11

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 12

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 13

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 14

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 15

CA-1

BBA

05113401709

Q.8 Show the working of option button

PRAVEENKR

PAGE 16

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 17

CA-1

BBA

05113401709

Q.9 Show the working of check box

PRAVEENKR

PAGE 18

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 19

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 20

CA-1

BBA

05113401709

Coding windows:

Running windows:

PRAVEENKR

PAGE 21

CA-1

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

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 23

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 24

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 25

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 26

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 27

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 28

CA-1

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 29

CA-1

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

BBA Coding window:

05113401709

Running window:

PRAVEENKR

PAGE 31

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 32

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 33

CA-1

BBA

05113401709

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

PRAVEENKR

PAGE 34

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 35

CA-1

BBA Q18the working of hex, oct,val.

05113401709

PRAVEENKR

PAGE 36

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 37

CA-1

BBA

05113401709

Q:19 Show the working of array.

PRAVEENKR

PAGE 38

CA-1

BBA

05113401709

Coding window:

Running window:

PRAVEENKR

PAGE 39

CA-1

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

BBA

05113401709

Call by Reference

Running Window
PRAVEENKR PAGE 41 CA-1

BBA

05113401709

PRAVEENKR

PAGE 42

CA-1

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

BBA

05113401709

PRAVEENKR

PAGE 44

CA-1

Das könnte Ihnen auch gefallen