CBSE Class 12 Computer Science Programming In C++ Concepts

Read and download free pdf of CBSE Class 12 Computer Science Programming In C++ Concepts. Get printable school Assignments for Class 12 Computer Science. Class 12 students should practise questions and answers given here for Programming In C++ Concepts Computer Science in Class 12 which will help them to strengthen their understanding of all important topics. Students should also download free pdf of Printable Worksheets for Class 12 Computer Science prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations

Assignment for Class 12 Computer Science Programming In C++ Concepts

Class 12 Computer Science students should refer to the following printable assignment in Pdf for Programming In C++ Concepts in Class 12. This test paper with questions and answers for Class 12 Computer Science will be very useful for exams and help you to score good marks

Programming In C++ Concepts Class 12 Computer Science Assignment

 

Introduction to C++

♦ C++ programming language developed by AT&T Bell Laboratories in 1979 by Bjarne Stroustrup. C++ is fully based on Object Oriented Technology i.e. C++ is ultimate paradigm for the modeling of information.

♦ C++ is the successor of C language.

♦ It is a case sensitive language.

 

 Character Set- Set of characters which are recognized by c++compiler i.e Digits (0-9), Alphabets (A-Z & a-z) and special characters + - * , . “ ‘ < > = { ( ] ) space etc i.e 256 ASCII characters.

 Tokens- Smallest individual unit. Following are the tokens

♦ Keyword- Reserve word having special meaning the language and can’t be used as identifier.

♦ Identifiers- Names given to any variable, function, class, union etc. Naming convention (rule) for writing identifier is as under:

   i) First letter of identifier is always alphabet.

   ii) Reserve word cannot be taken as identifier name.

   iii) No special character in the name of identifier except under score sign ‘_’.

♦ Literals- Value of specific data type assign to a variable or constant. Four type of Literals:

    i) Integer Literal i.e int x =10

    ii) Floating point Literal i.e float x=123.45

    iii) Character Literal i.e char x= ‘a’, enclosed in single quotes and single character only.

    iv) String Literal i.e cout<< “Welcome” , anything enclosed in double quotes

♦ Operator – performs some action on data

    o Arithmetic(+,-,*,/,%)

    o Assignment operator (=)

    o Increment / Decrement (++, --)

    o Relational/comparison (<,>,<=,>=,==,!=).

    o Logical(AND(&&),OR(||),NOT(!).

CBSE Class 12 Computer Science - Programming In C++ Concepts

Data type- A specifier to create memory block of some specific size and type. C++offers two types of data types:

1) Fundamental type : Which are not composed any other data type i.e. int, char, float and void

2) Derived data type : Which are made up of fundamental data type i.e array, function, class, union etc

Data type conversion- Conversion of one data type into another data type. Two type of conversion i.e

i) Implicit Conversion – It is automatically taken care by complier in the case of lower range to higher range e.g. int x, char c=’A’ then x=c is valid i.e character value in c is automatically converted to integer.

ii) Explicit Conversion- It is user-defined that forces an expression to be of specific type. e.g. double x1,x2 and int res then res=int(x1+x2)

Variable- Memory block of certain size where value can be stored and changed during program execution. e.g. int x, float y, float amount, char c;

Some functions

· isalpha(c)-check whether the argument is alphabetic or not.

· islower(c)- check whether the argument is lowecase or not.

· isupper(c) - check whether the argument is upercase or not.

· isdigit(c)- check whether the argument is digit or not.

· isalnum(c)- check whether the argument is alphanumeric or not.

· tolower()-converts argument in lowercase if its argument is a letter.

· toupper(c)- converts argument in uppercase if its argument is a letter.

· strcat()- concatenates two string.

· strcmp-compare two string.

· pow(x,y)-return x raised to power y.

· sqrt(x)-return square root of x.

· random(num)-return a random number between 0 and (num-1)

· randomize- initializes the random number generator with a random value.

Array- Collection of element of same type that are referred by a common name.

One Dimensional array

· An array is a continuous memory location holding similar type of data in single row or single column. Declaration in c++ is as under:
const int size =20; int a[size] or int a[20]. The elements of array accessed with the help of an index.

For example : for(i=0;i<20;i++) cout<<a[i];

· String (Array of characters) –Defined in c++ as one dimensional array of characters as char s[80]= “Object oriented programming”;

