English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 9 - Introduction to C++ [Latest edition]

Advertisements

Chapters

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 9 - Introduction to C++ - Shaalaa.com
Advertisements

Solutions for Chapter 9: Introduction to C++

Below listed, you can find solutions for Chapter 9 of Tamil Nadu Board of Secondary Education Samacheer Kalvi for Computer Science [English] Class 11 TN Board.


Evaluation - Section - AEvaluation - Section - BEvaluation - Section - CEvaluation - Section - DData Types, Variables and Expressions - Evaluation - Section – AData Types, Variables and Expressions - Evaluation - Section - BData Types, Variables and Expressions - Evaluation - Section - C
Evaluation - Section - A [Page 130]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Evaluation - Section - A [Page 130]

Choose the correct answer

Evaluation - Section - A | Q 1. | Page 130

Who developed C++?

  • Charles Babbage

  • Bjarne Stroustrup

  • Bill Gates

  • Sundar Pichai

Evaluation - Section - A | Q 2. | Page 130

What was the original name given to C++?

  • CPP

  • Advanced C

  • C with Classes

  • Class with C

Evaluation - Section - A | Q 3. | Page 130

Who coined C++?

  • Rick Mascitti

  • Rick Bjarne

  • Bill Gates

  • Dennis Ritchie

Evaluation - Section - A | Q 4. | Page 130

The smallest individual unit in a program is ______

  • Program

  • Algorithm

  • Flowchart

  • Tokens

Evaluation - Section - A | Q 5. | Page 130

Which of the following operator is an extraction operator in C++?

  • >>

  • <<

  • <>

  • ^^

Evaluation - Section - A | Q 6. | Page 130

Which of the following statements is not true?

  • Keywords are reserved words that 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 consist of two parts

Evaluation - Section - A | Q 7. | Page 130

Which of the following is a valid string literal?

  • ‘A’

  • ‘Welcome’

  • 1232

  • “1232”

Evaluation - Section - A | Q 8. | Page 130

A program written in a high-level language is called ______

  • Object code

  • Source code

  • Executable code

  • All the above

Evaluation - Section - A | Q 9. | Page 130

Assume a = 5, b = 6; what will be result of a & b?

  • 4

  • 5

  • 1

  • 0

Evaluation - Section - A | Q 10. | Page 130

Which of the following is called compile-time operators?

  • sizeof

  • pointer

  • virtual

  • this

Evaluation - Section - B [Page 131]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Evaluation - Section - B [Page 131]

Very Short Answers

Evaluation - Section - B | Q 1. | Page 131

What is meant by a token?

Evaluation - Section - B | Q 1. | Page 131

Name the token available in C++.

Evaluation - Section - B | Q 2. | Page 131

What are keywords?

Evaluation - Section - B | Q 2. | Page 131

Can keywords be used as identifiers?

Evaluation - Section - B | Q 3. (i) | Page 131

The following constant is of which type?

39

Evaluation - Section - B | Q 3. (ii) | Page 131

The following constant is of which type?

032

Evaluation - Section - B | Q 3. (iii) | Page 131

The following constant is of which type?

0XCAFE

Evaluation - Section - B | Q 3. (iv) | Page 131

The following constant is of which type?

04.14

Evaluation - Section - B | Q 4. (i) | Page 131

Write the following real constant into the exponent form:

23.197

Evaluation - Section - B | Q 4. (ii) | Page 131

Write the following real constant into the exponent form:

7.214

Evaluation - Section - B | Q 4. (iii) | Page 131

Write the following real constant into the exponent form:

0.00005

Evaluation - Section - B | Q 4. (iv) | Page 131

Write the following real constant into the exponent form:

0.319

Evaluation - Section - B | Q 5. | Page 131

Assume n = 10; what will be result of n++ and --n;?

Evaluation - Section - B | Q 6. | Page 131

Match the following.

A B
(a) Modulus (1) Tokens
(b) Separators (2) Remainder of a division
(c) Stream extraction (3) Punctuators
(d) Lexical Units (4) get from
Evaluation - Section - C [Page 131]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Evaluation - Section - C [Page 131]

Short Answers

Evaluation - Section - C | Q 1. | Page 131

