CBSE Class 12 Computer Science Question Paper 2020 Set A

Scroll down for PDF

CBSE Class 12 Computer Science Question Paper 2020 Set A. 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.

1. a) What is difference between type casting and automatic type conversion? Explain with suitable example in C++.

b) Name the header files for which the following function belongs:

(i) setw ( ) (ii) isalnum( )

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


struct Display


int ROW, COL;


void Showpoint(Display D)


cout<< D.ROW << D.COL <<endl;


void main( )


Display Disp1 = ( 10, 20 );

Display Disp2 = Disp1;

Disp1.Showpoint( );

ROW + = 15;

Showpoint( ).Disp2;


d) Give the output of the following program:


void main( )


int *ptrArray[10];

int marks[ ] = {75, 68, 90, 34, 0, 10, 90, 65};

for ( int i = 0 ; marks[i] != 0 ; i++)


ptrArray[i] = &marks[i];

*(ptrArray[i]) += 5;


int index = 0;

while(index < i)


int k = *(ptrArray[index]);

if (k > 60)

cout<< k <<” , ”;




e) Give the output of the following program:




void main( )


char*DATA = " a HexaDecimal" ;

for(int ctr = 0 ; ctr<strlen(DATA) ; ctr ++)

if(islower (DATA[ctr] ))

DATA[ctr] = toupper(DATA[ctr]);



if((ctr%2) ! = 0)

DATA[ctr] = tolower(DATA[ctr - 1]);


DATA[ctr]=DATA[ctr] -2;




Please click the link below to download pdf file of CBSE Class 12 Computer Science Question Paper 2020 Set A


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

JEE Main registration 2020 List of qualifying exams

JEE Main registration 2020: List of qualifying exams The process of JEE (Joint Entrance Examination) Main has already been started from September 3, 2019, on the official website of JEE, i.e. The interested and eligible students can also apply for JEE...

CBSE schools to have sports period daily for classes 1 to 12

All work and no play makes a child dull. Nowadays students have a very hectic schedule so that they cannot take out time to play games and gently start ignoring sports. Therefore, it is the responsibility of schools to include physical education in the curriculum so...

CBSE Board Exams Changes to be implemented in exam pattern

CBSE Board Exams Class 10 & 12 2020: Changes to be implemented in exam pattern Are you appearing for the CBSE Class 10 and 12 Board Exams 2020? If yes, then you have to check out what CBSE has brought the major changes for the CBSE class 10 and 12 board exams 2020...

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...

Top Classroom Challenges According to the Teachers

Teacher plays a major role in our lives in the classrooms. Not only is studying, but the teacher also serves many other roles in the classrooms. A teacher is always a role model for a student who can inspire him to live a better future life. Besides this, life of a...

Vidya Daan by CBSE

CBSE has launched a new initiative to provide free of cost quality education to students in rural areas. CBSE has named that initiative “Vidya Daan”. Lot of reforms are been continuously done by CBSE so that the teachers can offer a personalized experience to students...

Studies Today