SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE. Sample paper-i. Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.:

Similar documents
Sample Paper, Subject: Computer Science Class 12 th Time Allowed : 3 Hr. M.M.: 70

Time allowed : 3 hours Maximum Marks: 70

Downloaded from

(d) Rewrite the following program after removing all the syntax error(s), if any. [2] include <iostream.h> void main ( )

Sample Paper 2012 Class XII Subject Computer Science

Code No. 083 Time allowed: 3 hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming language: C++

Sample Paper 2013 SUB: COMPUTER SCIENCE GRADE XII TIME: 3 Hrs Marks: 70

KENDRIYA VIDYALAYA TIRUMALAGIRI,SECUNDERABAD UNIT TEST II

void Add() { cin >> trainnumber; gets(trainname); } void display() { cout<<trainnumber <<":"<<TrainName<<end;

PRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION ( ) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS

SAMPLE PAPER. Class: XII SUBJECT COMPUTER SCIENCE. Time: 3 Hours MM: 70

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70

CLASS XII COMPUTER SCIENCE(083) TimeAllowed : 3 HrsMax Marks : 70

SAMPLE PAPER 2015 SUB - COMPUTER SCIENCE - (Theory) CLASS XII Time allowed: 3 hours Maximum marks: 70

Mock Test Paper-3. Computer Science. Duration : 3hrs Max Marks : 70

(a) Differentiate between a call by value and call by reference method.

Computer Science. Practical File

Sample Paper, 2015 Subject: Computer Science Class 12 th

ITL Public School Pre-Board( ) Computer Science (083) Time:3 hrs M. M: 70

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

Model Sample Paper 2015

KE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

91/1 COMPUTER SCIENCE. Series SHC/1. dksm ua- jksy ua- Code No. Roll No. Candidates must write the Code on the title page of the answer-book.

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

COMPUTER SCIENCE 1998 (Delhi Board)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Sample Paper COMPUTER SCIENCE (Theory) Class-XII Time Allowed: 3hours Maximum Marks: 70

COMPUTER SCIENCE Time allowed : 3hours] [Maximum Marks :70

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

COMPUTER SCIENCE

2016 COMPUTER SCIENCE

Computer Science 2006 (Outside Delhi)

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70

COMPUTER SCIENCE (CODE 083) CLASS XII Time allowed : 3Hours Maximum. Marks 70

KendriyaVidyalayaSangathan Kolkata Region

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION FOR CLASS XII SUBJECT: COMPUTER SCIENCE

1. a) Find the correct identifiers out of the following, which can be 2 used for naming Variable, Constants or Functions in a C++ program:

THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION 2015 COMPUTER SCIENCE ( Code : 083) CLASS : XII MAX MARKS: 70

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER-5 BLUE PRINT CLASSS XII COMPUTER SCIENCE (083) TIME: 03:00 Hrs. MAX. MARKS: 70 S.No.

Series SHC COMPUTER SCIENCE. Code No. 91. Roll No.

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

Guru Harkrishan Public School, Karol Bagh Pre Mock Class XII Sub: COMPUTER SCIENCE Allowed :3 hrs

KENDRIYA VIDYALAYA NO.02 AFS HINDAN G.BAD Holiday Homework Class XII Computer Science

Question Bank Class XII Subject : Computer Science

SPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session

(i) case (ii) _delete (iii) WHILE (iv) 21stName


CBSE GUESS PAPER. Roll No. Computer Sc. XII(083)/

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII

SAMPLE QUESTION PAPER Subject: Computer Science Class: XII ( )

JB Academy, Faizabad Half Yearly Examination Subject: Computer Science (083) Class XII

Computer Science 2006 (Delhi)

VIDYA BHARATI SCHOOL

COMPUTER SCIENCE 2002 (Delhi Board)

Please check that this question paper contains 11 printed pages. Please write down the serial number of the question before attempting it.

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

(d) Observe the following C++ code very carefully and rewrite it after removing any/all syntactical errors: [2] Include < iostream.

Downloaded-From:-

Data File Handling FILL IN THE BLANKS EACH QUESTION CARRY 1 MARK

