CBSE Class 12 Computer Science Sample Paper 2017 Set B

Read and download PDF of CBSE Class 12 Computer Science Sample Paper 2017 Set B designed as per the latest curriculum and examination pattern for Class 12 issued by CBSE, NCERT and KVS. The latest Class 12 Computer Science Sample Papers have been provided with solutions so that the students can solve these practice papers and then compare their answers. This will help them to identify mistakes and improvement areas in Computer Science Class 12 which they need to study more to get better marks in Class 12 exams. After solving these guess papers also refer to solved Class 12 Computer Science Question Papers available on our website to build strong understanding of the subject

Sample Paper for Class 12 Computer Science Pdf

Students can refer to the below Class 12 Computer Science Sample Paper designed to help students understand the pattern of questions that will be asked in Class 12 exams. Please download CBSE Class 12 Computer Science Sample Paper 2017 Set B

Computer Science Class 12 Sample Paper

 

1. (a) What is difference between Type Casting and Automatic Type Conversion? Also, give a suitable C++ to illustrate both.

Ans. Explicit Type Casting is used to convert value of one type to another type for example

float x=(float) 3 / 2; // 1.5 will be assigned as result, because 3 is converted into 3.0 Automatic Type Conversion is the type conversion done by the compiler wherever required. e. g. float x=3/2; //here 1.0 will be assigned as result, because 1 is automatically converted in 1.0

1. (b) Write the names of the header files, which is/are essentially required to run/execute the following C++ code:

void main() 1

{char CH,Text[ ]=”+ve Attitude”;

for(int i=0;Text[ i]=’\0’’i++)

if(Text[i]==’ ‘)

cout<<endl;

else {CH=toupper(Text[i]);

cout<<CH;

}

}

Ans. Required header files are iostream.h and ctype.h

1. (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction.

include<iostream.h>

typedef char[80] String;

void main( )

{String S=”Peace”;

int L=strlen(S);

cout<<S<<’ has ‘<<L<<’characters’<<endl;

}

Ans.

#include<iostream.h>

#include<string.h>

typedef char [80] String;

void main( )

{

String S=”Peace”;

int L=strlen(S);

cout<<S<<” has “<<L<<” characters”<<endl;

}

1. (d) Find the output of the following program:

#include<iostream.h>

void SwitchOver(int A[ ], int N, int Split)

{ for (int K=0; K<N; K++)

if(K<Split)

A[K]+=K;

else

A[K]*=K;

}

void display(int A[ ], int N)

{ for(int K=0; K<N; K++)

(K%2==0) ? cout<<A[K]<<”%” : cout<<A[K]<<endl;

}

void main( )

{ int H[30, 40, 50, 20, 10, 5};

SwitchOver(H,6,3);

Display(H, 6);

}

Ans.cout<<endl;

}

}


Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sample Paper 2017 Set B

CBSE Class 12 Computer Science Sample Paper 2017 Set B

We hope you liked the above provided CBSE Class 12 Computer Science Sample Paper 2017 Set B. To get an understanding of the type of questions which were asked in exams, it is important for Class 12 students to understand the way sample Paper are set by teachers. Students can download the Sample Paper for Class 12 Computer Science which will be coming in the exams so that you can practise them and solve all types of questions that can be asked in exams. By doing CBSE Class 12 Computer Science Sample Paper 2017 Set B you will understand the regular questions and MCQ questions for Class 12 Computer Science which are always asked. You can download CBSE Class 12 Computer Science Sample Paper and Class 12 Computer Science Question Papers in PDF. You should attempt all the last year question paper for Class 12 and Class 12 Computer Science MCQ Test in examination conditions at home and then compare their answers with the solutions provided by our teachers.

Where can I download CBSE Class 12 Computer Science Sample Paper 2017 Set B in Pdf

You can download CBSE Class 12 Computer Science Sample Paper 2017 Set B from StudiesToday.com

How can I improve my scores by solving CBSE Class 12 Computer Science Sample Paper 2017 Set B

Regular practice of sample question paper given on studiestoday for CBSE Class 12 Computer Science Sample Paper 2017 Set B can help you to score better marks in exams

Are there any websites that offer free CBSE Class 12 Computer Science Sample Paper 2017 Set B

Yes, studiestoday.com provides all latest CBSE Class 12 Computer Science Sample Papers with answers based on the latest format issued for current academic session

Are mock CBSE Class 12 Computer Science Sample Paper 2017 Set B available in multiple languages

Yes, mock CBSE Class 12 Computer Science Sample Paper 2017 Set B are available in multiple languages, including English, Hindi