CBSE Class 12 Computer Science Sample Paper 2017 Solved Set E

Read and download PDF of CBSE Class 12 Computer Science Sample Paper 2017 Solved Set E 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 Solved Set E

Computer Science Class 12 Sample Paper

 

1. (a) What is the difference between Type casting and Automatic type Conversion? Give examples 

(b)Write the names of the header files which are necessary to execute the following C++ code 

void main()

{ char name[40];

strcpy(name, “Vijay Sharma”);

puts(name)

}

(c) Identify and correct the errors if any, underline the correction 

#include<iostream h>

int main

{

Unsigned long i,fact=1;

cout<<”Enter a number “;

cin>>num;

while(num)

{

fact=fact*fact;

--num;

}

cout<<”the factorial is “<<fact;

}

(d) Find the output of the following program (imagine header files are included) 

void main()

{

clrscr();

char *NAME = "@KVid5yaLaY*a";

for (int x = 0; x < strlen(NAME); x++)

if (islower(NAME[x]))

NAME[x] = toupper(NAME[x]);

else

if (isupper(NAME[x]))

if (x%2==0)

NAME[x] = tolower(NAME[x]);

else

NAME[x] = NAME[x-1];

puts(NAME);

getch();

}

(e) Give the output of the following program 3

#include<iostream.h>

#include<conio.h>

void Execute(int &B, int C = 50)

{

int TEMP = B+C;

B += TEMP;

if(C != 150)

cout << " "<<TEMP<<" " <<" "<< B <<" "<< C << endl;

}

void main ( )

{

clrscr();

int M = 20, N = 10;

Execute(M);

cout <<" "<< M<< " "<<" "<< N << endl;

Execute(M, N);

cout <<" "<<M <<" "<< N << endl;

getch();

}

(f) Find the possible out put(s) & What will be the minimum & Maximum values 2

#include<stdlib.h>

#include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

randomize();

int N, numgus;

N=10;

numgus=random(N)+10; 

cout<<numgus<<endl;

getch();

}

2. (a)What do you mean by a temporary instance of a class ? What is its use? how is it created? 

(b)Answer the questions(i) and(ii) after going through the following class: 

class TestMeOut

{public:

~TestMeOut() //Function 1

{ cout<<"Play over"<<endl; }

TestMeOut( ) //Function 2

{cout<<"Preparing to play"<<endl;

void MyWork( )

{ cout<<"Playing"<<endl

}

(i) In OOP what is Function 1 referred as and when does it get invoked?

(ii) In OOP what is Function 2 referred as and when does it get invoked? Write the statement to invoke Function2.

(c) Define a class serverspace with the following specifications. 

Private members of the class

Filenames – an array of strings of size[10][25]

( to represent all the names of files inside serverspace )

Availspace – long

( to represent total number of bytes available in serverspace)

Usedspace – long

( to represent total number of bytes used in serverspace)

public members of the class

(d)Answer the questions i to iv based on the following code 4

Newfileentry() – Afunction to accept values of Filenames, Availspace and Usedspace from user

Retavailspace() – A Fucntion that returns the value of total Kilobytes

available ( 1 Kilobytes = 1024 bytes)

Showfiles() – a function that displays the names of all the files in serverspace

 

Please click the link below to download CBSE Class 12 Computer Science Sample Paper 2017 Solved Set E

CBSE Class 12 Computer Science Sample Paper 2017 Solved Set E

We hope you liked the above provided CBSE Class 12 Computer Science Sample Paper 2017 Solved Set E. 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 Solved Set E 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 Solved Set E in Pdf

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

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

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

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

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 Solved Set E available in multiple languages

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