Sample paper Computer Science Class 12

Feb 28 • Board Sample Papers • 7239 Views • 4 Comments on Sample paper Computer Science Class 12

For more Sample paper Computer Science Class 12 please follow links below

1) Sample Paper CBSE 12 CS -1
2) Sample Paper CBSE 12 CS -2
3) Sample Paper CBSE 12 CS -3 

Time 3hrs                              M.M. 70

i ) All questions are compulsory.
ii) Programming language followed C++.

Q1. Define Object oriented programming. Name some Object oriented languages?                 1

Q2. Write  name of the header files to which following  functions belong:                                     1

a. strcat()       b. exit(0)       c. isupper()       d. exp()

Q3. Differentiate between global variable and local variables, explain with suitable code in C++  language?                                                                                                                                                               2

Q4. Will the  code given below execute successfully . If no, give reasons                                          3

void main()
int s1, s2 , num;

Q5. What is error? What  are the different types of error? Explain with example ?                        3

a. Find error in the following  program                                                                                                         2

void main()
cout<<“enter the name”;
court <<“the name is “;

b. How Syntax error is different from syntactic errors?

Q6. What is type casting? Differentiate between implicit and explicit type casting?

Q7. What is inheritance? Also explain different type of inheritance in brief?                                  1

a) Explain the concept of friend function. Give suitable code for it .                                                  2

 b) Differentiate between public, private and protected modes ?                                                        2

Q8 What are constructors? How they are different from destructor  and other functions in a class. What is the order of execution of constructor and destructor in a class?                              3

Q9. What is stack and how they are implemented?                                                                                   2

a. Convert the infix to postfix notation                                                                                                         3

 a+b *((c-d)*(e+f)/g

Q10. Define a class company in C++ with following subclass

b. client

employee has following data members

name 20char
address  20varchar
terlephone no. 15 int
department     20char
designation 20char

b client
name 10char
company name 20char
employee dealing with company

i) Construct a function which  show the employee who deal with a particular client                 2

ii) construct a function which show all the employee who has designation set as managers  2

Q11. Differentiate between read() and write()?                                                                                        2

a) Explain how to append to a text file ?                                                                                                    1

Q12. What is DDL. How to display a set of records from a table in SQL? 2

Q13. What is view with the reference to SQL give example?                                                               2

Q14. State absorption law?                                                                                                                              2

Q15. a)Solve  F(w,x,y,z,w)=summation of (1,3 ,6,7,9,10,11,12,15 ,12) using k map                        3

Q16. Given two arrays A and B A is in increasing order an B is in decreasing order write a program to merge A and B and form other array C in increasing order ?                                       4

Q17. Explain Sequential files?                                                                                                                         3

You can download the pdf format of this paper from the link given below:-

Computer Science Sample Paper.pdf

Tell us Your Queries, Suggestions and Feedback

Your email address will not be published.

4 Responses to Sample paper Computer Science Class 12

  1. Pawan says:
  2. Sneha Sinha says:

    Want to make a career in computer ….than make sure that you go throw this post..The paper is well designed and in accordance with the latest pattern and will surely prove to be helpful

  3. Neha S says:

    Want to make your careers in computers?
    So, for that you have to make your base strong be it starting from the boards itself.
    Hence, solve this sample paper, made in accordance to the fresh pattern and be confident for your future planning.

  4. Gourav Kumar says:

    Computer Science paper of class 12 contains very basic questions of computing and students are advised to prepare it very seriously if they want to study computer science in their future.
    This practice paper is very well designed and students can solve if they want to check their preparation.

« »