Skip to content

Tag Archives: CBSE – Class 11

A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows:   Keywords Identifiers Constants Strings… Read More
In general, the scope is defined as the extent up to which something can be worked with. In programming also the scope of a variable… Read More
Given a string, write a function that converts it either from lower to upper case or from upper to lower case using the bitwise operators… Read More
Array- Basics In C/C++, we can define multidimensional arrays in simple words as array of arrays. Data in multidimensional arrays are stored in tabular form… Read More
C++ comes with libraries that provide us with many ways for performing input and output. In C++ input and output are performed in the form… Read More
There come situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next.… Read More
All variables use data-type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to… Read More
  Operators are the foundation of any programming language. Thus the functionality of C/C++ programming language is incomplete without the use of operators. We can… Read More
We are given an array, and we have to calculate the product of an array using both iterative and recursive methods.  Examples:   Input : array[]… Read More
  Learning  C++ programming can be simplified into:   Writing your program in a text-editor and saving it with correct extension(.CPP, .C, .CP) Compiling your program using… Read More
C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of… Read More
Given an array, the task is to find average of that array. Average is the sum of array elements divided by the number of elements.… Read More
  A computer without a program running is just an insert hunk of electronics. The first thing a computer has to do when it is… Read More
Given 4 integers a, b, y, and x, where x can assume the values of  either 0 or 1 only. The following question is asked:… Read More
Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary).  A number N in base or radix b… Read More