CBSE Class 11 Computer Worksheet - Getting Started with 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 7:Getting Started with C++
1. What are literals ? Explain the different types of literals being used in C++.
2. Which of the following are valid/ invalid operands :
height , main , rollno-5 , my address , 2day , class
3. What is the difference between ‘5’ , 5 and “ 5” ?
4. Identify the errors in the following program :
5. Explain the two different ways to give comments in C++.
6. Differentiate between ‘<<’ and ‘>>’ operators.
7. ‘Every C++ program must have a main().’ Why ?
8. What will be the output of the following code :
(i) cout<<” #\n**\n###\n****\n “;
(ii) char a= ‘@’;
( to be done in the lab during practical periods )
1. To create a formatted output screen as given in the lab.
2. Write a C++ program that accepts marks and displays the percentage.Assume maximum marks is
3. Write a program that accepts the temperature in percentage and displays in Fahrenheit
4. Write a program that accepts length , breadth and then displays the area and perimeter of a
1. All programs must have a comment entry on the top indicating what exactly the program is
2. Proper messages should be given for input and output operations.
3. All programs should be properly indented.
Please click the below link to access CBSE Class 11 Computer Worksheet - Getting Started with C++