Skip to main content

CTEVT II/I (2073) Visual Programming

CTEVT 2nd Year/ 1st Part
Subject : Visual Programming
Program : Diploma in Computer / IT Eng.


1. What is IDE? Explain various element of visual basic. [2+6=8]
2. (a) What do you mean by "Event driven programming"? [3]
    (b) What is Recursion? Define procedure and it's types? [5]
3. Design and WAP code to read any three numbers and find biggest number. [8]
4. What is Active x control used for? Explain with example. [8]
5. What do you mean by co-ordinate system? Explain the methods used to draw line, circle and specifying color in VB. [8]
6. Differentiate betwee: Any Two [2x4=8]
    (a) Image box and picture box.
    (b) Checkbox and option button.
    (c) List box and combo box.
7. Define visual data manager. Write down the steps to connect the database using ADODC. [8]
8. Design an interface to ask the "Name and age" of five different student and process the average age. Also write VB code for design. [8]
9. Differentiate between "Random Access file" and sequential file Access and salary and store the information in emp.dat sequential access file. [8]
10. Write short notes on: [2x5=10]
    (a) Adding menu to form (steps)
    (b) Timer & Array


1. What is event driven programming? Explain various element of visual basic user interface. [2+6=8]
2. Define procedure. Explain the types of procedures supported by visual basic. [2+6=8]
3. What is Collection? What is its importance? Explain various method of properties of collection with example. [2+2+4=8]
4. What is active-x control? Explain text box and label box with their properties. [2+6=8]
5. Differentiate between: [4+4=8]
    (a) List box and combo box
    (b) Call by value and call by reference
6. Explain timer control with an appropriate example. [8]
7. What do you mean by co-ordinate system? Explain the methods used to draw line, circle and specifying color in VB. [2+6=8]
8. What is random access file? Explain the process of reading from and writing to random access file. [2+3+3=8]
9. Design an interface to ask the name and marks in five different subject and process the result. Also write VB code for the design. [8]
10. Define visual data manager, Write down the steps to connect to database using ADODC [8]
10. Write short notes on: Any Two [4x2=8]
 Scrollbar
Common dialog control
Binary file

Comments

Our Popular Posts

WAP to enter three numbers and find middle number among them.

// WAP to enter three numbers and find middle number among them. #include<stdio.h> #include<conio.h> void main ( ) { int a , b , c ; clrscr ( ) ; printf ( "Enter three number: \n " ) ; scanf ( "%d%d%d" ,& a ,& b ,& c ) ; if ( ( a > b && a < c ) || ( a > c && a < b ) ) printf ( "%d is middle number" , a ) ; else if ( ( b > a && b < c ) || ( b > c && b < a ) ) printf ( "%d is middle number" , b ) ; else printf ( "%d is middle number" , c ) ; getch ( ) ; } Output:

CTEVT I/II (2073) Electrical Engineering

CTEVT 1st Year/ 2nd Part Subject : Electrical Engineering Year : 2073 Program : Diploma in Computer / IT Eng. (New) Page contain : 2

WAP to find the distance between two points (x1,y1) and (x2,y2).

// WAP to find the distance between two points (x1,y1) and (x2,y2). #include <stdio.h> #include <conio.h> #include <math.h> void main() { int x1,y1,x2,y2; float a=0,b=0,d=0; clrscr(); printf( "Enter x1:\n" ); scanf( "%d" ,&x1); printf( "Enter y1:\n" ); scanf( "%d" ,y1); printf( "Enter x2:\n" ); scanf( "%d" ,x2); printf( "Enter y2:\n" ); scanf( "%d" ,y2); a=x2-x1; b=y2-y1; d=sqrt(a*a+b*b); printf( "Distance = %f" ,a); getch(); }