Sample Paper 2015 Class XII Subject COMPUTER SCIENCE. Some Important Questions Networking

C++ 8. Constructors and Destructors

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

AISSCE COMMON MODEL EXAMINATION Subject Computer Science [083] Time Allotted: 3 Hours Maximum Marks: 70

Code No. 91. (i) All questions are compuls9ry. 1. (a) What is the difference between Type Casting and Automatic Type

CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE

SAMPLE PAPER-2015 Class-XII SUB:-COMPUTER SCIENCE

Sample Paper 2015 Class XII Subject Computer Science

BLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI. Unit Wise Marks

4. BOOLEAN ALGEBRA 8 5. NETWORKING AND OPEN SOURCE SOFTWARE 10

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

Sample Paper Class XI Subject Computer Sience UNIT TEST II

COMPUTER SCIENCE. Time allowed : 3 hours Maximum Marks : 70

Padasalai.Net s Model Question Paper

SAMPLE QUESTION PAPER CLASS-XII, SESSION: SUBJECT: COMPUTER SCIENCE

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE. CLASS- XII Time Allowed: 3 hours Max.

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.

Unit-V File operations

SECTION A [Only for candidates, who opted for C++]

BHARATIYA VIDYA BHAVAN S V.M.PUBLIC SCHOOL, VADODARA. Class : XII SAMPLE PAPER Max Marks : 70

OOP THROUGH C++(R16) int *x; float *f; char *c;

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SPLITUP SYLLABUS FOR COMPUTER SCIENCE CLASS XII

CBSE Sample Paper 2015 Computer Science C++ Class XII Time 3hrs M.M 70

KENDRIYA VIDYALAYA SANGATHAN. Regional Office Delhi Split-up Syllabus Session Subject:-Computer Science Subject Code:-083

KUWAIT SAHODAYA EXAMINATION FIRST TERM SUBJECT : COMPUTER SCIENCE (083) : CLASS - XII SET - 3 Time : 3 Hours

DELHI PUBLIC SCHOOL TAPI

Downloaded from

AC55/AT55 OBJECT ORIENTED PROGRAMMING WITH C++ DEC 2013

void main() { int global=7 ; func( ::global,global) ; cout<<global<<, <<::global<< \n ; func(global,::global) ; cout<<global<<, <<::global<< \n ; }

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION CLASS:XII - (COMPUTER SCIENCE )

C How to Program, 6/e by Pearson Education, Inc. All Rights Reserved. 1


Computer Science 330 Assignment

CBSE 12th Computer Science Question Papers

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER 8 CLASS XII COMPUTER SCIENCE (083)

