Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

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

COMPUTER SCIENCE Sample Paper I

Computer Science (Code 083) Sample Paper with Solution Set II

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

Kendriya Vidyalaya Sangathan MODEL QUESTION PAPER - 2 Class-XII Subject: Computer Science (083) Time 3 hrs MM 70

Computer Science (Code 083) Sample Paper with Solution Set II

COMPUTER SCIENCE

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

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:

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

COMPUTER SCIENCE (Theory) - Class XII Sample Question Paper II Subject Code - 083

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

ITL Public School First Term( )

KendriyaVidyalayaSangathan Kolkata Region

CBSE Sample Paper for Computer Science Class XII.

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

Question Bank Class XII Subject : Computer Science

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

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

KENDRIYA VIDYALAYA PANGODE MONTHLY TEST I JUNE 2015 CLASS XII COMPUTER SCIENCE Time allowed: 1 1/2 Hours Max. Marks: 50

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

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

#include<iostream.h> #include<conio.h> #include<ctype.h>

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

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

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

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

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

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

Write the names of the header files to which the following belong :

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE


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

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

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

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

Model Sample Paper 2015

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

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

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

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

Sample Paper 2012 Class XII Subject Computer Science

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

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

(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

CBSE 12th Computer Science Question Papers

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

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK CLASS-XII INFORMATICS PRACTICES

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

Computer Science 2006 (Delhi)

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

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

(Structured Query Language)

Computer Science 2006 (Outside Delhi)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

COMPUTER SCIENCE (Theory) - Class XII Marking Scheme

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

Sample Paper I Class XII

Downloaded from

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

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 )

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

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.

(b) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2

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

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

AUTUMN BREAK HOLIDAY HOMEWORK

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

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

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

KENDRIYA VIDYALAYA GOMTINAGAR, LUCKNOW (SHIFT-II) DAY-WISE ASSIGNMENT FOR WINTER BREAK CLASS XII SUBJECT : COMPUTER SCIENCE

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

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


COMPUTER SCIENCE 2002 (Delhi Board)

CLASS-XI COMPUTER SCIENCE

KENDRIYA VIDYALAYA SANGATHAN

KENDRIYA VIDYALAYA SANGATHAN

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

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

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

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

KENDRIYA VIDYALAYA SANGATHAN, KOLKATA REGION SPLIT-UP SYLLABUS ( ) CLASS XII : COMPUTER SCIENCE (THEORY)

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

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

Transcription:

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory) Time Allowed: 3hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C+ + Ques 1. (a)what is the difference between Type Casting and Automatic Conversion? Give example in C++ to illustrate both. 2 (b) Name the header files to execute the following function(s) in a program: 1 void main() char Msg[ ]="Foreign Direct Investment"; for (int I=5;I<strlen(Msg);I++) puts(msg); (c) Rewrite the following program after removing the syntactical error(s), if any. Underline each correction: 2 #include <iostream.h> struct Pixels int Color,Style; void ShowPoint(Pixels P) cout<<p.color,p.style<<endl; void main() Pixels Point1=(5,3); ShowPoint(Point1); Pixels Point2=Point1; Color.Point1+=2; ShowPoint(Point2); (d) Find the output of the following program: 3 #include <iostream.h> void Changethecontent(int Arr[ ], int Count) for (int C=1;C<Count;C++) Arr[C-1]+=Arr[C]; void main() int A[]=3,4,5,B[]=10,20,30,40,C[]=900,1200; Changethecontent(A,3); Changethecontent(B,4); Changethecontent(C,2); for (int L=0;L<3;L++) cout<<a[l]<<'#'; cout<<endl;

for (L=0;L<4;L++) cout<<b[l] <<'#'; cout<<endl; for (L=0;L<2;L++) cout<<c[l] <<'#'; (e) Find the output of the following program: 2 #include <iostream.h> void Secret(char Str[ ]) for (int L=0;Str[L]!='\0';L++); for (int C=0;C<L/2;C++) if (Str[C]=='A' Str[C]=='E') Str[C]='#'; else char Temp=Str[C]; Str[C]=Str[L-C-1]; Str[L-C-1]=Temp; void main( ) char Message[ ]="SteveJobs"; Secret(Message); cout<<message<<endl; (f) Study the following program and select the possible output from it with reason: 2 #include<iostream.h> #include<stdlib.h> #include<conio.h> void main( ) clrscr( ); randomize( ); int Mynum,Max=4; Mynum=20+random(Max); for(int N=Mynum;N<=25;N++) cout<<n<<"*"; i) 20*21*22*23*24*25 ii) 22*23*24*25* iii) 23*24* iv) 21*22*23*24*25 Ques.2 (a) What is the difference and similarity between private and protected data members of a class? 2 (b) Answer the questions (i) and (ii) after going through the following program: 2 class Person char Name[20];

