CBSE Class 11 Computer Science Introduction To C++ Notes

Download the latest CBSE Class 11 Computer Science Introduction To C++ Notes in PDF format. These Class 11 Computer Science 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 11 students.

Chapter-wise Revision Notes for Class 11 Computer Science Introduction To C++

To secure a higher rank, students should use these Class 11 Computer Science Introduction To C++ 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.

Introduction To C++ Revision Notes for Class 11 Computer Science

Introduction to C++

C++ CHARACTER SET

Character set is asset of valid characters that a language can recognize . A character can represents any letter, digit, or any other sign . Following are some of the C++

character set.

LETTERS                                 A to Z and a to z

DIGITS                                       0 -9

SPECIAL SYMBOLS            + -* ^ \ [] {} = != < > . ‗ ‗ ; : & #

WHITE SPACE                   Blankl space , horizontal tab ( - > ), carriage return , Newline, Form feed.

OTHER CHARACTERS      256 ASCII characters as data or as literals.

TOKENS:

The smallest lexical unit in a program is known as token. A token can be any keyword,Identifier,Literals, Puncutators, Operators.

KEYWORDS :

These are the reserved words used by the compiler. Following are some of the Keywords.                                     

 auto           continue         float        new       signed         volatile

short          long               class           struct     else           inline

delete          friend          private          typedef              void           template

catch           friend          sizeof             union             register        goto

IDENTIFIERS:

An arbitrary name consisting of letters and digits to identify a particular word.C++ iscase sensitive as nit treats upper and lower case letters differently. The first character must be a letter . the underscore counts as a letter

Pen        time580            s2e2r3          _dos       _HJI3_JK

LITERALS:

The data items which never change their value throughout the program run. There are several kind of literals:

• Integer constant

• Character constant

• Floating constant

• String constant.

Integer constant :

Integer constant are whole numbers without any fractional part. An integer constant must have at least one digit and must not contain any decimal point. It may contain either + or _. A number with no sign is assumed as positive.        e.g 15, 1300, -58795.

Character Constant:

A character constant is single character which is enclosed within single quotation marks.    e.g ‗ A‘

Floating constant:

Numbers which are having the fractional part are referred as floating numbers or real constants. it may be a positive or negative number. A number with no sign is assumed to be a positive number.                                                            e.g 2.0, 17.5, -0.00256

String Literals:

It is a sequence of letters surrounded by double quotes. E.g ―abc‖.

PUNCTUATORS:

The following characters are used as punctuators which are also know as separators in C++ 

class_11_Computer_science_concept_2

OPERATORS:

These are those lexical units that trigger some computation when applied to variables and other objects in an expression. Following are some operators used in C++ Unary operators: Those which require only one operand to trigger. e.g. & , + , ++ , -- ! . Binary operators: these require two operands to operate upon. Following are some of the Binary operators.

Arithmatic operators :

+                 Addition

_                ubstraction

A*            Multiplication

/             Division

%         Remainder.

Logical Operators :

&& -     logical AND          || -        Logical OR

Relational Operator:

<     less than

a>   Greater than

<=     Less than equal to.

>=       greater than equal to.

==        equal to.

!=     not equal to.

Conditional operator:         ? (question )   : ( colon )

Assignment Operator:

= assignment operator
*= Assign Product.
/= Assign quotient
%= assign Remainder
&= Assign bitwise AND
^= Assign bitwise XOR.
|=Assign bitwise OR

Conditional operator ( ? )

The conditional operator evaluates an expression returning a value if that expression is true and a different one if the expression is evaluated as false. Its format is:

condition ? result1 : result2

e.g 7==5 ? 4 : 3 // returns 3, since 7 is not equal to 5.

Comma operator ( , )

The comma operator (,) is used to separate two or more expressions that are included where only one expression is expected. When the set of expressions has to be evaluated for a value, only the rightmost expression is considered.

For example, the following code:

a = (b =3 , b +2 );
Would first assign the value 3 to b, and then assign b+2 to variable a. So, at the end, variable a would contain the value 5 while variable b would contain value 3.

Explicit type casting operator

