Download the latest CBSE Class 12 Informatics Practices Library Functions Notes in PDF format. These Class 12 Informatics Practices revision notes are carefully designed by expert teachers to align with the 2025-26 syllabus. These notes are great daily learning and last minute exam preparation and they simplify complex topics and highlight important definitions for Class 12 students.
Chapter-wise Revision Notes for Class 12 Informatics Practices Library Functions
To secure a higher rank, students should use these Class 12 Informatics Practices Library Functions notes for quick learning of important concepts. These exam-oriented summaries focus on difficult topics and high-weightage sections helpful in school tests and final examinations.
Library Functions Revision Notes for Class 12 Informatics Practices
Library Functions
Library Functions: Library functions are those In-build functions that are already available in VB.
Types of Library Functions:
• STRING FUNCTIONS
• NUMERIC FUNCTIONS
• DATE & TIME FUCTIONS
· STRING FUNCTIONS String functions are used to work with strings in numerous ways such as changing their cases, extracting some characters from a string, determining whether a character is part of string etc.
· VARIOUS STRING FUNCTIONS ARE:
1. Lcase and Ucase functions
2. Len function
3. Trim, LTrim and RTrim functions
4. Left and Right functions
5. Mid function and Mid statement
6. Instr function
7. Space function
8. String function
9. Str function
10. ASC function
11. Chr function
12. StrReverse function
NUMERIC FUNCTIONS VB supports many Numeric functions that can make your complicated work very easy.
· VARIOUS NUMERIC FUNCTIONS ARE:
1. Int and Fix
2. Sgn
3. Val
4. Rnd
5. Format
> Lcase and Ucase functions:
Lcase ( ) : This function converts a given string into all lower case.
Syntax : Lcase(string)
Example : Print Lcase(“SCHOOL”)
Output : school
Ucase ( ) : This function converts a given string into all lower case.
Syntax : Ucase(string)
Example : Print Ucase(“school”)
Output : SCHOOL
> Len ( ) : This function gives the length of the string i.e. how many characters long the string is. All characters are counted including spaces and punctuation.
Syntax : Len(string)
Example : Len(“kendriya vidyalaya”)
Output : 18
> Trim, LTrim and RTrim : LTrim ( ): This function removes leading spaces from a string.
Syntax : LTrim(string)
Example : LTrim(“ kendriya”)
Output : kendriya
RTrim( ) : This function removes trailing spaces from a string.
Syntax : RTrim(string)
Example : RTrim(“kendriya ”)
Output : kendriya
Trim ( ) : This function removes all leading as well as trailing spaces from a string.
Syntax : Trim(string)
Example : Trim(“ kendriya ”)
Output : kendriya
> Left and Right ( ) :
Left ( ) : This function is used to extract a certain number of characters from the
leftmost portion of string.
Syntax : Left(string,no-of chars)
Example : Left(“vidyalaya”,5)
Output : vidya
Right ( ) : This function is used to extract a certain number of characters from the rightmost portion of string.
Syntax : Right(string,no-of chars)
Example : Right(“vidyalaya”,3)
Output : aya
> Mid ( ) : Mid function is used to extract Character from the middle of the given string,
SYNTAX : MID ( STRING, START_POSITION, NO_OF_CHAR )
EG: – Dim S as String
S = “Study Material for Bright Students”
PRINT MID(A,20,6) ‘ Will print Bright.
> Mid statement not only extracts the character but also replaces them with the text we specify.
St = “ Computer Science” ‘ St contain Computer Science this time.
Mid (St,9,1) = ‘ – '
Print St ‘ Now St will contain Computer-Science.
> Instr ( ) : Instr function searches for strings within string. This function also needs
three arguments.
SYNTAX : INSTR(Start, St1, St2, Compare)
-> The first argument is the position in the string to start searching.
-> The second argument is the string to search in.
-> The third argument is the string to search for and
-> The last argument is whether or not you want a case sensitive search.(0 for yes,1 for no)
Compare : 0 – for case sensitive search (Binary Comparison), It is by default search.
1 – for ignoring case (Text Comparison).
Eg: Print Instr ( 1, “Bright Students”,”T”) ‘ will print 0
Print Instr ( 1, “Bright Students”,”t”) ‘ will print 6
Print Instr ( 7, “Bright Students”,”T”) ‘ will print 9
> Space ( ) : This function by itself produces a certain number of spaces.
Syntax : space(number)
Example:
Dim a, c As String
a = Space(10)
c = "ok" & a & "bye"
Print c
Output : ok bye
> String ( ) : This function is used for producing a string with a certain number of repeating characters.
Syntax : String(number, character)
The first argument is the number of characters.
The second argument is the character code to repeat.
Example :
Dim a As String Dim a As String
a = String(5, "a") a = String(5, "abc")
Print a Print a
Output : aaaaa Output : aaaaa
> Str ( ) : This function converts a number into equivalent string.
Syntax : str(number,character)
Example :
Dim a As String Dim a As String
a = Str("23") a = Str(23)
Print a Print a
Output : 23 Output :23
> ASC ( ) : This function is used to get a character’s equivalent ASCII code.
Syntax : ASC(string)
Example :
Dim a, b As String
a = "India"
b = Asc(a)
Print b
Output : 73
> Chr ( ) : This function returns a string containing the character associated with the specified character code.
Syntax : chr(charcode)
Example :
Dim a As String
a = Chr(65)
Print a
Output : A
> StrReverse ( ) : This function returns a string in which the character order of a specified string is reversed .
Syntax : StrReverse(string)
Dim a, b As String
a = "abc"
b = StrReverse(a)
Print b
Output : cba
NUMERIC FUNCTIONS VB supports many Numeric functions that can make your complicated work very easy.
· VARIOUS NUMERIC FUNCTIONS ARE:
1. Int and Fix
2. Sgn
3. Val
4. Rnd
5. Format
> Int ( ) and Fix ( ) :- This function simply truncates the fractional part .
Syntax :- Int(Number)
Example :- Int ()
Output :- 14
Syntax: :- Fix(Number)
Example :- Fix (-14)
Output : - -14
DATE and TIME FUNCTIONS : This section deals with various date and time functions.
> Now ( ) :- It Returns current date and time.
Syntax : Now ( )
Output : Today’s date and Current Time.
Example : 1- 23-2009 03:23:38 PM
> Date ( ) : This function returns the current date in Variant type in following format
Syntax : Date ( )
Output : 16/6/08
> Date$( ) : This function returns the current date in String type in following format.
Syntax : Date$ ( )
Output : 01-23-2009
Please click the link below to download pdf file for CBSE Class 12 Informatics Practices Library Functions study notes
| CBSE Class 12 Informatics Practices Advanced Database Technologies Notes |
| CBSE Class 12 Informatics Practices Advanced Programming Development Methodology Notes |
| CBSE Class 12 Informatics Practices Communication And Computer Networks Notes |
| CBSE Class 12 Informatics Practices Creating Procedures Notes |
| CBSE Class 12 Informatics Practices Database Fundamentals Notes |
| CBSE Class 12 Informatics Practices Databases And ODBC Notes |
| CBSE Class 12 Informatics Practices Free And Open Source Software Notes Set A |
| CBSE Class 12 Informatics Practices Free And Open Source Software Notes Set B |
| CBSE Class 12 Informatics Practices Getting Started With Pl SQL Notes |
| CBSE Class 12 Informatics Practices Interacting With Databases Notes |
| CBSE Class 12 Informatics Practices Library Functions Notes |
| CBSE Class 12 Informatics Practices Procedures Functions And Modules Notes |
| CBSE Class 12 Informatics Practices Visual Basic Control Structures Notes |
| CBSE Class 12 Informatics Practices Visual Basic Interface Styles Notes |
Important Practice Resources for Class 12 Informatics Practices
CBSE Class 12 Informatics Practices Library Functions Notes
Students can use these Revision Notes for Library Functions to quickly understand all the main concepts. This study material has been prepared as per the latest CBSE syllabus for Class 12. Our teachers always suggest that Class 12 students read these notes regularly as they are focused on the most important topics that usually appear in school tests and final exams.
NCERT Based Library Functions Summary
Our expert team has used the official NCERT book for Class 12 Informatics Practices to design these notes. These are the notes that definitely you for your current academic year. After reading the chapter summary, you should also refer to our NCERT solutions for Class 12. Always compare your understanding with our teacher prepared answers as they will help you build a very strong base in Informatics Practices.
Library Functions Complete Revision and Practice
To prepare very well for y our exams, students should also solve the MCQ questions and practice worksheets provided on this page. These extra solved questions will help you to check if you have understood all the concepts of Library Functions. All study material on studiestoday.com is free and updated according to the latest Informatics Practices exam patterns. Using these revision notes daily will help you feel more confident and get better marks in your exams.
You can download the teacher prepared revision notes for CBSE Class 12 Informatics Practices Library Functions Notes from StudiesToday.com. These notes are designed as per 2025-26 academic session to help Class 12 students get the best study material for Informatics Practices.
Yes, our CBSE Class 12 Informatics Practices Library Functions Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Informatics Practices principles which is important for getting more marks in 2026 CBSE exams.
Yes, our CBSE Class 12 Informatics Practices Library Functions Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 12 is covered.
These notes for Informatics Practices are organized into bullet points and easy-to-read charts. By using CBSE Class 12 Informatics Practices Library Functions Notes, Class 12 students fast revise formulas, key definitions before the exams.
No, all study resources on StudiesToday, including CBSE Class 12 Informatics Practices Library Functions Notes, are available for immediate free download. Class 12 Informatics Practices study material is available in PDF and can be downloaded on mobile.