Two dimensional array

· A two diamensional array is a continuous memory location holding similar type of data arranged in row and column format (like a matrix structure).
Declaration – int a[3][4], means ‘a’ is an array of integers are arranged in 3 rows & 4 columns.

Function -Name given to group of statements that does some specific task and may return a value. Function can be invoked(called) any no. of time and anywhere in the program.

 

Please refer to attached file for CBSE Class 12 Computer Science Programming In C++ Concepts

More Study Material

CBSE Class 12 Computer Science Programming In C++ Concepts Assignment

We hope you liked the above assignment for Programming In C++ Concepts which has been designed as per the latest syllabus for Class 12 Computer Science released by CBSE. Students of Class 12 should download and practice the above Assignments for Class 12 Computer Science regularly. We have provided all types of questions like MCQs, short answer questions, objective questions and long answer questions in the Class 12 Computer Science practice sheet in Pdf. All questions have been designed for Computer Science by looking into the pattern of problems asked in previous year examinations. 

Assignment for Computer Science CBSE Class 12 Programming In C++ Concepts

Our team of expert teachers have referred to NCERT book for Class 12 Computer Science to design the Computer Science Class 12 Assignments. If you practice at least one test paper daily, you will get higher marks in Class 12 exams this year. Daily practice of Computer Science course notes and related study material will help you to clear all your doubts and have stronger understanding of all concepts. You can download all Revision notes for Class 12 Computer Science also from www.studiestoday.com absolutely free of cost.

Programming In C++ Concepts Assignment Computer Science CBSE Class 12

All questions and their answers for the assignment given above for Class 12 Computer Science 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 questions of Computer Science so that you are able to revise the entire syllabus if you do the assignments. Lot of MCQ questions for Class 12 Computer Science have also been given in the worksheets and assignments for regular use. All study material for Class 12 Computer Science students have been given on studiestoday.

Programming In C++ Concepts Assignment CBSE Class 12 Computer Science

Regular assignment practice helps to get a more comprehensive understanding of Programming In C++ Concepts concepts. Assignments play a crucial role in understanding Programming In C++ Concepts in CBSE Class 12. Students can download all the assignments of the same chapter in Class 12 Computer Science in Pdf format. You can print them or read them online on your computer or mobile.

CBSE Computer Science Class 12 Programming In C++ Concepts Assignment

CBSE Class 12 Computer Science latest books have been used for coming up with the latest questions and solutions for the above assignment. If you have revised all concepts relating to Programming In C++ Concepts then you should attempt all questions given in the test sheets above. We have also provided lot of Worksheets for Class 12 Computer Science which you can use to further make your self stronger in Computer Science

Where can I download in PDF assignments for CBSE Class 12 Computer Science Programming In C++ Concepts

You can download free Pdf assignments for CBSE Class 12 Computer Science Programming In C++ Concepts from StudiesToday.com

The assignments for Programming In C++ Concepts Class 12 Computer Science for have been made based on which syllabus

The Programming In C++ Concepts Class 12 Computer Science Assignments have been designed based on latest CBSE syllabus for Class 12 Computer Science issued for the current academic year

Can I download and print these printable assignments for Computer Science Programming In C++ Concepts Class 12

Yes, These printable assignments for Programming In C++ Concepts Class 12 Computer Science are free to download and print

How many topics are covered in Programming In C++ Concepts Computer Science assignments for Class 12

All topics given in Programming In C++ Concepts Computer Science Class 12 Book for the current academic year have been covered in the given assignment

Is there any charge for this assignment for Programming In C++ Concepts Computer Science Class 12

No, all Printable Assignments for Programming In C++ Concepts Class 12 Computer Science have been given for free and can be downloaded in Pdf format

How can I download the printable test assignments for Programming In C++ Concepts Computer Science Class 12

Just click on the View or Download button below, then another window with the Pdf will be visible, just click on the Pdf icon to download the free assignments for Programming In C++ Concepts Class 12 Computer Science

Are these assignments available for all chapters in Class 12 Computer Science

Yes, apart from Computer Science you can download free assignments for all subjects in Class 12

Can I download solved assignments for Programming In C++ Concepts CBSE Class 12 Computer Science

Our team of expert teachers at studiestoday.com have provided all answers for the practice questions which have been given in Class 12 Computer Science Programming In C++ Concepts assignments