CBSE Class 12 Computer Science Question Paper 2020 Set A

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 to View or Download pdf file
Click for more Computer Science Study Material

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

Training of CBSE School Teachers on Olabs

Training of CBSE School Teachers on Olabs in collaboration with C-DAC Mumbai: OLabs is a platform jointly developed by the Ministry of Electronics and Telecommunications, Government of India, CDAC, and Amrita University to facilitate a virtual experience of CBSE...

Conduct of the practical work during the lockdown

CBSE has advised schools to follow the Alternative Calendar developed by NCERT to continue education during the lockdown through alternative modes to achieve learning outcomes. Schools have reportedly started using these calendars and other prescribed pedagogical...

TERI Green Olympiad 2020

Green Olympiad is a value driven project conducted by TERI (The Energy and Resources Institute) for school students annually since 1999. This Olympiad assesses the environment quotient of students and also enhances their understanding on issues related to sustainable...

Online Teacher Training Course on Competency based Education in DIKSHA

Competency is a set of skills, abilities, knowledge that helps an individual perform a given task in real life. Every learning should go into the imbibing of these skills to lead a productive and joyful life. The NATIONAL EDUCATION POLICY-2020 calls for shift towards...

Keep your kids engaged during Lockdown

Kids are the Future of our Country! Outlines have changed and so should the formats of existence! It is the best time to teach our kids the pleasure of Self-Discipline, Self-Realization and Self-Control. To keep the future generation safe in such unpredictable...

Revised SOP preventive measures followed while conducting examinations

Revised SOP on preventive measures to be followed while conducting examinations to contain spread of COVID-19 issued by Ministry of Health & Family Welfare Examination centres are frequented by large number of students (as well as their parents) and staff till the...

×
Studies Today