COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

Similar documents
COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

Downloaded from

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

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

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

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

Model Sample Paper 2015

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

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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board )

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

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

COMPUTER SCIENCE

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

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

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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

Sample Paper 2012 Class XII Subject Computer Science

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

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

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

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE

COMPUTER SCIENCE 1998 (Delhi Board)

CBSE 12th Computer Science Question Papers

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

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

KENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE ( ) HOMEWORK SUMMER VACATION

General Instructions:

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

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

KendriyaVidyalayaSangathan Kolkata Region

CLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS)

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

Downloaded from


Question Bank Class XII Subject : Computer Science

INTERNATIONAL INDIAN SCHOOL, RIYADH. Ch 1 C++ Revision tour

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

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:

Autumn Break 2017 Exam Oriented Assignment Class-XII B, Computer Science

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

2016 COMPUTER SCIENCE

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

KENDRIYA VIDYALYA CLRI CHENNAI AUTUMN BREAK HOLIDAY HW MARKS QUESTIONS : DATA STRUCTURE

Guru Gobind Singh Public School Sector : V/B, Bokaro Steel City

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

I Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2

EAS 230 Fall 2002 Section B

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

Computer Science 2006 (Outside Delhi)

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

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

KENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination ( ) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

Computer Science 2006 (Delhi)

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION COMPUTER SCIENCE

CLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A1(SOLUTIONS)

COMPUTER SCIENCE. Time allowed : 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

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

ITL Public School First Term( )

Subject - Computer Science (Code-083)

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

(4) Find the syntax error(s), if any, in the following program: #include main() int x[5],*y,z[5]; for(i=0;i<5;i++) x[i]=i; z[i]=i+3; y=z; x=y; (5) Rew

Kendriya Vidyalaya Sangathan Model Question Paper-1 Class XII Subject - Computer Science (083) Max. Marks: 70. Blue Print

BRAIN INTERNATIONAL SCHOOL. Computer Science Assignment CLASS XII OCTOBER 2018 Chapter-7. Data File Handling in C++ Text Files

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII. Time Allowed: 3 Hours Maximum Marks: 70

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

COMPUTER SCIENCE Sample Paper I

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII

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

List of Practical for Class XII Computer Science

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

COMPUTER SCIENCE Paper 1

COMPUTER SCIENCE 2002 (Delhi Board)

Assignment 3 Class XII (Computer Science 083) Topic Array

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

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

Transcription:

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII TIME: 3 HOURS MAX.MARK: 70 General Instructions- (i) All questions are compulsory (ii) Programming Language: C++ 1 (a) When a function is overloaded, there are multiple definitions of the functions. What makes the (2) various definitions of the function different from each other? (b) Which C++ header file(s) will be essentially required to run/execute the following C++ code? (1) int Rno=465; char SName[]= Ajay Bhaskar ; cout<<setw(6) <<Rno<<setw(25)<<SName<<endl; (c) Rewrite the following program after removing the syntactical errors (if any). Underline each (2) correction. #include<iostream.h> struct Screen int C, R; void ShowPoint(Screen P) cout<<p.c, P.R<<endl; Screen Point1 = (5, 3); ShowPoint(Point1); Screen Point2= point1; C.Point1+= 2; Point1.R = Point1.R + 2; (d) Find the output of the following program: (3) #include<iostream.h> void ChangetheContent(int Arr[], int Count) for(int C=0; C<Count; C++) Arr[C]= Arr[Count C- 1];

