Download CBSE Class 11 Computer Science Programming In C++ Notes in PDF format. All Revision notes for Class 11 Computer Science have been designed as per the latest syllabus and updated chapters given in your textbook for Computer Science in Class 11. Our teachers have designed these concept notes for the benefit of Class 11 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 11 Computer Science for faster revision of difficult topics and get higher rank. After reading these notes also refer to MCQ questions for Class 11 Computer Science given on studiestoday
Revision Notes for Class 11 Computer Science Programming In C++
Class 11 Computer Science students should refer to the following concepts and notes for Programming In C++ in Class 11. These exam notes for Class 11 Computer Science will be very useful for upcoming class tests and examinations and help you to score good marks
Programming In C++ Notes Class 11 Computer Science
Programming in C++
Investigation of Programming Construct in C++.
OBJECTIVES :
• to emphasize the programming construct available in C++
• to investigate each and every programming construct emphasizing the situation where they can be used perfectly.
• to demonstrate few working program in C++ using the constructs.
1.1 Why and What of Constructs in C++ programming
1.1.1 : Flow of logic
You have seen in the previous unit that a program is implementation of an algorithm (steps involved in problem solving) using a particular programming language like C , C++ , Java etc. In our case we are using C++ as a high level language (HLL) to code our programs.
A programming language like C++ is having a bundle of programming elements like tokens , identifiers , variables , constants , operator symbols , punctuation symbols etc. (please refer to earlier unit if you have not learnt all these terms.) . All these programming elements helps a programmer to write simple C++ programs as shown below :
program 1.1
// a simple program in C++ to add two integers
#include<iostream.h>
void main( )
{
int a = 0 , b = 0 ;
cout<<”Input two numbers”;
cin>> a>>b;
cout<<”The sum of numbers are: ” << (a+b);
}
The above program is a very basic program which asks two integer values from user and prints out their sum. In the above program you may observe that various programming elements like:
# < ( ) { = , a b << >> int void main ―Input two numbers ― ; are being used.
Students the program above is very simple to be thought , written and executed, but in real industrial programming situation we seldom get such programs to write. There are many complex situation in life where we often need to write programs using few advanced programming elements. Let us investigate few of the real life situations :
a) Ram needs to find out whether any number is divisible by both 3 and 5.
b) A shopkeeper wants to give x % discount on a particular purchase only when the net purchase by his customer exceeds Rs. 1000
c) A teacher wants to calculate the average marks for each of his 40 pupils in a class.
d) Suresh wants to continue his program till he is pressing escape button on keyboard.
Can you program the above programming problems using the programming elements of C++ which you have learn till now ?
Your answer would be probably a NO , because the C++ programming elements which you have studied till now , will only enable you to write simple linear programs , or sequential programs.
1.1.2: Linear Flow
A simple linear program is one which has a linear flow of execution of programming logic /statements. e.g. program 1.1. The logic of program flows ( or better they are termed as control flow) from top to bottom out of set of statements.
Now let us proof the that program 1.1 follows a sequential flow of logic by the following flow chart diagram :
Please click the link below to download pdf file for CBSE Class XI Computer Science Programming in C++ Concepts.
CBSE Class 11 Computer Science Programming In C++ Notes
We hope you liked the above notes for topic Programming In C++ which has been designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Students of Class 11 should download and practice the above notes for Class 11 Computer Science regularly. All revision notes have been designed for Computer Science by referring to the most important topics which the students should learn to get better marks in examinations. Our team of expert teachers have referred to the NCERT book for Class 11 Computer Science to design the Computer Science Class 11 notes. After reading the notes which have been developed as per the latest books also refer to the NCERT solutions for Class 11 Computer Science provided by our teachers. We have also provided a lot of MCQ questions for Class 11 Computer Science in the notes so that you can learn the concepts and also solve questions relating to the topics. We have also provided a lot of Worksheets for Class 11 Computer Science which you can use to further make yourself stronger in Computer Science.
You can download notes for Class 11 Computer Science Programming In C++ for latest academic session from StudiesToday.com
Yes, the notes issued for Class 11 Computer Science Programming In C++ have been made available here for latest CBSE session
There is no charge for the notes for CBSE Class 11 Computer Science Programming In C++, you can download everything free of charge
www.studiestoday.com is the best website from which you can download latest notes for Programming In C++ Computer Science Class 11
Come to StudiesToday.com to get best quality topic wise notes for Class 11 Computer Science Programming In C++