Under Graduate Diploma In Computer Applications (U.G.D.C.
A)
VI – Semester Examination – 2018-2019
iwoZ&Lukrd fMIyksek va”kdkfyd f}rh; lel= ijh{kk 2018– 2019
Subject: Computer Applications
CAUD – 601: Visual Basic
Time: 2 Hours Max Mark: 70
Note: Answer five Questions in all, including Question 1, which is compulsory.
Figures on the right hand margin indicate Maximum Marks for each Question.
iz”u la[;k 1 ¼tks vfuok;Z gS½ lfgr dqy ik¡p iz”uks ds mÙkj nhft;sA nkfgus gkf”k;s esa
iz”ukas ds vad bafxr gSA
1. Define the followings in short: / fuEu dks la{ksi esa fy[ksa %
a) What are the various components available in Visual Basic IDE?
2
fotqvy csfld IDE esa miyC/k fofHkUu vo;o dks fy[ksAa
b) Define variable? / pj jkf”k dks ifjHkkf’kr dhft,A 2
c) What do you mean by Event-driven programming language?
2
Event-driven programming language ls vki D;k le>rs gS\
d)
What are the ADO objects? Explain them with examples. / ADO vkWctsDV 2
D;k gS\ mnkgj.k lfgr le>k;sAa
e) What is an Array? / ,sjs D;k gS\ 2
f)
What do you mean by NULL? / NULL ls vki D;k le>rs gSa\ 2
g)
What is an event procedure? / Event izkslhtj D;k gSa\ 2
2. a) Explain “FOR” and “WHILE” Loops with examples.
7
^^FOR” rFkk “WHILE” Loop dh O;k[;k mnkgj.k lfgr dhft,A
b)
Explain different types of operators in Visual Basic.
7
fotqvy csfld ds fofHkUu vkWijsVjksa dh O;k[;k dhft,A
3. a) Write short notes on the followings / fuEu ij laf{kIr uksV fyf[k;sA
Text Box Control / VsDlV ckWDl dUVªksy
7
Command Button Control / dek¡M cVu dUVªksy
Combo Box Control / dkWEcks ckWDl dUVªksy
b) Differentiate between local and Global variables.
7
Local vkSj Global pj jkf”k;ksa esa vUrj Li’V dhft,A
4. a) Explain the following in Visual Basic:
fotqvy csfld esa fuEu dh O;k[;k dhft,
Print Statement / fizUV dFku 7
Testing and Debugging / VsfLVax vkSj fMcfxax
Horizontal and Vertical Scroll Bar / {kSfrt o m/oZ Ldzzky ckj
b)
Explain the use of any four controls in Visual Basic?
7
fotqvy csfld esa fdUgh pkj dUVªksy ds iz;ksx dhs O;k[;k dhft,A
5. a)
What is the function of “Timer” control? Explain with example.
7
“Timer” control dk D;k mi;ksx gS\ mnkgj.k lfgr le>k;sAa
b) Write down the code script to “SAVE, UPDATE and DELETE” the record of
employee using ADODC control in Visual Basic. (Record such as empNo.,
empName, dept and salary ) 7
fotqvy csfld QkWeZ esa employee record dks lso] viMsV rFkk fMyhV djus
dk dksM fy[ksAa (Record such as empNo, empName, dept and salary)
6. a) Write down the procedure of designing report in Visual Basic and define
the Date Connection and Data Command also.
7
fotqvy csfld esa report design djus dh izfØ;k crk;sa rFkk MsVk dusD”ku
vkSj MsVk dekaM dks ifjHkkf’kr djsaA
b) How do you define Public and Private procedure? Explain with example.
7
izkbZosV rFkk ifCyd izkslhtj dSls mi;ksx djrs gS\ mnkgj.k lfgr le>k;sAa
7. a) What is use of Control Array? Define the salient feature of Control Array?
Explain with example.
7
daVªksy ,sjs dk D;k iz;ksx gS\ daVªksy ,sjs ds izeq[k fo”ks’krk,a crk,a\ mnkgj.k
lfgr le>k;sAa
b) Write down the procedure to add Menu Editor on MDI form ?
7
MDI QkWeZ esa esU;w ,fMVj dks yxkus dh izfØ;k crk;sa\
_______________