Академический Документы
Профессиональный Документы
Культура Документы
• Basics
• Procedure- Sub , Function and Property Procedures
• Sub Procedures
• Function Procedures
• Modules
• Recapitulation
Prep ared By-
Designed by --
• Assignment A.P.S.
A.P.S. Ku shwah
Kushwah
PGT
PGT- -CS
CS
Ken
Kenriya
d driya Vidy
Vidalaya
yalaya , ,Damooh
Damh
General Aim
To understand the nature of Computer Science and IT by applying basic scientific and
conceptual approach of thinking, problem solving and decision-making.
To understand logical thinking.
The problem has to be understood thoroughly and the expected output has to be
identified.
To relate theoretical knowledge with project based learning.
Specific Aim
• After completion of this topic students should come to know about the problem solving
and decision making techniques by using procedure and modules in VB..
• They will know about the phenomena of stored program blocks for performing
repetitive actions and decision-making.
• To provide the knowledge about modularity and handling of stored procedure blocks.
Teaching Method
• Lecture cum Demonstration method along with question - answer activity will be
followed
Teaching Aids
• White board, Marker, Rubber, Computer& LCD Projector and other peripherals
Motivation
• Students should be motivated by using sum questions which are general type and
Linked with there previous knowledge such as
• What is a Program?
• How to design a program in VB?
• What are the major types of control statements used in VB?
• What is Modularity?
• What is code container?
• How to define code containers in VB?
• How to define procedures and modules and implement them?
Presentation
Introduction
• Today we are going to learn about procedures in VB and how to organize them in
various ways?
Aim
• Today we are going to focus on the significance of Visual Basic procedures and
Modules.
Ans 4
Q4. Give the difference A function can return a value
Function Procedure
between function and sub but a sub procedure can’t return
procedures in VB? a value.
Library functions are the Ans5 Library functions are
Library Function inbuilt functions, which are
defined by the compiler. defined by the compiler,
Q.5 What is the difference whereas UDF’s are defined
between a library function by the Users.
a. String Functions- len(),
and UDF? Give the types of
Mid(),Lcase(),Ucase() etc
Modules Library Functions?
b. Numeric Function- Fix(),
Modules are the building
blocks of a project. It is a int(), round(), RND() etc
collection of procedures c. Date & Time Functions
functions and events. That’s
why it is also called code Date(), now() etc
container. d. Miscellaneous Functions-
There are three types of
modules. Msgbox(), inputbox()
a. Form Module
b. Standard Module
c. Class Module Ans6 Code container stores
Q6. What is container?
some thing. Since module
Why module is called as code
stores codes and procedures
container?
that’s why it is a ontainer.
Recapitulation/Evaluatory Questions :-
Q.1 What are the different types of blocks used in VB?
Q.5 What are the different types of functions are used in VB?
Q.6. What do you mean Library function? Differentiate between library function and
user defined functions?
Sh. M.P.Singh
Principal Sh. ……………
K V Damoh Principal
KV……………
Comment Pl’s:
…………………………
…………………………
…….................................