int ph_no; Person(int x, char Xname[]) //Constructor 1 Ph_no=x; strcpy(name,xname); Person(Person &t); //Constructor 2 ; i) Create an object such that it invokes Constructor 1? ii) Write complete definition for Constructor 2. (c) Define a class named STREAM in C++ with following description: 4 Private Members: AD_NO integer (Ranges 10-2000) Name String of 25 characters Percentage Float Fees Float Public Members A function Read_Data to read object of STREAM type Function Display( ) to display the details of STREAM type.. A function Select_Stud( ) to choose students for different streams depending on their percentage and display the fee they have to deposit. Percentage Stream Fees Percentage>=90 Computer 18000 Percentage<90 but >=80 Biology 14000 Percentage<80 but >=70 Commerce 12000 (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 class World. ii) Name the data member(s) that can be accessed from function Display(). iii) Name the member function(s), which can be accessed by objects of class World. iv) What is the size of object of class State? Ques 3. (a) Write a function in C++, which accepts an integer array and its size as arguments and exchanges the values of the first half side with the second half side elements of the array. 3 Example: if an array of eight elements initially contains the elements as 2,4,1,6,7,9,23,10 Then the function should rearrange the array as 7,9,23,10,2,4,1,6 (b) An array S[40][30] is stored in the memory along the row with each of the element occupying 2 bytes, find out the memory location for the element S[20][10], if the Base Address of the array is 5000. 3 (c) Write a function in C++ to delete an element from a dynamically allocated Queue where each node contains a real number as data. 3 Assume the following definition of MYNODE for the same. struct MYNODE float NUM; MYNODE = *Link; ; (d) Write a function SWAPARR() in C++, to swap (interchange) the first row elements with the last row elements, for a 2D array of integers passed as argument of the function. 3 Example: if the two dimensional array contains 5 6 3 2 1 2 4 9 2 5 8 1 9 7 5 8 After swapping of the content of first row and last row, it should be as follows: 9 7 5 8 1 2 4 9 2 5 8 1 5 6 3 2 (e) Evaluate the following postfix notation of expression. Show contents of stack after every step. 2 True, False, AND, True, True, NOT, OR, AND Ques. 4 (a) Observe the program segment given below carefully and answer the question that follows: 1 class Team long TId; char TName[20]; float points; void Accept( );

void Show( ); void PointChange( ); long R_TId( ) return TId; ; void ReplacePoints(long Id) fstream File; File.open ( Team.Dat,ios::binary ios::in ios::out); Team T; int Record=0, found=0; while(!found && File.read((char*)&T, sizeof(t))) if (Id==T.R_TId( )) cout<< Enter New Points ; 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 Team s ID 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 he and she (ignoring the case) as an independent word in a text file STORY.TXT. 2 (c) Write a function in C++ to search for a BookNo from a binary file "BOOK.DAT", assuming the binary file is containing the objects of the following class. 3 class Book int Bno; char Title[20]; int RBno() return Bno; void Enter() cin>>bno;gets(title); void Display() cout<<bno<<title<<endl;

; Ques.5 (a) What do you understand by Union and Cartesian Product operation in relational algebra? 2 (b) Consider the following tables GAMES and PLAYER and answer (b) and (c) parts of this question: Table: GAMES GCode GameName Type Number PrizeMoney ScheduleDate 101 Carom Board Indoor 2 5000 23-Jan-2004 102 Badminton Outdoor 2 12000 12-Dec-2003 103 Table Tennis Indoor 4 8000 14-Feb-2004 105 Chess Indoor 2 9000 01-Jan-2004 108 Lawn Tennis Outdoor 4 25000 19-Mar-2004 Table: PLAYER PCode Name GCode 1 Nabi Ahmad 101 2 Ravi Sahai 108 3 Jatin 101 4 Nazneen 103 (b) Write SQL commands for the flowing statements: 4 (i) To display the name of all GAMES with their GCodes (ii) To display details of those GAMES which are having PrizeMoney more than 7000. (iii) To display the content of the GAMES table in ascending order of Schedule Date. (iv) To display sum of PrizeMoney for each Type of GAMES (c) Give the output of the following SQL queries: 2 (i) SELECT COUNT(DISTINCT Number) FROM GAMES; (ii) SELECT MAX(ScheduleDate), MIN(ScheduleDate) FROM GAMES; (iii) SELECT Name, GameName FROM GAMES G, PLAYER P WHERE G.GCode=P.GCode AND G.PrizeMoney>10000; (iv) SELECT DISTINCT GCode FROM PLAYER; Ques 6. (a) State and verify Absorption Laws using truth tale. 2 (b) Write the equivalent Boolean Expression for the following Logic Circuit 1 (c) Write the SOP form of a Boolean function G, which is represented in a truth table as follows: 1 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 1 (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) 1 (e) Give the dual of (A+BC+AB) Ques 7 (a) Define the term Bandwidth. Give any one unit of Bandwidth. 1 (b) When do you prefer XML over HTML and why? 1 (c) Which of the following will come under Cyber Crime? 1 i) Theft of a brand new sealed pack Laptop. ii) Access to a bank account for getting unauthorized mony transaction. iii) Modification in a company data with unauthorized access. iv) Photocopying a printed report. (d) What do you mean by VoIP Address? 1 (e) Ravya Industries has set up its new center at Kaka Nagar for its office and web based activities. The company compound has 4 buildings as shown in the diagram below: 4 Raj Fazz Harsh Jazz Center to center distances between various blocks Harsh to Raj 50 m Raz to Fazz 60 m Fazz to Jazz 25 m Jazz to Harsh 170 m Harsh to Fazz 125 m Raj to Jazz 90 m Number of Computers Harsh 25 Raj 50 Fazz 125 Jazz Bulding 10 e1) Suggest a cable layout of connections between the buildings. e2) Suggest the most suitable place (i.e. building) to house the server of this organisation with a suitable reason. e3) Suggest the placement of the following devices with justification: (i) Internet Connecting Device/Modem (ii) Switch e4) The organisation is planning to link its sale counter situated in various parts of the same city, which type of network out of LAN, MAN or WAN will be formed? Justify your answer. (f) What is the mission of W3C? 1 (g) Write any one advantage of Open Source Software and Proprietary Software. 1