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

Similar documents
KE DRIYA VIDYALAYA SA GATHA, CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE (CLASS-XII) MARKI G SCHEME

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

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

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

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

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

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

Model Sample Paper 2015

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

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

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

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

COMPUTER SCIENCE 2002 (Delhi Board)

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

Sample Paper 2015 Class XII- Comm Subject INFORMATICS PRACTICES. Q1 a) Rewrite the code using While Loop? 2

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

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

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

Sample Paper 2012 Class XII Subject Computer Science

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE- CLASS- XII. Marking scheme

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

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

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

COMPUTER SCIENCE

Sample Paper, Subject: Computer Science Class 12 th Time Allowed : 3 Hr. M.M.: 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:

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Sample Paper 2015 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 ( )

2016 COMPUTER SCIENCE

Sample Paper Class XI Subject Computer Sience UNIT TEST II

COMPUTER SCIENCE (083)

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

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

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

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

Question Bank Class XII Subject : Computer Science

KendriyaVidyalayaSangathan Kolkata Region

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

2 SEMESTER EXAM CLASS : 12 DECEMBER 2016 TIME : 3 Hrs MAX MARKS : 70

COMPUTER SCIENCE (083)

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

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

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

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

BRAIN INTERNATIONAL SCHOOL Term-II Class-XI Sub:- Computer Science Revision Sheet

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

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

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

General Instructions:

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2

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

SBOA SCHOOL & JUNIOR COLLEGE, CHENNAI 101 COMPUTER SCIENCE CLASS: XI HALF YEARLY EXAMINATION MAX MARKS:70 CODE - A DURATION : 3 Hours

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

Computer Science 2006 (Outside Delhi)

KENDRIYA VIDYALAYA SANGATHAN

BRAIN INTERNATIONAL SCHOOL. Term-I Class XI Sub: Computer Science Revision Worksheet

COMPUTER APPLICATIONS

COMPUTER SCIENCE. Paper 1

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

Downloaded from

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

Government of Karnataka SYLLABUS FOR SECOND PUC - COMPUTER SCIENCE (41) SUB-UNITS

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

KENDRIYA VIDYALAYA SANGATHAN

Computer Science 2006 (Delhi)

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

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

COMPUTER APPLICATION

Code No: R Set No. 1

Answer any four from (a) to (g) questions : (4 x 2=8)

ASSIGNMENT CLASS-11 COMPUTER SCIENCE [C++]

Answer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 15 min Max. marks : 70

CLASS-XI COMPUTER SCIENCE

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

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO. FIRST TERM FIRST YEAR (1 ST TERM) B.E.(ELECTRICAL) REGULAR EXAMINATION 2009 OF 09-BATCH.

UNIT- 3 Introduction to C++

COMP 250: Java Programming I. Carlos G. Oliver, Jérôme Waldispühl January 17-18, 2018 Slides adapted from M. Blanchette

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

Transcription:

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS: XII Time : 3 Hrs. Max. Marks : 70 Instructions : (i) All questions are compulsory. (ii) Programming Language : C++ 1. (a) How are the following related to one another? (2) (i) Arrays and structures (ii) Structures and classes. (b) Name the header files to which the following functions belong: (1) (i) isdigit() (ii) strcmp() (c) Rewrite the following program after removing the syntax errors if any. Underline each corrections. (2) void large(int &a, int &b); int main() int a = 17; int x = 2; int &b; b = x; large(b, a); cout>>a>>b; void large(int &a, int &b) if(a>b) a=-1; else b=-1; (d) Find the output of the following program : (3) #include<string.h> #include<ctype.h> char *ch = Our 3 Boys ; for(int p=0;p<strlen(ch);p++) if(isdigit(ch[p])) ch[p] = - ; else if(isupper(ch[p])) ch[p] = tolower(ch[p]); else if(islower(ch[p])) Page 1 of 7

ch[p] = toupper(ch[p+1]); else if(ch[p] == ) ch[p] = * ; cout<<ch<<endl; (e) Find the output of the following program: (2) int L = 5, B = 10, R; for(int J = 1;J <= 2;J++); R = --L * B++; cout<< \nresult = <<R; (f) Give the output of the following program: (2) int a = 10; void demo(int &, int, int*); int a = 20,b = 5; demo(::a, a, &b); cout<<::a<< \t <<a<< \t <<b<<endl; void demo(int &x, int y, int *z) a += x; y *= a; *z = a + y; cout<<x<< \t <<y<< \t <<*z<<endl; 2. (a) What does inheritance mean? Differentiate between single inheritance and Multiple Inheritance. (2) (b) What will be the output of the following program segment. (2) class example static int A; int B, C; public: example(int I, int J) B=I; C=J; A++; Page 2 of 7

void display() cout<< B = <<B<<endl; cout<< C = <<C<<endl; static void disp() cout<< A = <<A<<endl; ; int example::a; example Obj1(7,5), Obj2(7,6), Obj3(2,7); Obj.display(); Example::disp(); Obj2.display(); Obj3.display(); (c) Declare a class having following: Data members : Private Members : name_of_society char (30) house_number integer number_of_members integer flat char(10) income float Member Functions: Public members: input() to read data members. Alloc_flat() To allocate flat according to income Income >=50000 - Flat A Type Income >=25000 and Income <50000 - Flat B Type Income <25000 - Flat C Type (4) show() to display all details (d) Answer the questions (i) to (iv) based on the following code: (4) class olympics int no_of_events; char country_name[25]; protected: void initialize(); Page 3 of 7

