CBSE Class 12 Informatics Practices Procedures Functions And Modules Notes

Download CBSE Class 12 Informatics Practices Procedures Functions And Modules Notes in PDF format. All Revision notes for Class 12 Informatics Practices have been designed as per the latest syllabus and updated chapters given in your textbook for Informatics Practices in Class 12. Our teachers have designed these concept notes for the benefit of Class 12 students. You should use these chapter wise notes for revision on daily basis. These study notes can also be used for learning each chapter and its important and difficult topics or revision just before your exams to help you get better scores in upcoming examinations, You can also use Printable notes for Class 12 Informatics Practices for faster revision of difficult topics and get higher rank. After reading these notes also refer to MCQ questions for Class 12 Informatics Practices given on studiestoday

Revision Notes for Class 12 Informatics Practices Procedures Functions And Modules

Class 12 Informatics Practices students should refer to the following concepts and notes for Procedures Functions And Modules in Class 12. These exam notes for Class 12 Informatics Practices will be very useful for upcoming class tests and examinations and help you to score good marks

Procedures Functions And Modules Notes Class 12 Informatics Practices

Procedures, Functions and Modules

It’s a named unit of a group of program statement that performs a well defined task. This unit can be called from the calling program.

Role of Procedure:

Increase Reusability – Using same code again and again.

Modularization – Means to divide a Big program into small modules.

1) Sub -           A procedure performs a task and does not return a value.

                        Private/Public Sub Procedure-Name( parameter list) Statements End Sub

Eg: Write a VB Procedure that receives a number and check that it is even or odd.

Called Procedure:-

Sub checkEvenOdd (x as Integer)

If x mod 2 = 0 then

Print “Even No.”

Else

Print “Odd No.”

End if

End Sub


Calling Program:-

Private sub command1_click( )

Dim A as Integer

A = val(Inputbox(“Enter a No”))

Call checkEvenOdd (A)

End Sub

2) Function - A procedure performs a task and returns a value.

Private/Public Function Function-Name( parameter list)

Statements

End Function

Eg: Write a VB Function that receives a number and Returns True if it is even otherwise False.


Called Function:

Function checkEvenOdd (x as Integer) As Boolean

If x mod 2 = 0 then

checkEvenOdd = TRUE

Else

checkEvenOdd = FALSE

End if 


Calling Program:

Private sub command1_click( )

Dim x as Boolean

Dim A as Integer

A = val (Inputbox (“Enter a No”) )

x = checkEvenOdd (A)

If x = TRUE then

Msgbox “Even No.”

Else

Msgbox “Odd No.”

End If

End Sub


Call byVal and Call byRef:-

The call byVal method copies the values of actual parameter into the formal parameters, ie. The procedure creates its own copy of argument values and then uses them. Only a copy of a variable is passed to the called procedure and if the procedure changes the value, the changes affects only the copy and not reflected back to the original variable itself.

Sub DemoByValue( ByVal x as Intyege )

x = x + 10

Print x

End Sub

Private sub mainprg( )

Dim A as Integer

A = 10

Print A

Call DemoByValue( A)

Print A

End Sub

The O/P is:

10

20

10

The call byRef method does not creates its own copy of original values, rather it refers to the original values only by different names called reference, and thus the called procedure works with the original data and any changes in the values gets reflected to thedata.

Sub DemoByReference ( ByRef x as Integer )

x = x + 10

Print x 

End Sub

Private sub mainprg( )

Dim A as Integer

A = 10

Print A

Call DemoByReference ( A)

Print A

End Sub

The O/P is:

10

20

20

Code Modules:-

A module is a container in VB, that contain some variables, procedures and definition.

Three types of Modules are:

1) Form Module - Stores all the procedures and declarations pertaining to single form. Form modules are stored with .FRM extension.

2) Standard Module - Store general purpose code of the application, ie code and declaration that are not specific to a form. Standard modules are stored with .BAS extension.

3) Class Module - It stores the blueprint for user created custom object. Class modules are stored with .CLS extension.


Variable Scope: -

The part of a program within which a variable is accessible, is known as its scope.

Three Variable Scopes are:

1) Private Scope/ Local Scope - Variables declared within a procedure are in local scope.

2) Module Scope  - Variables available for all the procedures within that module.

3) Public Scope / Global Scope - Variables declared with public statement and available to the application.

Static Variables: Local and Static variable differ by their life span. Static variables retain its value even after the procedure has finished executing.

                             Which variable is static in the following function?

