CBSE Class 12 Computer Science Sample Paper SA1 2014 (2)

Scroll down for PDF

CBSE Class 12 Computer Science Sample Paper SA1 2014 (2). CBSE issues sample papers every year for students for class 12 board exams. Students should solve the CBSE issued sample papers to understand the pattern of the question paper which will come in class 12 board exams this year. The sample papers have been provided with marking scheme. It’s always recommended to practice as many CBSE sample papers as possible before the board examinations. Sample papers should be always practiced in examination condition at home or school and the student should show the answers to teachers for checking or compare with the answers provided. Students can download the sample papers in pdf format free and score better marks in examinations. Refer to other links too for latest sample papers.

1.(a) Illustrate the concept of function overloading with the help of an example.

(b) Name the header file ,to which the following built –in function belong :

(a) Isupper () (b) setw() (c) pow() (d) strcmp()

(c) Will the following program execute successfully ? If not, state the reasons.

# include<stdio.h>

void main()

{

int s1,s2,num;

s1=s2 =0;

for(x=0;x<11;x++)

{

cin<<num;

If(num>0)s1+num;

else s2=/num;

}

cout<<s1<<s2<<s2;

}

(d) Give the output of the following program segment (assuming all required header files are

included in the program):

char * Name=”a Profile”;

for (int x=0;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-1]);

else

Name[x]--;

cout<<Name<<endl;

(e) Write the output of following program:

# include<iostream.h>

Int func (int &x,int y=10)

{

If (x%y==0)return ++x; else return y--;

}

void main()

{

Int p=20,q=23;

q=func(p,q);

cout<<p<<q<<endl;

p=func(p);

cout<<p<<q<<endl;

}

Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sample Paper SA1 2014 (2).

Tags: 


Click on the text For more study material for Computer Science please click here - Computer Science

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

CBSE to conduct a voluntary test for class 11th and 12th

Nowadays students have the liberty to choose the field they seem to fit in. A few years back the problem was parents who burdened children with their own choices. On the other side, now students along with their parent's support are free to choose their field. Not any...

Requirements for admissions in CBSE affiliated Schools

CBSE gives an advanced form of education. They try to indulge students in interactions and teach application based subjects along with some others. Due to this preponderance of parents, they tend to admit their children in CBSE affiliated schools. General conditions...

Seven Motivational tips for every student

If you’re are a student or a learner and you doesn’t feel like study then this article is going to be very important for you, Reading constantly and Staying motivated as a student is one of the most challenging tasks and barriers to educational success. Education is...

Registration of NEET 2020 starts

The NEET 2020 registration process would start on Monday, December 2nd, 2019. National Testing Agency, NTA would carry out the county’s undergraduate entrance exam for medical and dental admissions.  The examination is scheduled to take place in English, Hindi, and...

NCERT NTSE Admit Card 2020 released - know more

Introduction: NTSE 2020 National Talent search examination is conducted by NCERT to take out the students who excel in science. It is organized to measure and let the students with talent outshine in their coming future. This talent search exam is taken in 2 stages....

How to crack a competitive examination

“How I crack a competitive examination” is a frequently asked question by today’s students. Cracking a competitive exam is a challenging task. Attaining a huge amount of study and solving several complex problems in a limited amount of time is a huge task. Competitive...

×
Studies Today