public: olympics(); void olympicsentry(); void olympicsdisp(); ; class outdoorgame : public olympics char eventname[20]; int eventcode; public: outdoorgame(); void outdoorentry(); void outdoordisp(); ; class hockey : public outdoorgame int no_of_players; char venue[25]; public: hockey(); void hockeyentry(); void hockeydisp(); ; (i) Which type of inheritance is shown in the above example? (ii) How many bytes will be required by an object of the class hockey? (iii) Write names of all the data members accessible from member functions of the class hockey? (iv) Write names of all the member functions, which are accessible from an object of the class outdoorgame? 3 (a) Write a function in C++ which accepts an integer array and its size as arguments and exchanges the value of first half side elements with the twice value in second half side elements of the array [ i.e. when the second half side elements are exchanged they have to be changed to the value in that location multiplied by 2 and then exchanged. ] (4) Example: If an array of 8 locations initially contains the elements as : 5, 12,3,6, 7,1,9,15 then the function should rearrange the contents of the array as 14, 2, 18, 30, 5, 12, 3, 6 (b) An array MAT[20][12] is stored in the memory column wise with each element occupying 2 bytes of memory. Find out the base address and the address of element MAT[15][10], if the location of MAT[2][4] is stored at the address 1000. (4) Page 4 of 7

(c) Give the necessary declarations of a linked list implementation queue containing integer type elements. Also write a user defined function in C++ to delete an integer type number from the queue. (4) (d) Write a function in C++ to print the rowsum and column sum of a matrix. (2) (e) Convert the expression (True && False )! (False True) to postfix expression. Show the contents of the stack at every step. (2) 4. (a) Differentiate tellg() and seekg(). (1) (b) Write a function in C++ to count the number of blanks present in a text file TOUR.DAT. (2) (c) Assume the class PRODUCTS defined below, Write functions in C++ to perform the following: (3) (i) Write the objects of PRODUCTS to a binary file. (ii) Read the objects of PRODUCTS from binary file and display them on screen when Pname has value Ponds Powder class PRODUCTS int Pcode; char Pname[20]; float Price; public : void getproducts() cin>>pcode>>pname>>price; void showproducts() cout<<pcode<<pname<<price<<endl; char *getproduct() return Pname; ; 5. (a) What are Views? What happens if we try to drop a table in which a view exists? Can we create view of a view? (2) (b) Consider the following table LIBRARY. Write SQL commands for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii). (6) (Answer the outputs by just considering the following table contents only) Page 5 of 7

Sl No. Title Author Subject Quantity Price 1 Data Structure Lipschute DS 4 320.00 2 Turbo C++ Robort Lafore Prog 3 213.00 3 COBOL Stern Prog 6 515.00 4 Basic for Beginners Norton Prog 2 430.00 5 Dbase Dummies Palmer DBMS 3 230.00 (i) To display the Title of all books with Price 100 and 300.(Both values included) (ii) To display Title and Author of all the books having type Prog. (iii) To display list of all the books with price more than 300 in ascending order of Quantity. (iv) To increase the price of all the items by 315 in the table LIBRARY. (v) SELECT MIN(price) FROM LIBRARY; (vi) SELECT SUM(Price * Quantity) FROM LIBRARY WHERE Quantity >3; (vii) SELECT COUNT(DISTINCT Subject) FROM LIBRARY; (viii) SELECT Subject,MAX(Price),COUNT(*) FROM LIBRARY GROUP BY Subject; 6. (a) Verify algebraically X ( X + Y ) = X. (2) (b) Represent the Boolean expression X.Y +Z with the help of NOR gates only. (1) (c) Write the Product of Sums form of the function G(U,V,W), truth table representation of G is as follows : (2) U V W G 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 (d) Reduce the following Boolean expression using K-Map: (3) F(M,N,O,P)= Σ(0,1,3,4,5,6,7,9,10,11,13,15) 7. (a) What is a Gateway? (1) (b) Expand the following terms with respect to Networking : (2) (i) FTP (ii) NFS (iii) HTTP (iv) URL (c) What are Cookies? (1) (d) Global Village Enterprises has following four buildings in Hyderabad city. (4) Page 6 of 7

[35] Gv1 [70 mts] Gv3 [80] [30 mts] [20 mts] Gv4 Gv2 [25 mts] [115 mts] [25] [60] [ ] Shows computers in each building - Shows distance Computers in each building are networked but buildings are not networked so far. The company has now decided to connect building also. (a) Suggest a cable layout for these buildings (b) In each of the buildings, the management wants that each LAN segment gets a dedicated bandwidth i.e bandwidth must not be shared. How can this be achieved? (c) The company also wants to make available shared Internet access for each of the buildings. How can this be achieved? (d) The company wants to link its headoffice in GV1 building to its another office in Japan. (i) Which type of transmission medium is appropriate for such a link? (ii) What type of network would this connection result into? Page 7 of 7