SlideShare a Scribd company logo
Sample Paper 2
CLASS-XI
Subject : Computer Science (083)
Time: 3Hours Max. Marks: 70
Note. (i) All questions are compulsory.
(ii) Programming Language: C++
Q1.
a) What is computer? What are the characteristics of Computers? 2
b)What is an operating system? What are its functions? 2
c) What is the difference between Data and Information? 2
d) (i) Storage of 2 MB means the following number of kilobytes : 2
1) 2000 2) 1964 3) 2082 4) 2048
(ii) One Terabyte (TB) is equivalent to
1) 210 Bytes 2)220 Bytes 3) 230 Bytes 4) None of these.
e) What is difference between RAM and ROM? 2
f) Define System Software and what are its two main types?
Give examples. 2
g) What is Booting? 1
h) Which of the following are hardware and software? 1
(i) Transistor (ii) Internet Explorer (iii) Compiler (iv) FORTRAN 1
i) Expand the following: 2
i) CPU ii) EPROM iii) MICR iv) DVD-RW
Q2
a) What is the difference between Local Variable and Global Variable? 2
b) What is the difference between entry control and exit control loop
and give the example of each ? 2
c) What will be the size of following constants? 0.5x2=1
i) “class11tha1” ii) ‘n’
d) Write the corresponding C++ expressions for the following mathematical
expressions: 0.5x2=1
i) ut+ ft2 (ii) v-w/(a+b)9
e)Evaluate the following, where a, b, c are integers and d, f are floating point
numbers. 0.5x2=1
The value of a=16, b=4 and d=5
i) f = a * b + a/b ii) c = d+a + b % a
Q3
a) What is the output of the following? 2
i) # include<iostream.h>
void main ( )
{
int i=0;
for (i=1; i<=30;i++)
{
cout<<i<<endl;
i=i+2;
}
}
ii) #include<iostream.h> 2
void main()
{
int j=1,s=0;
while(j<10)
{
cout<<j<<”+”;
s=s+j;
j=j+j%3;
}
cout<<”=”<<s;
}
iii) What will be the output of the following program segment? 2
If input is as: (a) u (b) s (c) a (d) v
cin >>ch;
switch (ch)
{ case ‘u’: cout<<”Computer Science”;
case ‘s’: cout<<”Mathematics”;
break;
case ‘a’:
cout<<”Accoutant”; break;
default: cout<<” wrong choice”;
}
iv) Determine the output: 2
for(i=10;i<=100;i+=10)
{
j=i/2;
cout<<j<<””;
}
v)What output will be the following code fragment produce?
void main( )
{
int val, res, n=2000;
cin>>val;
res = n+val >2750 ? 1400:1200;
cout<<res;
}
(i) if val=3000 (ii) if val=2000 (iii) if val=1500 3
Q4.
a) Find the error from the following code segment and rewrite the corrected
code underlining the correction made. 2
# include<iostream.h>
#include<stdio.h>
void main ( )
{
struct Movie
{ char movie_name[20];
char movie_type;
int cost=100;
}M;
gets(movie_name);
gets(movie_type);
}
b) Convert the following code segment into switch case construct. 2
void main( )
{
int ch;
cin>>ch;
if(ch = = ‘p’)
{
cout<<“ Physics”;
}
else if(ch = = ‘e’)
{
cout<<“English ”;
}
else if(ch= =’c’)
{
cout<<“Computer Science”;
}
else
{
cout<<“Invalid Choice”;
}
}
c) Convert the following code segment into do while loop. 2
#include<iostream.h>
void main()
{ int i,sum=0;
for(i=1;i<=10;++i)
{
sum=sum+i;
cout<<”n”<<i;
}
cout<<”sum of all numbers:”<<sum<<endl;
}
Q5
a)Which header files are required for the following?Write their 4
use also
i)puts () ii) sqrt( ) iii) isalpha( ) iv) strlen( )
Q6
a) Write a C++ program to calculate the simple interest using function. 2
b) Write a C++ program to check a number for Armstrong or not. 2
c) Write a C++ program to enter any 20 number and find the sum of only
odd number by using array 2
d) Write a C++ program to design a menu for calculator and calculate the
following operations : 3
1 for addition, 2 for subtraction,3 for multiplication, 4 for division,
5 for exit the program.
e) What is difference between structure and union. 2
f) An array stores details of 20 students(rollno,name and marks in five
subjects).Write a program to create such an array and print out a list
of students who failed in more than one subjects.
Assume 40% as pass marks 2
Q7.
a)What do you mean by syntax error and semantics errors? 2
b)Why are logical errors harder to locate? 2
c)Define source code and object code? 2
d). What is bug in program? 1
e)What is prettyprinting ? 1
f)What is the significance of documentation in program? 1
g)What do you understand by run time error and give example? 1

More Related Content

What's hot

