Blog

http://ncert-solution.in

Created with Sketch.

NCERT Solutions for Class 12 Computer Science (C++) – Stack

NCERT Solutions for Class 12 Computer Science (C++) – Stack Short Answer Type Questions-I[2 marks each] Question 1. Evaluate the following postfix expression. Show the status of stack after execution of each operation separately: 2,13, + , 5, -,6,3,/,5,*,< Answer: ITEM SCANNED OPERATION STACK 2 PUSH 2 2 13 PUSH 13 2,13 + POP 13…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Pointers

NCERT Solutions for Class 12 Computer Science (C++) – Pointers Very Short Answer Type Questions    [1 mark each] Question 1: Write the definition of a function FixPay (float Pay[ ], int N) in C+ + , which should modify each element of the array Pay having N elements, as per the following rules : Existing…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Arrays

NCERT Solutions for Class 12 Computer Science (C++) – Arrays TOPIC-1 Data Structures and One-dimensional Arrays Short Answer Type Questions-I[2 Marks Each] Question 1. Observe the following C++ code and find out, which out of the given options (i) to (iv) are the expected correct output. Also assign the maximum and minimum value that can…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Data File Handling

NCERT Solutions for Class 12 Computer Science (C++) – Data File Handling TOPIC-1 Data File Handling : text file Short Answer Type Questions-I[2 marks each] Question 1. Write a user defined function word_count() in C+ + to count how many words are present in a text file named “opinion.txt”. For Example, if the file opinion.txt…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Inheritance

NCERT Solutions for Class 12 Computer Science (C++) – Inheritance Long Answer Type Questions Question 1: Answer the questions (i) to (iv) based on the following : class ITEM { int ID; char IName[20]; protected: float Qty; public: ITEM(); void Enter(); void View(); }; Class TRADER; { int DCode; Protected: char Manager[20]; public: TRADER(); void…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Constructor and Destructor

NCERT Solutions for Class 12 Computer Science (C++) – Constructor and Destructor TOPIC-1 Constructors Short Answer Type Questions-I    [2 marks each] Question 1: Write four characteristics of constructor function used in a class.    [Delhi, 2014] Answer: (i) A constructor function has no return type. (ii) Name of constructor is same as that of class. (iii)…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Implementation of OOP Concepts in C++

NCERT Solutions for Class 12 Computer Science (C++) – Implementation of OOP Concepts in C++ TOPIC-1 Classes Short Answer Type Questions-I    [2 marks each] Question 1: Observe the following C++ code and answer the question (i) and (ii):    [Delhi, 2015] class Traveller { long PNR; char TName [20]; public : Traveller ( ) //Function…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – Object Oriented Programming in C++

NCERT Solutions for Class 12 Computer Science (C++) – Object Oriented Programming in C++ TOPIC – 1 Object-Oriented Programming: Introduction Short Answer Type Questions-I    [2 marks each] Question 1: Differentiate between data abstraction and data hiding.    [Delhi, 2015] Answer: Data hiding can be defined as the mechanism of hiding the data of a class…
Read more

NCERT Solutions for Class 12 Computer Science (C++) – C++ Revision Tour

NCERT Solutions for Class 12 Computer Science (C++) – C++ Revision Tour TOPIC-1 Basics of C++ Very Short Answer Type Questions [1 mark each] Question 1: Write the related library function name based upon the given information in C++. Get single character using keyboard. This function is available in stdio.h file. To check whether given…
Read more

NCERT Solutions for Class 12 Computer Science (C++)

NCERT Solutions for Class 12 Computer Science (C++) UNIT – 1: OBJECT-ORIENTED PROGRAMMING IN C++ Chapter 1 C++ Revision Tour Chapter 2 Object-Oriented Programming in C++ Chapter 3 Implementation of OOP Concepts in C++ Chapter 4 Constructor and Destructor Chapter 5 Inheritance Chapter 6 Data File Handling Chapter 7 Pointers UNIT – II: DATA STRUCTURES…
Read more

This is a free online math calculator together with a variety of other free math calculatorsMaths calculators
+