Describe the differences between keywords and identifiers?

Evaluation - Section - C | Q 2. | Page 131

Is C++ case sensitive? What is meant by the term “case sensitive”?

Evaluation - Section - C | Q 3. | Page 131

Differentiate “=” and “==”.

Evaluation - Section - C | Q 4. | Page 131

What is the use of a header file?

Evaluation - Section - C | Q 5. | Page 131

Why is the main function special?

Evaluation - Section - D [Page 131]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Evaluation - Section - D [Page 131]

Explain in detail

Evaluation - Section - D | Q 1. | Page 131

Write about Binary operators used in C++.

Evaluation - Section - D | Q 2. | Page 131

What are the types of Errors?

Data Types, Variables and Expressions - Evaluation - Section – A [Page 150]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Data Types, Variables and Expressions - Evaluation - Section – A [Page 150]

Choose the correct answer

Data Types, Variables and Expressions - Evaluation - Section – A | Q 1. | Page 150

How many categories of data types are available in C++?

  • 5

  • 4

  • 3

  • 2

Data Types, Variables and Expressions - Evaluation - Section – A | Q 2. | Page 150

Which of the following data types is not a fundamental type?

  • signed

  • int

  • float

  • char

Data Types, Variables and Expressions - Evaluation - Section – A | Q 3. | Page 150

What will be the result of the following statement?

char ch= ‘B’;

cout << (int) ch;

  • B

  • b

  • 65

  • 66

Data Types, Variables and Expressions - Evaluation - Section – A | Q 4. | Page 150

Which of the character is used as a suffix to indicate a floating-point value?

  • F

  • C

  • L

  • D

Data Types, Variables and Expressions - Evaluation - Section – A | Q 5. | Page 150

How many bytes of memory is allocated for the following variable declaration if you are using Dev C++? short int x;

  • 2

  • 4

  • 6

  • 8

Data Types, Variables and Expressions - Evaluation - Section – A | Q 6. | Page 150

What is the output of the following snippet?

char ch = ‘A’;

ch = ch + 1;

  • B

  • A1

  • F

  • 1A

Data Types, Variables and Expressions - Evaluation - Section – A | Q 7. | Page 150

Which of the following is not a data type modifier?

  • signed

  • int

  • long

  • short

Data Types, Variables and Expressions - Evaluation - Section – A | Q 8. | Page 150

Which of the following operator returns the size of the data type?

  • sizeof( )

  • int ( )

  • long ( )

  • double ( )

Data Types, Variables and Expressions - Evaluation - Section – A | Q 9. | Page 150

Which operator is used to access the reference of a variable?

  • $

  • #

  • &

  • !

Data Types, Variables and Expressions - Evaluation - Section – A | Q 10. | Page 150

This can be used as an alternate to endl command ______ 

  • \t

  • \b

  • \0

  • \n

Data Types, Variables and Expressions - Evaluation - Section - B [Pages 150 - 151]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Data Types, Variables and Expressions - Evaluation - Section - B [Pages 150 - 151]

Very Short Answers

Data Types, Variables and Expressions - Evaluation - Section - B | Q 1. | Page 150

Write a short note on the const keyword with an example.

Data Types, Variables and Expressions - Evaluation - Section - B | Q 2. | Page 150

What is the use of setw( ) format manipulator?

Data Types, Variables and Expressions - Evaluation - Section - B | Q 3. | Page 150

Why is char often treated as an integer data type?

Data Types, Variables and Expressions - Evaluation - Section - B | Q 4. | Page 150

What is a reference variable? What is its use?

Data Types, Variables and Expressions - Evaluation - Section - B | Q 5. | Page 150

Consider the following C++ statement. Are they equivalent?

char ch = 67;

char ch = ‘C’;

Data Types, Variables and Expressions - Evaluation - Section - B | Q 6. | Page 151

What is the difference between 56L and 56?

Data Types, Variables and Expressions - Evaluation - Section - B | Q 7. (i) | Page 151

Determine which of the following are valid constant? And specify their type.

0.5

Data Types, Variables and Expressions - Evaluation - Section - B | Q 7. (ii) | Page 151

