CBSE Class 12 Computer Science Question Paper Solved 2019

Scroll down for PDF

CBSE Class 12 Computer Science Question Paper Solved 2019. Students can download the last year board exams 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.

SECTION A

[Only for candidates, who opted for C++]

1. (a) Write the names of any four fundamental data types of C++.

(b) Write the names of the correct header files, which must be included in the following C++ code to compile the code successfully :

void main()

{

char L[]="CS 2018";

int N=strlen(L);

cout<<L[N-1];

}

(c) Rewrite the following C++ program after removing any/all syntactical error(s). Underline each correction done in the code :

Note : Assume all required header files are already included in the program.

#define Area(L,B) = L*B

structure Recta

{

int Length,Breadth;

};

void main()

{

Recta R = [10,15];

cout<<Area(Length.R,Breadth.R);

}

(d) Find and write the output of the following C++ program code :

Note : Assume all required header files are already included in the program.

void Alter(char *S1, char *S2)

{

char *T;

T=S1;

S1=S2;

S2=T;

cout<<S1<<"&"<<S2<<end1;

}

void main()

{

char X[]="First", Y[]="Second";

Alter(X,Y);

cout<<X<<"*"<<Y<<end1;

(e) Find and write the output of the following C++ program code :

Note : Assume all required header files are already included in the program.

void Convert(float &X, int Y=2)

{

X=X/Y;

Y=X+Y;

cout<<X<<"*"<<Y<<endl;

}

void main()

{

float M=15, N=5;

Convert(M,N);

Convert(N);

Convert(M); 

} 

Please click the link below to download pdf file of CBSE Class 12 Computer Science Question Paper Solved 2019.

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

IBM to Set AI Curriculum for CBSE Class IX to XII

The Central Board of Secondary Education has tied up with IBM to develop a course of Artificial Intelligence in the CBSE curriculum. Now CBSE is going to introduce Artificial Intelligence as an elective subject for class 9 to 12th. The CBSE has taken this decision to...

CBSE Board Exams 2020 Attendance rules revised for Class 10 and 12 students

CBSE Board Exams 2020: Attendance rules revised for Class 10, 12 students : The Central Board of Secondary Education (CBSE) has announced new rules to deal with the cases of short attendance of students of all its affiliated schools. The board has issued a set of...

CBSE Registration 2019-2020

CBSE Registration 2019-2020: Check latest rules for students' registration in class IX and XI The Central Board of Secondary Education (CBSE) has changed the registration rules for class 9 to streamline the processes related to examinations in a time-efficient manner...

Sample Papers for Class 10 Boards 2020

CBSE has recently released the Class 10 Sample Papers for Board exams which are to be held in March 2020. The sample papers have been for class 10 for all subjects along with the suggested marking scheme. CBSE releases these suggested papers every year so that the...

Sample Papers for Class 12 Boards 2020

CBSE has released the final sample papers for the class 12 boards exams as per the new pattern as per which the question papers are expected to come in the 2020 board exams for class 12. The sample papers have been for class 12 for all subjects along with the suggested...

CBSE Class 10 Board Exam 2020

CBSE Class 10 Board Exam 2020: Problems Students May Face In Choosing Subject The Central Board of Secondary Education (CBSE) class 10 board examination will start from February 2020. The Central Board of Secondary Education (CBSE) has started the process of filling...

×
Studies Today