Download CBSE Class 12 Computer Science Sample Papers
Explore authentic exam practice materials through the CBSE Class 12 Computer Science Sample Paper 2014 Set 07. Tailored for Class 12 learners, utilizing these Computer Science sample papers ensures thorough preparation and strengthens time management skills before final CBSE evaluations.
Access CBSE Sample Papers and Solutions
Access the complete sample paper PDF for Class 12 Computer Science below. Regular practice with these targeted mock exams builds familiarity with expected question patterns and chapter weightage to help secure higher marks.
1. (a) Differentiate between a global variable and a local variable. Also give suitable example in C++.
2. (b) Name the Header file(s) that shall be needed for successful compilation of the following C++ code
void main()
{
char st[20];
gets(st);
if(isaplha(st[0])
cout<<”Starts with alphabet”;
else
cout<<strlen(st);
} 1
(c) Rewrite the following program after removing syntactical error(s) if any.
Underline each correction.
#include<iostream.h>
#define SIZE =10
void main()
{
int a[SIZE]={10,20,30,40,50};
float x=2;
SIZE=5;
for(int i=0;i<SIZE;i++)
cout<<a[i]%x;
}
(d) Find the output of the following program :
#include<iostream.h>
#include<string.h>
struct Student
{
int rno;
char name[20];
};
void main()
{
student a[2]={1,”Amit”,}{2,”Sumit”}};
for(int i=0;i<2;i++)
{
cout<<”\n Rno”<<a[i].rno;
cout<<”\n Name “;
for(int j=0;j<strlen(a[i].name);j++)
cout<<a[i].name[i]<<” “;
}
}
(e) Find the output of the following program
#include<iostream.h>
void Modify(int &a,int b=10)
{
if(b%10==0)
a+=5;
for(int i=5;i<=a;i++)
cout<<b++<<”:”;
cout<<endl;
}
void Disp(int x)
{
if(x%3==0)
Modify(x);
else
Modify(x,3);
}
void main()
{
Disp(3);
Disp(4);
Modify(2,20);
}
(f) In the following C++ program , fill in the blanks for the statement1 with the help of random function , if the number generated by the random number is supposed to be between the range of 20-2000
#include<iostream.h>
#include<stdlib.h>
void main()
{
int r;
randomize();
r=___________________//statement 1
cout<<r;
}
(g) Define typedef with a suitable example.
2.(a) Differentiate between a default and a parameterized constructor in context of class and object . Give suitable example in C++.
(b) Answer the questions (i) and (ii) after going through the following class :
class Computer
{
char C_name[20];
char Config[100];
public:
Computer(Computer &obj); // function1
~Computer(); //function 2
};
(i) Write the statement(s) which will invoke the function 1.
(ii) Name the specific feature of the class shown by function 2. Also write the time of its invoke.
(c) Define a class Shop in C++ with the description given below :
private members name array of 40 characters address array of 40 characters type of item array of 3X20 characters availqty array of 3 integers totalqty array of 3 integers public members init() function to ask and store the values of address ,type of items , availqty & totalqty.
purchase() function to ask the qty purchased and type of item from the user and updates the totalqty and avialqty accordingly .
for example : if the type of items available in the shop are : “Cosmetic” , ”Food Products” , ”Medicines” . And the shop keeper purchase the “Cosmetic” item then update the availqty and totalqty ofthe“Cosmetic”item. display() function to display the details of the item in the following format :
Name : <SHOP NAME >
Address :<ADDRESS >
Items : <Type of Item 1> <Type of Item 2> <Type Of item 3>
Balance Stock : <avialqty> <availqty> <avialqty>
Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sample Paper 2014 Set G
Free study material for Computer Science
Download CBSE Sample Papers: Class 12 Computer Science
Download Sample Paper: CBSE Class 12 Computer Science Sample Paper 2014 Set 07 (Class 12 Computer Science)
Access structured sample papers for Class 12 Computer Science. Solving the CBSE Class 12 Computer Science Sample Paper 2014 Set 07 provided above helps students understand official exam blueprints and tackle anticipated question formats with confidence.
Why Practice Class 12 Computer Science Sample Papers?
- Exam Blueprint: Understand mark allocations and structural guidelines relevant to Class 12 evaluations.
- Targeted Improvement: Identify weak areas in Class 12 Computer Science requiring focused revision.
- Pacing & Precision: Practice mixed question formats to build execution speed and ensure timely paper completion.
Post-Practice Strategy for Class 12 Computer Science
- Self-Evaluation: Score your answers using official guidance to track your academic progress.
- Mistake Correction: Class 12 pupils must re-solve questions answered incorrectly to master the correct method.
- Continuous Practice: Take additional Computer Science sample modules online to maximize preparedness for CBSE evaluations.
FAQs
You can download the complete PDF for CBSE Class 12 Computer Science Sample Paper 2014 Set 07 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.
Yes, CBSE Class 12 Computer Science Sample Paper 2014 Set 07 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.
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.
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 2014 Set 07 on your mobile device.