Static function MyFunction ( )

        Static X1 as Integer

        Dim Y1 as Integer

       End Function

Ans: - Both X1 and Y1 are static variables because a Static function makes all its local variables Static.


Please click the link below to download pdf file for CBSE Class 12 Informatics Practices Procedures Functions and Modules Study Notes.

More Study Material

CBSE Class 12 Informatics Practices Procedures Functions And Modules Notes

We hope you liked the above notes for topic Procedures Functions And Modules which has been designed as per the latest syllabus for Class 12 Informatics Practices released by CBSE. Students of Class 12 should download and practice the above notes for Class 12 Informatics Practices regularly. All revision notes have been designed for Informatics Practices by referring to the most important topics which the students should learn to get better marks in examinations. Studiestoday is the best website for Class 12 students to download all latest study material.

Notes for Informatics Practices CBSE Class 12 Procedures Functions And Modules

Our team of expert teachers have referred to the NCERT book for Class 12 Informatics Practices to design the Informatics Practices Class 12 notes. If you read the concepts and revision notes for one chapter daily, students will get higher marks in Class 12 exams this year. Daily revision of Informatics Practices course notes and related study material will help you to have a better understanding of all concepts and also clear all your doubts. You can download all Revision notes for Class 12 Informatics Practices also from www.studiestoday.com absolutely free of cost in Pdf format. After reading the notes which have been developed as per the latest books also refer to the NCERT solutions for Class 12 Informatics Practices provided by our teachers

Procedures Functions And Modules Notes for Informatics Practices CBSE Class 12

All revision class notes given above for Class 12 Informatics Practices have been developed as per the latest curriculum and books issued for the current academic year. The students of Class 12 can rest assured that the best teachers have designed the notes of Informatics Practices so that you are able to revise the entire syllabus if you download and read them carefully. We have also provided a lot of MCQ questions for Class 12 Informatics Practices in the notes so that you can learn the concepts and also solve questions relating to the topics. All study material for Class 12 Informatics Practices students have been given on studiestoday.

Procedures Functions And Modules CBSE Class 12 Informatics Practices Notes

Regular notes reading helps to build a more comprehensive understanding of Procedures Functions And Modules concepts. notes play a crucial role in understanding Procedures Functions And Modules in CBSE Class 12. Students can download all the notes, worksheets, assignments, and practice papers of the same chapter in Class 12 Informatics Practices in Pdf format. You can print them or read them online on your computer or mobile.

Notes for CBSE Informatics Practices Class 12 Procedures Functions And Modules

CBSE Class 12 Informatics Practices latest books have been used for writing the above notes. If you have exams then you should revise all concepts relating to Procedures Functions And Modules by taking out a print and keeping them with you. We have also provided a lot of Worksheets for Class 12 Informatics Practices which you can use to further make yourself stronger in Informatics Practices

Where can I download latest CBSE Class 12 Informatics Practices Procedures Functions And Modules notes

You can download notes for Class 12 Informatics Practices Procedures Functions And Modules for latest academic session from StudiesToday.com

Can I download the Notes for Procedures Functions And Modules Class 12 Informatics Practices in Pdf format

Yes, you can click on the link above and download notes PDFs for Class 12 Informatics Practices Procedures Functions And Modules which you can use for daily revision

Are the revision notes available for Procedures Functions And Modules Class 12 Informatics Practices for the latest CBSE academic session

Yes, the notes issued for Class 12 Informatics Practices Procedures Functions And Modules have been made available here for latest CBSE session

How can I download the Procedures Functions And Modules Class 12 Informatics Practices Notes pdf

You can easily access the link above and download the Class 12 Notes for Informatics Practices Procedures Functions And Modules for each topic in Pdf

Is there any charge for the Class 12 Informatics Practices Procedures Functions And Modules notes

There is no charge for the notes for CBSE Class 12 Informatics Practices Procedures Functions And Modules, you can download everything free of charge

Which is the best online platform to find notes for Procedures Functions And Modules Class 12 Informatics Practices

www.studiestoday.com is the best website from which you can download latest notes for Procedures Functions And Modules Informatics Practices Class 12

Where can I find topic-wise notes for Class 12 Informatics Practices Procedures Functions And Modules

Come to StudiesToday.com to get best quality topic wise notes for Class 12 Informatics Practices Procedures Functions And Modules

Can I get latest Procedures Functions And Modules Class 12 Informatics Practices revision notes as per CBSE syllabus

We have provided all notes for each topic of Class 12 Informatics Practices Procedures Functions And Modules as per latest CBSE syllabus