Type casting operators allow you to convert a datum of a given type to another. There are several ways to do this in C++. The simplest one, which has been inherited from the C language, is to precede the expression to be converted by the new type enclosed between parentheses ( ) :

int i;

float f =3014;
i = ( int ) f; 

The previous code converts the float number 3.14 to an integer value (3), the remainder is lost. Here,the typecasting operator was (int). Another way to do the same thing in C++ is using the functional notation: preceding the expression to be converted by the type and enclosing the expression between parentheses:

i = int (f );

Both ways of type casting are valid in C++.
sizeof()

This operator accepts one parameter, which can be either a type or a variable itself and returns the size in bytes of that type or object:
a= sizeof (char);
This will assign the value 1 to a because char is a one-byte long type.
The value returned by sizeof is a constant, so it is always determined before program execution.
Input Output (I/O) In C++
The cout Object:
The cout object sends to the standard output device. cout sends all out put to the screen i.e monitor.
The syntax of cout is as follows:
cout<< data;.
e.g
cout<< a ; ( here a can be any variable)

The cin operator :
The cin operator is used to get input from the keyboard. When a program reaches the line with cin, the user at the keyboard can enter values directly into variables.
The syntax of cin is as follows:
cin>> variablename
e.g
cin>> ch; ( here ch can be any variable)

• Basic structure of a C++ program:
Following is the structure of a C++ program tht prints a string on the screen:
#include<iostream.h>
void main ()
{
cout<<‖ Study material for Class XI‖;

The program produces following output: 
 
Study material for Class XI 
The above program includes the basic elements that every C++ program has. Let us check it  line by line 
#include<iostream.h> : This line includes the preprocessor directive include which includes the header file iostream in the program. 
 
void main () :this line is the start of compilation for this program. Every C++ programs compilation starts with the main (). void is the keyword used when the function has no return values. 
{ : this is the start of the compound block of main (). 
cout<<‖ Study material for class XI‖;: this statement prints the sequence of string ” Study material for class XI” into this output stream i..e on monitor. 
Every statement in the block will be terminated by a semicolon (;) which specifies compiler the end of statement.


Please click the link below to download pdf file for CBSE Class XI Computer Science Introduction to C++ Concepts.

CBSE Class 11 Computer Science Introduction To C++ Notes

Students can use these Revision Notes for Introduction To C++ to quickly understand all the main concepts. This study material has been prepared as per the latest CBSE syllabus for Class 11. Our teachers always suggest that Class 11 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 Introduction To C++ Summary

Our expert team has used the official NCERT book for Class 11 Computer Science 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 11. Always compare your understanding with our teacher prepared answers as they will help you build a very strong base in Computer Science.

Introduction To C++ 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 Introduction To C++. All study material on studiestoday.com is free and updated according to the latest Computer Science exam patterns. Using these revision notes daily will help you feel more confident and get better marks in your exams.

Where can I download the latest PDF for CBSE Class 11 Computer Science Introduction To C++ Notes?

You can download the teacher prepared revision notes for CBSE Class 11 Computer Science Introduction To C++ Notes from StudiesToday.com. These notes are designed as per 2025-26 academic session to help Class 11 students get the best study material for Computer Science.

Are these Computer Science notes for Class 11 based on the 2026 board exam pattern?

Yes, our CBSE Class 11 Computer Science Introduction To C++ Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Computer Science principles which is important for getting more marks in 2026 CBSE exams.

Do these Class 11 notes cover all topic-wise concepts for Computer Science?

Yes, our CBSE Class 11 Computer Science Introduction To C++ Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 11 is covered.

How can I use CBSE Class 11 Computer Science Introduction To C++ Notes for quick last-minute revision?

These notes for Computer Science are organized into bullet points and easy-to-read charts. By using CBSE Class 11 Computer Science Introduction To C++ Notes, Class 11 students fast revise formulas, key definitions before the exams.

Is there any registration required to download Class 11 Computer Science notes?

No, all study resources on StudiesToday, including CBSE Class 11 Computer Science Introduction To C++ Notes, are available for immediate free download. Class 11 Computer Science study material is available in PDF and can be downloaded on mobile.