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:

#include<iostream.h>

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:

#include<iostream.h>

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 <<” , ”;

index++;

}

}

e) Give the output of the following program:

#include<ctype.h>

#include<string.h>

#include<iostream.h>

void main( )

{

char*DATA = " a HexaDecimal" ;

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

if(islower (DATA[ctr] ))

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

else

if(isupper(DATA[ctr]))

if((ctr%2) ! = 0)

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

else

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

cout<<DATA;

}

 

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

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

Tips for exam preparation

Students often get nervous during their exams. The reason behind this nervousness is either a lack of confidence or a lack of preparedness. To overcome these fears students are advised to do their preparation in such a way that will retain their confidence. For this...

JEE in Punjabi too after English, Hindi and Gujarati

Punjab Minister Tript Rajinder Singh Bajwa requested the joint technology entrance exam (main) to be conducted in Punjabi and other regional languages too. In his letter to Union HRD Minister Ramesh Pokhriyal Nishank, the Punjab Minister for Higher Education and...

CBSE to launch 'Tamanna' aptitude test

Introduction: The poor decisive condition of students to pursue their subject of interest has been an area of concern. To the ease of which CBSE is to launch ‘Tamanna’. An aptitude test in order to provide a line of guidance to students of class 9th and 10th. What is '...

Seven Motivational tips for every student

If you’re are a student or a learner and you doesn’t feel like study then this article is going to be very important for you, Reading constantly and Staying motivated as a student is one of the most challenging tasks and barriers to educational success. Education is...

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

How to crack a competitive examination

“How I crack a competitive examination” is a frequently asked question by today’s students. Cracking a competitive exam is a challenging task. Attaining a huge amount of study and solving several complex problems in a limited amount of time is a huge task. Competitive...

×
Studies Today