int A[]= 1, 2, 3, B[] = 20, 30, 40, 50, C[]= 100, 200; ChangetheContent(A,3); ChangetheContent(B,4); ChangetheContent(C,2); for(int L=0; L<3; L++) cout<<a[l]<< # ; cout<<endl; for(int L=0; L<4; L++) cout<<b[l]<< # ; cout<<endl; for(int L=0; L<2; L++) cout<<c[l]<< # ; cout<<endl; (e) Give the output of the following program (Assuming that all required header files are included in the (2) program) char a[]= Exam-2011 AheAd ; int i; for(i=0; a[i]!= \0 ;i++) if(a[i]>= 97 && a[i]<=122) a[i] --; else if(a[i]>= 0 && a[i]<= 9 ) a[i] = a[i -1]; else if(a[i]>= A && a[i]<= Z ) a[i]+ = 32; else a[i]= # ; puts(a); (f) Study the following program and select the possible output from it: (2) #include<iostream.h> #include<stdlib.h> const int LIMIT = 4; randomize(); int Points; Points= 100 + random(limit); for(int P=Points; P>=100; P--) cout<<p<< # ; cout<<endl;

(i) 103#102#101#100# (ii) 100#101#102#103# (iii)104#103#102#101# (iv) 103#102#101#100 2 (a) What is copy constructor and parameterized constructor? Illustrate with an example. (2) (b) Answer the questions (i) and (ii) after going through the following class: (2) class mammal char category[20]; mammal( char xname[]) // function1 strcpy(category, xname) mammal(mammal &t); //function2 ; (i) Create an object, such that it invokesfunction1. (ii) Write complete definition for function2. (c) Define a class Sports in C++ with following descriptions: (4) Private members: S_Code of type long S_Name of type character array (String) Fees of type integer Duration of type integer Public members: Constructor to assign initial values of S_Code as 1001, S_Name as Cricket, Fees as 500, Duration 70 A function NewSports() which allows user to enter S_Code, S_Name and Duration. Also assign the values to Fees as per the following conditions: S_Name Fees Table Tennis 2000 Swimming 4000 Football 3000 A function DisplaySports() to display all the details. (d) Consider the following declarations and answer the questions given below: (4) class NATION int H; protected: int S; void INPUT();

