Page 14 - Modular_V1.1_Flipbook
P. 14
6. Which of the following is an extension of C++ program?
a. .c++ c. .cplus
b. .cpp d. .doc
B. Write ‘T’ for true and ‘F’ for false.
1. The #include is used to include header file in the program. ...............................
2. The cout is used to print message on the output screen. ...............................
3. The getch( ) function keeps the output screen open. ...............................
4. C++ is not a case sensitive language. ...............................
5. The main( ) function is the entry point for the compiler. ...............................
C. Fill in the blanks using the words given below.
Run, curly brace, pre-processor, AT&T Bell Labs, semicolon
1. The ……………………….. is used to start the body of the main( ) function.
2. The Run option is present in the ……………………….. menu.
3. The # symbol is called ……………………….. directive.
4. It is necessary to terminate each statement of a program by putting ……………………….. at
the end.
5. C++ was developed at ……………………….. .
D. Short answer type questions.
1. What does ISO stand for?
2. Why do we need to compile a program?
3. What is the use of the #include<iostream.h> statement in a C++ program?
E. Long answer type questions.
1. State any four features of C++ language.
2. What is the difference between compiling a program and running a program?
Art Integration
In the lab
Write a C++ program to display the following message using cout statement:
I Love My India
I Love My India
I Love My India
Teacher's Corner
Discuss the features of C++ with the students.
12 Touchpad MODULAR (Version 1.1)-X