Determine which of the following are valid constant? And specify their type.

‘Name’

Data Types, Variables and Expressions - Evaluation - Section - B | Q 7. (iii) | Page 151

Determine which of the following are valid constant? And specify their type.

‘\t’

Data Types, Variables and Expressions - Evaluation - Section - B | Q 7. (iv) | Page 151

Determine which of the following are valid constant? And specify their type.

27,822

Data Types, Variables and Expressions - Evaluation - Section - B | Q 8. | Page 151

Suppose x and y are two double-type variables that you want to add as integer and assign to an integer variable. Construct a C++ statement to do the above.

Data Types, Variables and Expressions - Evaluation - Section - B | Q 9. (a) | Page 151

What will be the result of following if num = 6 initially?

cout << num;

Data Types, Variables and Expressions - Evaluation - Section - B | Q 9. (b) | Page 151

What will be the result of following if num = 6 initially?

cout << (num==5);

Data Types, Variables and Expressions - Evaluation - Section - B | Q 10. (i) | Page 151

Which of the following statement is valid? Why? Also, write their result.

int a; a = 3,014;

Data Types, Variables and Expressions - Evaluation - Section - B | Q 10. (ii) | Page 151

Which of the following statement is valid? Why? Also, write their result.

int a; a = (3,014);

Data Types, Variables and Expressions - Evaluation - Section - C [Page 151]

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board 9 Introduction to C++ Data Types, Variables and Expressions - Evaluation - Section - C [Page 151]

Short Answers

Data Types, Variables and Expressions - Evaluation - Section - C | Q 1. | Page 151

What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.

Data Types, Variables and Expressions - Evaluation - Section - C | Q 2. | Page 151

How relational operators and logical operators are related to one another?

Data Types, Variables and Expressions - Evaluation - Section - C | Q 3. (i) | Page 151

Evaluate the following C++ expressions where x, y, z are integers and m, n are floating-point numbers. The value of x = 5, y = 4 and m=2.5;

n = x + y / x;

Data Types, Variables and Expressions - Evaluation - Section - C | Q 3. (ii) | Page 151

Evaluate the following C++ expressions where x, y, z are integers and m, n are floating-point numbers. The value of x = 5, y = 4 and m=2.5;

z = m * x + y;

Data Types, Variables and Expressions - Evaluation - Section - C | Q 3. (iii) | Page 151

Evaluate the following C++ expressions where x, y, z are integers and m, n are floating-point numbers. The value of x = 5, y = 4 and m = 2.5;

z *= x * m + x;

Solutions for 9: Introduction to C++

Evaluation - Section - AEvaluation - Section - BEvaluation - Section - CEvaluation - Section - DData Types, Variables and Expressions - Evaluation - Section – AData Types, Variables and Expressions - Evaluation - Section - BData Types, Variables and Expressions - Evaluation - Section - C
Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 9 - Introduction to C++ - Shaalaa.com

Samacheer Kalvi solutions for Computer Science [English] Class 11 TN Board chapter 9 - Introduction to C++

Shaalaa.com has the Tamil Nadu Board of Secondary Education Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. Samacheer Kalvi solutions for Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education 9 (Introduction to C++) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.

Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. Samacheer Kalvi textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in Computer Science [English] Class 11 TN Board chapter 9 Introduction to C++ are C++ Character Set, Introduction to C++, Lexical Units (Tokens), I/O Operators, Sample program – A first look at C++ program, Execution of C++ Program, C++ Development Environment, Types of Errors, Data Types, C++ Data Types, Variables of Built-in-data Types, Formatting Output, Expression, Type Conversion in Expressions.

Using Samacheer Kalvi Computer Science [English] Class 11 TN Board solutions Introduction to C++ exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in Samacheer Kalvi Solutions are essential questions that can be asked in the final exam. Maximum Tamil Nadu Board of Secondary Education Computer Science [English] Class 11 TN Board students prefer Samacheer Kalvi Textbook Solutions to score more in exams.

Get the free view of Chapter 9, Introduction to C++ Computer Science [English] Class 11 TN Board additional questions for Mathematics Computer Science [English] Class 11 TN Board Tamil Nadu Board of Secondary Education, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×