CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved

Read the CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved below. Find downloadable Class 12 Computer Science sample papers complete with answers, built according to the 2026-27 assessment guidelines of CBSE, NCERT, and KVS. Reviewing these sets helps every Class 12 learner measure their readiness for upcoming tests.

CBSE Class 12 Computer Science Sample Question Papers

Want to know which chapters carry high marks? Working through our Class 12 Computer Science model papers helps you learn chapter weightage and expected test difficulty. Solving these guess papers enables Class 12 students to find weak spots and practice better time management. We also recommend checking our previous years' Class 12 Computer Science Question Papers for extra practice.

Computer Science Sample Papers for Class 12 (2026-27)

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

Model Practice Papers & Solutions for Class 12 Computer Science

Download Sample Paper: CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved (Class 12 Computer Science)

Retrieve the CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved from our portal to kickstart your targeted revision. Familiarity with standard question patterns helps Class 12 students excel in examinations. Practice these recent Computer Science sample sets to cover expected test scenarios effectively. Take advantage of the PDF format option for offline practice, complete with timed home simulations.

Benefits of Practicing Class 12 Computer Science Sample Papers

  • Exclusive Questions: Explore novel practice items for Computer Science designed to challenge your understanding.
  • Syllabus Mapping: Learn chapter priorities and question styles prevalent in current Class 12 guidelines.
  • Performance Review: Analyze test results to isolate difficult areas in Class 12 Computer Science for remedial study.
  • Speed Enhancement: Solving mixed format questions for Class 12 Computer Science guarantees improved speed and timely paper completion.

Maximizing Results After Solving CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved

  1. Check Your Work: Match your answers with the solutions given by our teachers in the Computer Science Sample Paper PDF.
  2. Learn from Mistakes: Class 12 students should focus on the questions which you solved incorrectly and understand the error.
  3. Revision: If you find a question difficult you should refer to the NCERT book for Class 12 Computer Science to understand concepts and then try the question again.
  4. Continuous Practice: Solve multiple sets of Computer Science sample papers from our website to build confidence before the CBSE exams.

FAQs

Where can I download the PDF for CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved?

You can download the complete PDF for CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved for free from StudiesToday.com. Our resources for Class 12 Computer Science are updated for the latest academic session and follow the official exam pattern.

Are solutions provided for CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved?

Yes, CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved comes with detailed, teacher-verified solutions. We have provided step-by-step answers for Computer Science to help students of Class 12 understand correct methodology and marking scheme.

How can practicing CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved help in exam preparation?

Practicing this Computer Science paper helps in time management and identifying important topics. For Class 12, solving mock papers is the best way to gain confidence and reduce exam-day anxiety.

Is the CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved accessible on mobile and tablets?

Yes, all our study materials for Class 12 Computer Science are provided in a mobile-friendly PDF format. You can easily download CBSE Class 12 Computer Science Sample Paper 2017 Set 05 Solved on your mobile device.