Transcription:

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Sample paper-i Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.: General Instruction 1. Please check that this question paper contains 7 questions. 2. Please write down serial number of the question before answering it. 3. All questions are compulsory. 4. Programming language : C++ Q1. (a) What is the difference between Class and Object? Give an example in c++ to illustrate both. (2 (b) Name the header files, to which the following built-in functions belong to: (1 1. getche ( ) 2. exit() (c) Identify and correct the error(s) in the following program: (2 #include <iostream.h> #include <conio.h> void main() float class = 10.7; float y; y= class % 5.45; cout<<class <<", "<<y; (d) Give the output of the following Program: (2 #include<iostream.h> #include<conio.h> #define constvalue 3.14557 int a=3; void func (int &x, int y, int *z) cout<< constvalue <<endl; a += x; y *= a; *z = a + y; cout<<a<< ", "<<x<< ","<<y<< ","<<*z<<endl; void main( ) clrscr(); int a = 2, b=5; func(::a,a,&b); cout<<::a<<","<<a<<","<<b; (e) Give the output of the following Program: (3 #include<iostream.h>

#include<conio.h> void withdef ( int HisNum = 30) for ( int I = 20 ; I<= HisNum; I+= 5) cout<<i<<","; cout<<endl; void Control( int &MyNum ) MyNum += 10; withdef(mynum); void main( ) clrscr(); int YourNum = 20; Control(YourNum ); withdef( ); cout<<"number="<<yournum<<endl ; (f) Study the following program and select the possible output from it : (2 #include<iostream.h> #include<conio.h> #include<stdlib.h> const int LIMIT = 5; void main( ) clrscr(); randomize( ); int Points; Points = 100 + random(limit); for ( int p = Points; p>=100; p--) cout<<p<<"#"; cout<<endl; (i) 104#103#102#101#100# (ii) 104#103#102#101#100 (iii) 101#102#103#104#105# (iv) 101#102#103#104#105# Q.2 (a) What do you understand by Copy Constructor? Explain it with a suitable example. (2 (b) Answer the questions (i) and (ii) after going through the following class: (2 class Dance int days; Dance ( ) // Function 1 days = 50; cout << Dance starts now << endl; void danceschedule( ) // Function 2 cout << The schedule of the dance starts here << endl; Dance (int Duration) // Function 3 days = Duration; cout << Dance journey starts now << endl;

~ Dance ( ) // Function 4 cout << Dance, life cycle ends here << endl; ; 1. In Object Oriented Programming, what is Function 4 referred as and when does it get invoked/ called? 2. In Object Oriented Programming, which concept is illustrated by Function 1 and 3. Function 3 together? Write an example illustrating the calls for these functions. (c) Define a class Mobile in C++ with the following descriptions : (4 Private members : mcode of type string mtype of type string mosname of type string mscreensize of type integer mrppvalue of type float mdiscount of type float mactsaleprice of type float A function AdjustPrice ( ) which calculates and assigns the value of mactsaleprice as follows : mosname mactsaleprice Android mrppvalue-10% on mrpvalue ios mrppvalue-9 % on mrpvalue Others mrppvalue-15 % on mrpvalue Public members: A constructor to assign initial values of mcode with MCODE01, mtype with Tablet, mosname with Android, msscreensiz, mrppvalue, mdiscount and mactsaleprice with 0. A function GetData( ) to input the values of the data all members variables. and invoke the AdjustPrice( ) function. A destructor to print object is being destroyed. A function to Display( ) which displays the content of all the data members for a Mobile. (d) Answer the questions (i) to (iv) based on the following code: (4 class Car char Model[10]; char Date_of_purchase[10]; char Company[20]; public( ); Car( ); void entercardetail( ); void showcardetail( ); ; class Accessories : public Car protected: char stereo_tape[30]; char sheet_cover[20]; float Price; Accessories( ); void enteraccessoriesdetails( ); void showaccessoriesdetails( ); ;

(i) (ii) (iii) (iv) class Dealer : public car int No_of_dealers; char dealers_name[20]; int No_of_products; Dealer( ); void enterdetails( ); void showdetails( ); ; How many bytes will be required by an object of class Car and an object of class Dealer? Which type of inheritance is illustrated in the above c++ code? Write names of all the data members which are accessible from the objects of class Dealer. Write names of all the members accessible from member functions of class Accessories. Write names of all the member functions which are accessible from objects of class Dealer. Q.3 (a) Write the function Add Array() in C++ to club the values( ascending order) of two arrays. (3 (b) Write enumeration in C++ to store the names of days. (3 (c) Define functions pushnode( ) to insert nodes and popnode( ) to delete nodes, for a Linked List implemented Stack having the following structure for each node: (4 struct node char student[20]; int age; node *node; ; (d) What are the difference between Linked List And Dense List? (2 (e) Write a user defined function Upper_half() which takes a two dimensional array A, with size N rows and N columns as arguments and point the upper half(diagonally) of the array. eg. (2 2 3 1 5 0 2 3 1 5 0 7 1 5 3 1 1 5 3 1 If A is 2 5 7 8 1 The Output Will be 7 8 1 0 1 5 0 1 0 1 3 4 9 1 5 5 Q4. a) Observe the program segment given below carefully and answer the question that follows: (1 class Student long rollnumber; char student[20]; float marks; void GetData( ); void ShowData( ); void PointChange( ); long getrollnumber( ) return rollnumber; ; void ReplaceUpdateMarks(long Id) fstream file; file.open ( Team.Dat,ios::binary ios::in ios::out); Student T; int Record=0, found=0; while(!found && file.read((char*)&t, sizeof(t))) if (Id==T.getRollNumber( ))

cout<< Enter New Marks ; T.PointChange (); //Statement 1 // Statement 2 Found=1; Record++; if(found==1) cout<< Record Updated ; file.close( ); Write the statement 1 to position the File Pointer at the beginning of the Record for which the Student's Roll Number matches with the argument passed, and Statement 2 to write the updated record at the Position. (b) Write a function in C++ to print the count of the word Technology and India (ignoring the case) as an independent word in a text file education.txt. If the file education.txt content is as follows: Technology brings innovation in education. Misuse of technology destroys the system. Indian education is becoming tech-savvy. (2 (c) Write a function in C++ to search and display details, whose destination is Chandigargh from a binary file Flight.Data. Assuming the binary file is containing the objects of the following class: (3 class FLIGHT int Fno; // Flight Number char From[20]; // Flight Starting Point char To[20]; // Flight Destination char * GetFrom ( ); return from; char * GetTo( ); return To; void input() cin>>fno>>; gets(from); get(to); void show( ) cout<<fno<< : <<From << : <<To<<endl; ; Q 5. (a) Differentiate between Primary key and Foreign Key in context of RDBMS. Give suitable example. (2 (b) Write SQL commands for the statements (a) to (i) and give outputs of the SQL Queries (i) to (vi) on the basis of CUSTOMER_DETAILS (1*6=6 Table: CUSTOMER_DETAILS CUST_ID CUT_NAME ACCT_TYPE ACCULT_AMT DOJ GENDER CNR_101 Manoj Saving 1025000 1999-02-19 M CNR_102 Rahul Current 1326000 1998-01-11 M CNR_103 John Saving 1425000 1999-02-04 M CNR_104 Steve Salary Saving 1825000 1998-02-21 M CNR_105 Manpreet Current 1125000 1998-05-12 F CNR_106 Catherine Saving 1026000 1999-01-13 F CNR_107 Ramesh Saving 2025000 1998-04-22 M

To select all the customer of Saving and Current account type. i. To list the names of customer with their date of joining in descending order. ii. To list the customers who have joined after 1998 May 31. iii. To display female customers with accumulated amount greater than 1025000.. iv. To list the customer having 15 letters name. v. To list the all account types. Q6. (a) State and verify Distributive Law and Demorgan s Law using truth table and algebraically. (2 (b) Write the equivalent Boolean Expression for the following Logic Circuit (1 (c) Write the equivalent POS expression of following SOP form : (1 F (x,y,z)= (0,2,4,6) (d) Reduce the following Boolean Expression using K-Map: (3 F(U,V,W,Z)= (0,1,4,5,6,7,11,12,13,14,15) (e) Give the dual of (A+BC+AB) (1 Q.7 (a) What is the difference between Hub and message Router? (1 (b) Differentiate the following : (1 (i) GSM and CDMA (ii) FOSS and OSS. (c) What is Virus? Give two examples. (1 (d) Define and explain Cyber Law. (1 (e) The Sony has set up its Branch at Srinagar for its office and web based activities. It has 4 Zone of buildings as shown in the diagram: Branch to branch distances are : Zone X to Zone Z 40 Mtr Zone Z to Zone Y 60 Mtr Zone Y to Zone X 135 Mtr Zone Y to Zone U 70 Mtr Zone X to Zone U 165 Mtr Zone Z to Zone U 80 Mtr

Number of Computers: Zone X 50 Zone Z 130 Zone Y 40 Zone U 15 (f) Suggest a most suitable cable layout or Networking Toplogy of connections between the Zones. (1 (g) Suggest the most suitable place (i.e.zone) to house the ERP and BI Server of this organization with a suitable reason, with justification. (1 (h) Suggest the placement of the following devices with justifications: (1 (1) Repeater (2) Hub / Switch (i) Which is the most economic type of cable for the selected topology? (1 (f) Differentiate the following pairs: (2 1. Internet and ARPANET. 2. Coaxial Wire and Optical Fiber.