CDAC CCAT examination important question
CDAC CCAT examination important questionCDAC CCAT examination important question
CDAC CCAT examination important questionprabhatjon
 
Computer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperComputer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperDeepak Singh
 
Core java
Core javaCore java
Core java
prabhatjon
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructure
prabhatjon
 
Aloha paper for cdac ccpp
Aloha paper  for  cdac ccppAloha paper  for  cdac ccpp
Aloha paper for cdac ccpp
prabhatjon
 
important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomesh
praveensomesh
 
C and data structure
C and data structureC and data structure
C and data structure
prabhatjon
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question Paper
Malathi Senthil
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
Prasanth566435
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
prabhatjon
 
C multiple choice questions and answers pdf
C multiple choice questions and answers pdfC multiple choice questions and answers pdf
C multiple choice questions and answers pdf
choconyeuquy
 
Oops Paper
Oops PaperOops Paper
Oops Paper
prabhatjon
 
Object Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference TypesObject Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference Types
Dudy Ali
 
Xiicsmonth
XiicsmonthXiicsmonth
Xiicsmonth
rishikasahu1908
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1
kvs
 
Java Quiz
Java QuizJava Quiz
Java Quiz
Dharmraj Sharma
 
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGFINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGAmira Dolce Farhana
 
FP305 data structure june 2012
FP305   data structure june 2012FP305   data structure june 2012
FP305 data structure june 2012
Syahriha Ruslan
 
Java level 1 Quizzes
Java level 1 QuizzesJava level 1 Quizzes
Java level 1 QuizzesSteven Luo
 
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
BGS Institute of Technology, Adichunchanagiri University (ACU)
 

What's hot (20)

CDAC CCAT examination important question
CDAC CCAT examination important questionCDAC CCAT examination important question
CDAC CCAT examination important question
 
Computer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paperComputer science-2010-cbse-question-paper
Computer science-2010-cbse-question-paper
 
Core java
Core javaCore java
Core java
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructure
 
Aloha paper for cdac ccpp
Aloha paper  for  cdac ccppAloha paper  for  cdac ccpp
Aloha paper for cdac ccpp
 
important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomesh
 
C and data structure
C and data structureC and data structure
C and data structure
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question Paper
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
 
C multiple choice questions and answers pdf
C multiple choice questions and answers pdfC multiple choice questions and answers pdf
C multiple choice questions and answers pdf
 
Oops Paper
Oops PaperOops Paper
Oops Paper
 
Object Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference TypesObject Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference Types
 
Xiicsmonth
XiicsmonthXiicsmonth
Xiicsmonth
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1
 
Java Quiz
Java QuizJava Quiz
Java Quiz
 
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGFINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
 
FP305 data structure june 2012
FP305   data structure june 2012FP305   data structure june 2012
FP305 data structure june 2012
 
Java level 1 Quizzes
Java level 1 QuizzesJava level 1 Quizzes
Java level 1 Quizzes
 
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
6th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
 

Viewers also liked

C++ questions And Answer
C++ questions And AnswerC++ questions And Answer
C++ questions And Answer
lavparmar007
 
Assignment c++12
Assignment c++12Assignment c++12
Assignment c++12
Syed Umair
 
Scan0011
Scan0011Scan0011
Scan0011
nitishguptamaps
 
Cbse class 10 computer science sample paper sa1 2014 (1)
Cbse class 10 computer science sample paper sa1 2014 (1)Cbse class 10 computer science sample paper sa1 2014 (1)
Cbse class 10 computer science sample paper sa1 2014 (1)
learn cbse
 
Python for class 11 (CBSE Computer science sub code 083)
Python for class 11 (CBSE Computer science sub code 083)Python for class 11 (CBSE Computer science sub code 083)
Python for class 11 (CBSE Computer science sub code 083)
Nitin Kumar
 
Book notes- Book-I & Book-III
Book notes- Book-I & Book-IIIBook notes- Book-I & Book-III
Revision notes for exam 2011 computer science with C++
Revision notes for exam 2011 computer science with C++Revision notes for exam 2011 computer science with C++
Revision notes for exam 2011 computer science with C++
Deepak Singh
 
computer science sample papers 3
computer science sample papers 3computer science sample papers 3
computer science sample papers 3Swarup Kumar Boro
 
+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes
Andrew Raj
 
1st Year English Book Notes (HSSC-I)
1st Year English Book Notes (HSSC-I)1st Year English Book Notes (HSSC-I)
1st Year English Book Notes (HSSC-I)
MUHAMMAD AZAM, VICE PRINCIPAL IMSB G-6/4, ISLAMABAD
 

Viewers also liked (10)

C++ questions And Answer
C++ questions And AnswerC++ questions And Answer
C++ questions And Answer
 
Assignment c++12
Assignment c++12Assignment c++12
Assignment c++12
 
