CBSE Class 11 Computer Operators And Expressions In C++ Worksheet

CBSE Class 11 Computer Worksheet - Operators and Expressions in C++

Worksheets have become an integral part of the education system. Worksheets are very critical for every student to practice his/ her concepts. Students, teachers and parents can download all CBSE educational material and extremely well prepared worksheets from this website. All revision worksheets, Sample papers, Question banks and easy to learn study notes for all classes and subjects have been prepared based on the latest guidelines sent by CBSE. All CBSE educational material is developed by our panel of teachers, have also been submitted by thousands of teachers and students. The study material has been carefully compiled by the best teachers in India. Worksheets have been submitted by teachers of various CBSE schools and also have been carefully developed keeping into consideration the latest CBSE syllabus.

Chapter 8 : Operators and Expressions in C++

1. Predict the output of the following program :

#include<iostream.h>

void main()

{

int x=5; int y=0;

y= x++ + 10;

cout<<”y =”<<y <<endl;

cout<<”x= “<<x<<endl;

y=((x>=5)?1 : 0);

cout<<” Now the value of y is :”<<y;

}

2. Rewrite the corresponding C++ expressions for the following :

(i) Cos x . Tan-1 x

A2 + B2

(ii) 4 – 6e2y

(iii) | x| + y is not equal to |x + y|

3. Given the following set of identifiers -

char x;

int y;

short sh;

float fval;

long lval;

Identify the datatype of the following expressions :

(i) y * fval + sh

(ii) fval/lval + int/sh

4. Evaluate the following expressions :

(i) x + y < z && x + z >y || x-z <= y-x+2

if x=4, y=5 and z=2

(ii) z>x && x+3 || !( 2*y + z –x)

if x=10 , y=15 , z=5

(iii) c= a-(b++) * (--a)

if a=5 , b=3 and d=15

5. Predict the output of the following program :

#include<iostream.h>

#include<math.h>

void main()

Please click the below link to access CBSE Class 11 Computer Worksheet - Operators and Expressions in C++

Tags: 

 


Click to View or Download pdf file
Click for more Computer Science Study Material

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

What to do Post Receipt of Question Paper in the Board Examination

The intend of this article is to guide the students about the course of action they should follow once they receive the CBSE question papers in the school as well as board examination centre. Before initiating the examination there are few key aspects which the...

Ganga Utsav 2020 organized by NMCG

The National Mission for Clean Ganga (NMCG) is organising the annual ‘Ganga Utsav’ on November 2nd , 3rd & 4th, 2020 on a virtual platform. The Utsav will involve storytelling, folklores, & dialogues with eminent personalities, quizzes, display of traditional...

Gandhiji Quiz by CBSE

CBSE has launched a Quiz on Mahatma Gandhi. The quiz portal can be accessed on Discover Gandhi portal at: https://discovergandhi.in/ DIKSHA platform (https://diksha.gov.in) and the Discover Gandhi mobile App which can be easily downloaded from Google Play Store on...

Mathematical Literacy Free Practice Book for Students

With a larger goal to promote 21st century skills such as critical thinking and problem solving, the Central Board of Secondary Education has shared a Mathematical Literacy: Practice Book for Students. This Work Book is designed to allow learners of classes 7th to 10th...

Digital Marks Sheets Migration Certificates and Pass Certificates

CBSE pioneered in providing digital academic documents through its academic repository called “Parinam Manjusha” and DigiLocker.  As on now result data from 2004 till this year is available in the repository.  Approx. 12 crores digital academic documents are available...

Role of Word Limit in Written CBSE Examination

The intend of this article is to let us know the significance of writing within the prescribed word limit while attempting the CBSE Board Examination. Every single question in the board examination has a pre-specified word limit and every student needs to understand...

×
Studies Today