CBSE Class 12 Computer Science 4 Marks HOTs

Scroll down to download pdf file

CBSE Class 12 Computer Science HOTs Questions Database. Based on CBSE and NCERT guidelines. The students should practice these HOTs Questions to gain perfection which will help him to get more marks in CBSE examination. Based on CBSE and NCERT guidelines. Based on the same pattern as released by CBSE every year. CBSE releases HOTs Questions every year. These papers are released prior to the CBSE board examinations so that students can do practice. database of 1 marks, 2 marks, 3 marks and 5 marks questions.

4 Marks Questions

Programming in C++

1. Define a class Serial in C++ with the following specifications:

Private members of class Serial

- Serialcode          integer

- Title                  20 characters

- Duration            float

- Noofepisodes     integers

Public member function of class Serial

- A constructor function to initialize Duration as 30 and noofepisodes as 10

- Newserial function to accept values for serialcode and Title.

- Otherenteries( ) function to assign the values of Duration and Noofepisodes with the help of corresponding values passed as parameters to this function.

Dispdata( ) function to display all the data members on the screen

2. Consider the following and answer the questions given below:4

class university

{

int noc;

protected:

char uname[25];

public:

university( );

char state[25];

void enterdata( );

void displaydata( );

};

class college : public university

{

int nod;

char cname[25];

protected:

void affiliation( );

public:

college( );

void enroll(int,int);

void show( );

};

class department : public college

{

char dname[25];

int nof;

public:

department( );

void display( );

void input( );

};

(i) Which class’s constructor will be called first at the time of declaration of an object of

Please refer to link below to download pdf file of CBSE Class 12 Computer Science 4 Marks HOTs

Tags: 


Click on the text For more study material for Computer Science please click here - Computer Science

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

Self-study builds confidence in students

With the increasing number of new technologies and an increasing global population, self-study is growing. Education is no longer restricted to just the classroom. For high school self-study is very important because class 10 and class 12 sets the base for life. Also,...

No need to pay CBSE fee for Delhi government school students:

Last month Delhi government announced that the students of government schools will not be charged any fees to the Central Bureau of Secondary Education (CBSE). Well, Delhi Education Minister Manish Sisodia said this while addressing students during a function at the...

Tips to find an excellent home tutor for your child

Most parents dream of making their children good at school, college and building a successful career. So, what exactly should your parents do when they find out their child is failing behind? Many depressed parents solve this problem by hiring a tutor. Most of the...

10 Extra Curricular Activities that a School Student can Enroll in

“Education is what remains after one has forgotten what one has learned in school”-AlbertEinstein The statement is indeed true but doesn’t mistake it to be limited to academic education. It clearly implies both types of education-Academic and Non-Academic. Academic...

Unknown Differences between CBSE Board and ICSE Board

The Indian Board of Education is divided into two boards, CBSE and ICSE. According to the different features of the boards people choose to study in the board the prefer more. The Central Board of Secondary Education (CBSE) is a national level board of education...

What to do if you fail in the class 12th compartment exam

The Central Board of Secondary Education (CBSE) has declared the results of the class 12 compartment examination held on July 2. By the way, students who have passed the exams can breathe in relief, but those students who have not yet passed, they have to focus on...