11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil இயற்கை வேளாண்மை,சுற்றுச்சூழல் -செய்யுள் - மனோன்மணீயம் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil என்னுயிர் என்பேன் -துணைப்பாடம் - இசைத்தமிழர் இருவர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மொழி கலை -செய்யுள் - ஒவ்வொரு புல்லையும் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - இலக்கணம் - பகுபத உறுப்புகள் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - துணைப்பாடம் - வாடிவாசல் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - குறுந்தொகை Important Questions And Answers Study Material - QB365 Set A

Published on: 26/09/2019
Introduction To C++
Download Tamil Nadu 11th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
What is character set?
2.
What is a size of 'x' and "x"?
3.
Which of the following two statements are valid? Why? Also write their result.
int a;
(i) int a; a = 3,014;
(ii) int a; a=(3,014);
4.
What is a reference variable? What is its use?
5.
6.
Assume n=10; what will be result of n++ and --n;?
7.
What are keywords? Can keywords be used as identifiers?
8.
What is meant by a token? Name the token available in C++.
9.
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
10.
Why is main function special?
11.
What is the difference between “Run time error” and “Syntax error”?
12.
Describe the differences between keywords and identifiers?
13.
Write the benefits of C++;
14.
Assume a=15, b=20; What will be the result of the following operations?
(a) a&b
(b) a|b
(c) a^b
(d) a>>3
(d) (~b).
15.
Write about Binary operators used in C++.
16.
Which of the following application not developed by c++?
Android
IOS7
Amazon
17.
Which of the following is an object oriented programming?
C++
C
Html
Windows XP
18.
19.
Which of the character is used as suffix to indicate a floating point value?
F
C
L
D
20.
Which of the following is called as compile time operators?
sizeof
pointer
virtual
this
21.
Which of the following statement is not true?
Keywords are the reserved words convey specific meaning to the C++ compiler
Reserved words or keywords can be used as an identifier name
An integer constant must have at least one digit without a decimal point
Exponent form of real constants consists of two parts
22.
Who developed C++?
Charles Babbage
Bjarne Stroustrup
Bill Gates
Sundar Pichai
1.
Character set is the set of characters which are allowed to write a C++ program. A character represents any alphabet, number or any other symbol.
2.
The size of 'x' is 1 character where as the size of "a" is 2 characters.
3.
(i) It is invalid as comma is not allowed in an integer constant.
(ii) It is valid, Comma in bracket is allowed.
4.
Reference variable in C++ is alias for existing variable. They store nothing but the address of the variable used at the time of its declaration. It is important to assign the reference variable at the time of declaration, else it will show an error.
5.
6.
| Operator | Operation | Result |
| >> | n >> 2 | 00001010 n = 10 |
| 00001000 n >> 2 | ||
| 00000010 | ||
| n >> 2 = (00000010)2 = 210 | ||
7.
Keywords are the reserved words which convey specific meaning to the C++ compiler. They are the essential elements to construct C++ programs. Most of the keywords are common to C, C++ and Java. Keywords are reserved and cannot be used as identifiers.
8.
C++ program statements are constructed by many different small elelments such as commands, variables, constants and many more symbols called as operators and punctuators. Individual elements are collectively called as Lexical units or Lexical elements or Tokens. C++ has the following tokens:
(i) Keywords
(ii) Identifiers
(iii) Literals
(iv) Operators
(v) Punctuators
9.
Arithmetic operators perform simple arithmetic operations like addition, substraction, multiplication, division etc.
| Unary Operators | Binary Operators |
| Require only one operand | Require two operands |
| Example: +,-, *,/,%, >, < <=, AND, OR | Example: ++ (Plus, Plus) Increment operator, --(Minus, Minus) Decrement operator, NOT, -, |
10.
C++ program is a collection of functions. Every C++ program must have a main function. The main() function is the starting point where all C++ programs begin their execution. Therefore, the executable statements should be inside the main() function.
11.
| Run time error | Syntax Error |
| 1. A run time error occurs during the execution of a program. It occurs because of some illegal operation that takes place. 2. For example, if a program tries to open a file which does not exist, it results in a run-time error. |
1. Syntax errors occur when grammatical rules of C++ are violated. |
12.
| Keywords | Identifiers |
|---|---|
| Keywords are the reserved words which convey specific meaning to the C++ compiler. |
Identifiers are the user-defined names given to different parts of the the C++ program. |
| They are the essential elements to construct C++ programs. | They are the fundamental building blocks of a program. |
| Most of the keywords are common to C, C++ and Java. | Every language has specific rules for naming the identifiers. |
13.
(i) C++ is highly portable language and is often the language of choice for multi-device, multi-platform app development.
(ii) C++ is an object-oriented programming language and includes classes, inheritance, polymorphism, data abstraction and encapsulation.
(iii) C++ has a rich function library
(iv) C++ allows exception handling, and function overloading which are not possible in C.
(v) C++ is a powerful, efficient and fast language. It finds a wide range of applications from GUI applications to 3D graphics for games to real-time mathematical simulations.
14.
(a) a&b
| 10 | 1010 |
| 11 | 1111 |
| a&b | 1010 |
a&b =1010&1510=1010=1010
(b) a|b
| 10 | 1 | 0 | 1 | 0 |
| 15 | 1 | 1 | 1 | 1 |
| 10 | 15 | 1 | 1 | 1 | 1 |
a|b =10|15= 11112 =1510
(c) a^b
| 10 | 1 | 0 | 1 | 0 |
| 15 | 1 | 1 | 1 | 1 |
| 10 ^ 15 | 0 | 1 | 0 | 1 |
a^b =10^15= 01012 =1510
(d) a>>3
a=10
10/23=10/8=1
10>>3=110
(e) (~b)
| b | 1 | 1 | 1 | 1 |
| ~b | 0 | 0 | 0 | 0 |
(~b)=00002=010
15.
Binary Operators require two operands.
Arithmetic operators that perform simple arithmetic operations like addition, subtraction, multiplication, division (+,-*, %,/) etc. are binary operators which requires minimum of two operands.
Relational operators are used to determine the relationship between its operands. The relational operators (<,>,>, <=,=, !=) are applied on two operands, hence they are binary operators.
AND, OR (logical operator) both are binary operators.
Assignment operator is also a binary operator (+=, -=, *=, /=, %=)
16.
(b)
IOS7
17.
(a)
C++
18.
(b)
19.
(a)
F
20.
(a)
sizeof
21.
(b)
Reserved words or keywords can be used as an identifier name
22.
(b)
Bjarne Stroustrup
11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - காவடிச்சிந்து Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - உரைநடை - மலை இடப்பெயர்கள் : ஓர் ஆய்வு Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - துணைப்பாடம் - யானை டாக்டர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - செய்யுள் - ஐங்குறுநூறு Important Questions And Answers Study Material - QB365 Set A
Tamilnadu Stateboard 11th Standard Subjects

Maths

Commerce

Economics

Biology

Business Maths and Statistics

Accountancy

Computer Science

Physics

Chemistry

Maths

Biology

Economics

Physics

Chemistry

History

Business Maths and Statistics

Computer Science

Accountancy

Computer Applications

History

Computer Technology

Commerce

Computer Applications

Computer Technology

Tamil

English

French
Tamilnadu Stateboard Standards