CBSE Class 11 Computer Worksheet - Data Handling, Operators and Expressions
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.
Topic: Data Handling, Operators & Expressions
Q 1 What are ‘enumerations’? Explain through example
Q 2 Explain all the six fundamental data types.
Q 3 Write a program to check whether a given number is even or odd. Q 4 What will be the value returned by the following if value assigned to integer variable k is 3 ? a) k<2 b) k= =2 c) k<=3||k>4
Q 5 What is the value of i and j in the two cases given below? a) i=7 j= i ++ b) i=8 j= --i Q 6 What will be the value assigned to integer variable x as under:- Z=a*x*x+b*x+c where a,b,c and x are 2,4,5 and 3 respectively?
Q 7 Evaluate x+=x++ + ++x if, initially x=15.
Q 8 Given the following code fragment int marks=25; cout << ++marks <<”n”; cout << marks<<”n”; (i) What output does the above code fragment produce? (ii) What is the effect of replacing ++marks with marks++? (iii) What is the effect of replacing ++marks with marks+1? Q 9 What will be the output of the code segment given below: int a = 200, b=7; cout << a/b << endl;
Q 10 If initially, the value of name =100, then what will be the output of the code given below:- cout << name -- ; cout << ++ name ; Q 11 What will be the result of the following expressions, if initial value of I = 20? 1)++I<=20 2) I++<=20
Q 12 Construct logical expressions to represent the following conditions: (a) exp is a lowercase letter (b) Marks is in the range 400-500 or grade is ‘A’ (c) Grade is ‘B’ and experience is more than 5 years. Q 13 Write a statement that uses a conditional operator to set grade =’A’, if marks is more than 70 and B otherwise.
Q 14 Given the two expressions marks=10
Please click the below link to access CBSE Class 11 Computer Worksheet - Data Handling, Operators and Expressions
Click for more Computer Science Study Material ›