CBSE Class 12 Computer Science Question paper 2006 (2)

Scroll down for PDF

CBSE Class 12 Computer Science Question paper 2006 (2). Students can download the last year question papers using the link below. Free download of examination question papers with solutions.Last 10 year question papers should be practised to get better marks in examinations.

Q.1. a. Name the header file to which the following belong:                                                                       [1]

            i. pow( )

            ii. random( )

    b. Illustrate the use of inline function in C++ with the help of an example.                                           [2]

    c. Rewrite the following program after removing the syntactical error(s), if any.Underline each correction.

                                                                                                                                                        [2]

           #include <iostream.h>

           void main( ) 

          {     struct movie

                 {    char movie_name [20];

                       char movie type;

                 int ticket cost = 100;

          }MOVIE;

               gets(movie_name);

               gets(movie_type);

          }

    d.  Find the output of the following program:                                                                                     [3]

         #include<iostream.h>

        #include<string.h>

        class student

         {       char *name;

                  int l ;

                  public:

                  student( ) {l=0; name=new char I1+1]; }

                  student (char *s)

                  {      I =strlen(s); name=new char[I+1];

                         strcpy (name,s);

                  }

                   void display( ) {cout<<name<<endl;}

                   void manipulate(student & a, student & b)

                   {  I = a. I + b.I;

                    delete name;

                     name=new char[I+1];

                     strcpy(name, a.name);

                     strcat(name, b.name);

                    } 

          };

Please click the link below to download pdf file of CBSE Class 12 Computer Science Question paper 2006 (2).

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

Requirements for admissions in CBSE affiliated Schools

CBSE gives an advanced form of education. They try to indulge students in interactions and teach application based subjects along with some others. Due to this preponderance of parents, they tend to admit their children in CBSE affiliated schools. General conditions...

CBSE Circular Aryabhatta Ganit Challenge

For students with a keen interest in mathematics are now provided with a better opportunity to explore their knowledge. CBSE has announced to conduct an exam for the purpose of generating interest in maths among students. It is a trial to clarify the myth that...

CBSE to conduct a voluntary test for class 11th and 12th

Nowadays students have the liberty to choose the field they seem to fit in. A few years back the problem was parents who burdened children with their own choices. On the other side, now students along with their parent's support are free to choose their field. Not any...

CBSE DATE SHEET 2020

Central Board of Secondary Education, CBSE is to conduct the 10th and 12th Board Examination 2020 from February 15, 2020. Due to University Admissions, CBSE has shifted Board Exams dates from 1 March to February 15 from 2019. This year too CBSE would be making changes...

Registration of NEET 2020 starts

The NEET 2020 registration process would start on Monday, December 2nd, 2019. National Testing Agency, NTA would carry out the county’s undergraduate entrance exam for medical and dental admissions.  The examination is scheduled to take place in English, Hindi, and...

×
Studies Today