Scan0011
Scan0011Scan0011
Scan0011
 
Cbse class 10 computer science sample paper sa1 2014 (1)
Cbse class 10 computer science sample paper sa1 2014 (1)Cbse class 10 computer science sample paper sa1 2014 (1)
Cbse class 10 computer science sample paper sa1 2014 (1)
 
Python for class 11 (CBSE Computer science sub code 083)
Python for class 11 (CBSE Computer science sub code 083)Python for class 11 (CBSE Computer science sub code 083)
Python for class 11 (CBSE Computer science sub code 083)
 
Book notes- Book-I & Book-III
Book notes- Book-I & Book-IIIBook notes- Book-I & Book-III
Book notes- Book-I & Book-III
 
Revision notes for exam 2011 computer science with C++
Revision notes for exam 2011 computer science with C++Revision notes for exam 2011 computer science with C++
Revision notes for exam 2011 computer science with C++
 
computer science sample papers 3
computer science sample papers 3computer science sample papers 3
computer science sample papers 3
 
+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes
 
1st Year English Book Notes (HSSC-I)
1st Year English Book Notes (HSSC-I)1st Year English Book Notes (HSSC-I)
1st Year English Book Notes (HSSC-I)
 

Similar to Sample Paper 2 Class XI (Computer Science)

CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
Alex Stewart
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
Knowledge Center Computer
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)
Ankit Dubey
 
Model question paper_mc0061
Model question paper_mc0061Model question paper_mc0061
Model question paper_mc0061
gurbaxrawat
 
CBSE XI COMPUTER SCIENCE
CBSE XI COMPUTER SCIENCECBSE XI COMPUTER SCIENCE
CBSE XI COMPUTER SCIENCE
Gautham Rajesh
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
FarhanAhmade
 
C mcq practice test 4
C mcq practice test 4C mcq practice test 4
C mcq practice test 4
Aman Kamboj
 
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERSDIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
sddppml
 
Part - 2 Cpp programming Solved MCQ
Part - 2  Cpp programming Solved MCQ Part - 2  Cpp programming Solved MCQ
Part - 2 Cpp programming Solved MCQ
Knowledge Center Computer
 
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdfLDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
Vedant Gavhane
 
Latest mcqs
Latest mcqsLatest mcqs
Latest mcqs
TAYYABA MAHR
 
CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice Questions
Elliot Seepaul
 
Bt0062 fundamentals of it model question paper
Bt0062 fundamentals of it model question paperBt0062 fundamentals of it model question paper
Bt0062 fundamentals of it model question paperAnimish Puttu
 
Gate-Cs 1994
Gate-Cs 1994Gate-Cs 1994
Gate-Cs 1994
Ravi Rajput
 
DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013 DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013
prabhatjon
 
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperInformatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Harish Gyanani
 
ExamName___________________________________MULTIPLE CH.docx
ExamName___________________________________MULTIPLE CH.docxExamName___________________________________MULTIPLE CH.docx
ExamName___________________________________MULTIPLE CH.docx
gitagrimston
 
C question bank
C question bankC question bank
C question bank
Dattatreya Mankame
 
Computer ScienceTechnical quiz
Computer ScienceTechnical quizComputer ScienceTechnical quiz
Computer ScienceTechnical quiz
Lakshmi Sarvani Videla
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignments
smumbahelp
 

Similar to Sample Paper 2 Class XI (Computer Science) (20)

CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)
 
Model question paper_mc0061
Model question paper_mc0061Model question paper_mc0061
Model question paper_mc0061
 
CBSE XI COMPUTER SCIENCE
CBSE XI COMPUTER SCIENCECBSE XI COMPUTER SCIENCE
CBSE XI COMPUTER SCIENCE
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
 
C mcq practice test 4
C mcq practice test 4C mcq practice test 4
C mcq practice test 4
 
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERSDIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
DIGITAL FLUENCY MULTIPLE QUESTION ANSWERS
 
Part - 2 Cpp programming Solved MCQ
Part - 2  Cpp programming Solved MCQ Part - 2  Cpp programming Solved MCQ
Part - 2 Cpp programming Solved MCQ
 
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdfLDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
 
Latest mcqs
Latest mcqsLatest mcqs
Latest mcqs
 
CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice Questions
 
Bt0062 fundamentals of it model question paper
Bt0062 fundamentals of it model question paperBt0062 fundamentals of it model question paper
Bt0062 fundamentals of it model question paper
 
Gate-Cs 1994
Gate-Cs 1994Gate-Cs 1994
Gate-Cs 1994
 
DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013 DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013
 
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperInformatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
 
ExamName___________________________________MULTIPLE CH.docx
ExamName___________________________________MULTIPLE CH.docxExamName___________________________________MULTIPLE CH.docx
ExamName___________________________________MULTIPLE CH.docx
 