void OUTPUT(); ; class WORLD: private NATION int T; protected: int U; void INDATA(int, int); void OUTDATA(); ; class STATE: public WORLD int M; void DISPLAY(void); ; (i) Name the base class and derived class of the class WORLD. (ii) Name the data member(s) that can accessed from function DISPLAY (). (iii)name the member function(s) which can be accessed from the objects of class STATE. (iv) Is the member function OUTPUT() accessible by the objects of the class WORLD. 3 (a) Consider the following structure: (2) struct Employee int ECode; char Ename[20]; ; Write a function to accept an Employee array and perform insertion sort in the increasing order of ECode. (b) An array MAT[10[11] is stored in the memory column wise with each element occupying 4 bytes of (3) memory. Find out the base address and the address of element MAT[5][10], if the location of MAT[1][4] is stored at the address 2000. (c) Give the necessary declaration of a linked list implementation queue containing integer type elements. (4) Also write a user defined function in C++ to delete an integer type number from the queue. (d) Write a function in C++ to print the sum of all the non-negative elements present on either diagonal of (3) a two dimensional array passed as the argument to the function. (e) Evaluate the following postfix expression using a stack and show the contents of the stack after each (2) operation. 100, 40, 8, +, 20, 10, -, +, * 4 (a) Observe the program segment given below carefully and fill the blanks marked in statement 1 using (1) seekg( ) or seekp( ) functions for performing the required task. #include<fstream.h> class FILE int Num;

char Name[30]; void GO_Record(int); ; //function to read Nth record from the file void FILE::GO_Record(int N) FILE Rec; Fstream File; File.open( STOCK,ios::binary ios::in); //statement 1 File.read((char*)&Rec,sizeof(Rec)); cout<<rec.num<<rec.name<<endl; File.close( ); (b) Write a function to count and print the number of complete words as to and are stored in a text (2) file ESSAY.TXT. void CWORDS( ) ifstream fin( ESSAY.TXT ); char st[80]; int count=0; while(!fin.eof()) fin>>st; if(!fin) break; if(strcmpi(st, to ) = =0 strcmpi(st, are )= =0) count++; cout<< \ntotal to & are words = <<count; fin.close( ); (c) Write a function in C++ to display object from the binary file PRODUCT.Dat whose product price (3) is more than Rs 200. Assuming that binary file is containing the objects of the following class: class PRODUCT int PRODUCT_no; char PRODUCT_name[20]; float PRODUCT_price; void enter( ) cin>> PRODUCT_no ; gets(product_name) ; cin >> PRODUCT_price; void display()

; cout<< PRODUCT_no ; cout<<product_name ;cout<< PRODUCT_price; int ret_price( ) return PRODUCT_price; 5 (a) What do you understand by the terms Alternate key and Foreign Key of a relation? (2) Consider the following tables SCHOOL and ADMIN. Write SQL commands for the statements (i) to(6) (iv) and give outputs for SQL queries (v) to (viii). SCHOOL CODE TEACHERNAME SUBJECT DOJ PERIODS EXPERIENCE 1001 RAVI SHANKAR ENGLISH 12/03/2000 24 10 1009 PRIYA RAI PHYSICS 03/09/1998 26 12 1203 LISA ANAND ENGLISH 09/04/2000 27 5 1045 YASHRAJ MATHS 24/08/2000 24 15 1123 GANAN PHYSICS 16/07/1999 28 3 1167 HARISH B CHEMISTRY 19/10/1999 27 5 1215 UMESH PHYSICS 11/05/1998 22 16 ADMIN CODE GENDER DESIGNATION 1001 MALE VICE PRINCIPAL 1009 FEMALE COORDINATOR 1203 FEMALE COORDINATOR 1045 MALE HOD 1123 MALE SENIOR TEACHER 1167 MALE SENIOR TEACHER 1215 MALE HOD i) To display TEACHERNAME, PERIODS of all teachers whose periods less than 25. ii) To display TEACHERNAME, CODE and DESIGNATION from tables SCHOOL and ADMIN whose gender is male. iii) To display number of teachers in each subject wise. iv) To display CODE, TEACHERNAME and SUBJECT of all teachers who have joined the school after 01/01/1999. v) SELECT MAX (EXPERIENCE), SUBJECT FROM SCHOOL GROUP BY SUBJECT; vi) SELECT TEACHERNAME, GENDER FROM SCHOOL, ADMIN WHERE DESIGNATION = COORDINATOR AND SCHOOL.CODE=ADMIN.CODE; vii) SELECT DESIGNATION, COUNT (*) FROM ADMIN GROUP BY DESIGNATION HAVING COUNT (*) <2; viii) SELECT COUNT (DISTINCT SUBJECT) FROM SCHOOL;

6 (a) Verify X.Y+X.Y =(X +Y ).(X+Y) algebraically. (2) (b) Convert the following Boolean expression into its equivalent Canonical Product of Sum form: (1) (c) Write the equivalent Boolean Expression F for the following circuit diagram : (2) A B C (d) Reduce the following Boolean Expression using K-map: (3) F (X, Y, Z, W) = ) 7 (a) Define the term Bandwidth. Give any one unit of Bandwidth. (1) (b) Difference between PAN and LAN. (1) (c) What is imap? (1) (d) Compare VB Script and ASP. (1) (e) Ease and West Public Ltd has decided to network all its offices spread in five building as shown (4) below: Building 1 Building 2 Building 3 Building 4 Building 5 The distance between various buildings is as follows: Building 1 to Building 2 Building 3 to Building 5 Building 2 to Building 3 Building 1 to Building 5 Building 3 to Building 4 20m 70m 50m 65m 120m

Building 2 to Building 5 Building 4 to Building 5 50m 30m Number of Computers in each building: Building 1 40 Building 2 45 Building 3 110 Building 4 60 Building 5 70 (i) Suggest a cable layout for connecting all the buildings together. (ii) Suggest the most suitable building to install the server of the organization with a suitable reason. (iii) Building 3 is used for many critical operations. It is tried that PC gets maximum possible bandwidth. Which network device is/should be used for this? (iv) The organization also has another office in same city but at a distant location about25-30 Km away. How can link be established with building 1. (Suggest the transmission media). (f) Difference between Virus and Trojan (1) (g) Expand FSF and GNU. (1)