C question bank
C question bankC question bank
C question bank
 
Computer ScienceTechnical quiz
Computer ScienceTechnical quizComputer ScienceTechnical quiz
Computer ScienceTechnical quiz
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignments
 

Recently uploaded

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 

Recently uploaded (20)

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 

Sample Paper 2 Class XI (Computer Science)

  • 1. Sample Paper 2 CLASS-XI Subject : Computer Science (083) Time: 3Hours Max. Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C++ Q1. a) What is computer? What are the characteristics of Computers? 2 b)What is an operating system? What are its functions? 2 c) What is the difference between Data and Information? 2 d) (i) Storage of 2 MB means the following number of kilobytes : 2 1) 2000 2) 1964 3) 2082 4) 2048 (ii) One Terabyte (TB) is equivalent to 1) 210 Bytes 2)220 Bytes 3) 230 Bytes 4) None of these. e) What is difference between RAM and ROM? 2 f) Define System Software and what are its two main types? Give examples. 2 g) What is Booting? 1 h) Which of the following are hardware and software? 1 (i) Transistor (ii) Internet Explorer (iii) Compiler (iv) FORTRAN 1 i) Expand the following: 2 i) CPU ii) EPROM iii) MICR iv) DVD-RW Q2 a) What is the difference between Local Variable and Global Variable? 2 b) What is the difference between entry control and exit control loop and give the example of each ? 2 c) What will be the size of following constants? 0.5x2=1 i) “class11tha1” ii) ‘n’ d) Write the corresponding C++ expressions for the following mathematical expressions: 0.5x2=1 i) ut+ ft2 (ii) v-w/(a+b)9 e)Evaluate the following, where a, b, c are integers and d, f are floating point numbers. 0.5x2=1 The value of a=16, b=4 and d=5 i) f = a * b + a/b ii) c = d+a + b % a
  • 2. Q3 a) What is the output of the following? 2 i) # include<iostream.h> void main ( ) { int i=0; for (i=1; i<=30;i++) { cout<<i<<endl; i=i+2; } } ii) #include<iostream.h> 2 void main() { int j=1,s=0; while(j<10) { cout<<j<<”+”; s=s+j; j=j+j%3; } cout<<”=”<<s; } iii) What will be the output of the following program segment? 2 If input is as: (a) u (b) s (c) a (d) v cin >>ch; switch (ch) { case ‘u’: cout<<”Computer Science”; case ‘s’: cout<<”Mathematics”; break; case ‘a’: cout<<”Accoutant”; break; default: cout<<” wrong choice”; }
  • 3. iv) Determine the output: 2 for(i=10;i<=100;i+=10) { j=i/2; cout<<j<<””; } v)What output will be the following code fragment produce? void main( ) { int val, res, n=2000; cin>>val; res = n+val >2750 ? 1400:1200; cout<<res; } (i) if val=3000 (ii) if val=2000 (iii) if val=1500 3 Q4. a) Find the error from the following code segment and rewrite the corrected code underlining the correction made. 2 # include<iostream.h> #include<stdio.h> void main ( ) { struct Movie { char movie_name[20]; char movie_type; int cost=100; }M; gets(movie_name); gets(movie_type); }
  • 4. b) Convert the following code segment into switch case construct. 2 void main( ) { int ch; cin>>ch; if(ch = = ‘p’) { cout<<“ Physics”; } else if(ch = = ‘e’) { cout<<“English ”; } else if(ch= =’c’) { cout<<“Computer Science”; } else { cout<<“Invalid Choice”; } } c) Convert the following code segment into do while loop. 2 #include<iostream.h> void main() { int i,sum=0; for(i=1;i<=10;++i) { sum=sum+i; cout<<”n”<<i; } cout<<”sum of all numbers:”<<sum<<endl; } Q5 a)Which header files are required for the following?Write their 4
  • 5. use also i)puts () ii) sqrt( ) iii) isalpha( ) iv) strlen( ) Q6 a) Write a C++ program to calculate the simple interest using function. 2 b) Write a C++ program to check a number for Armstrong or not. 2 c) Write a C++ program to enter any 20 number and find the sum of only odd number by using array 2 d) Write a C++ program to design a menu for calculator and calculate the following operations : 3 1 for addition, 2 for subtraction,3 for multiplication, 4 for division, 5 for exit the program. e) What is difference between structure and union. 2 f) An array stores details of 20 students(rollno,name and marks in five subjects).Write a program to create such an array and print out a list of students who failed in more than one subjects. Assume 40% as pass marks 2 Q7. a)What do you mean by syntax error and semantics errors? 2 b)Why are logical errors harder to locate? 2 c)Define source code and object code? 2 d). What is bug in program? 1 e)What is prettyprinting ? 1 f)What is the significance of documentation in program? 1 g)What do you understand by run time error and give example? 1