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

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

Computer Science 2006 (Delhi)

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

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

2 SEMESTER EXAM CLASS : 12 DECEMBER 2016 TIME : 3 Hrs MAX MARKS : 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, 2015 Subject: Computer Science Class 12 th

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

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

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

COMPUTER SCIENCE

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

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

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

Model Sample Paper 2015

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 SAM PLE PAPER 2-HALF YEARLY EXAMINATION

KendriyaVidyalayaSangathan Kolkata Region

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

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

Question Bank Class XII Subject : Computer Science

Computer Science 2006 (Outside Delhi)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

SAMPLE PAPER Class XII Subject INFORMATICS PRACTICES. TIME: 3Hrs. M.M. 70

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

Sample Paper Class XI Subject Computer Sience UNIT TEST II

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

COMPUTER SCIENCE 2002 (Delhi Board)

HOLIDAY HOMEWORK ASSIGNMENT-5 Q1. What will be the output of the following program segment Class Num { int x; float y; public: void init( ) { x = y =

Sample Paper 2012 Class XII Subject Computer Science


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

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:

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

COMPUTER SCIENCE 1998 (Delhi Board)

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

Downloaded from

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

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

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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

2016 COMPUTER SCIENCE

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

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

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

IT 1003 Introduction to Programming (New)

EAS 230 Fall 2002 Section B

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

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

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

ISC 2011 COMPUTER SCIENCE PAPER 1 THEORY

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

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

Guru Gobind Singh Public School Sector: V/B, Bokaro Steel City Assignment (Level 2)

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

m) sin() n) endl o) getch() p) cout

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

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

General Instructions:

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

Object Oriented Pragramming (22316)

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

Darshan Institute of Engineering & Technology for Diploma Studies

SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS

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

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

COMPUTER SCIENCE (083)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

CSCI 101L - Data Structures. Practice problems for Final Exam. Instructor: Prof Tejada

COIMBATORE EDUCATIONAL DISTRICT

Chapter-13 USER DEFINED FUNCTIONS

Creating a C++ Program

Short Notes of CS201

Sample Paper 2015 Class XII Subject Computer Science

CS201 - Introduction to Programming Glossary By

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

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

Lecture 4. 1 Statements: 2 Getting Started with C++: LESSON FOUR

Padasalai.Net s Model Question Paper

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

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

ISC 2006 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part

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

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

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

Transcription:

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS- XII Time Allowed: 3 hours Max.Marks : 70 1. (a)why main() so special in C++. Give at least two reasons. 2 (b)write the names of the header files to which the following belong (i) strcat() (ii) atoi() 1 (c)rewrite the following program after removing the syntactical errors (if any) (i)#include<iostream.h> void main() const MAX=0; int a,b; cin<<a>>b; if(a>b) MAX=a; for(x=0,x<max;x++) cout<<x; 2 (d) #include<iostream.h> Main() int ch=9,sch=90; char S[2,2]; if ch<=9 cout<<ch; for(int x=0;x<2;x++) for(int y=0;y<2;y++) if(y==0) S[x][y]= A ; else cout>>s[x][y]; getch(); 2 (e)#include<iostream.h> void main() long NUM=1234543; int f=0,s=0; do int rem=num%10; Page 1 of 7

if(rem%2==0) f+=rem; else s+=rem; NUM/=10; while(num>0); cout<<f-s; 2 (f)find out put of the following #include<iostream.h> struct land int l; int b; int area; ; void calarea(land &h1,int y=10) h1.area=h1.l*h1.b; h1.area/=y; h1.l++; h1.b++; void main() land one=20,50,two=10,30; calarea(one); cout<<one.area<< # <<one.l<< # <<one.b; cout<<endl; calarea(two,5); cout<<two.area<< # <<two.l<< #. <<two.b; 3 2.(a) Define the term data hiding in the context of Object Oriented Programming. Give a suitable example using C++ code to illustrate the same. 2 (b) #include<iostream.h> #include<string.h> class Gulfair char flightno[5]; int no_of_passengers; Gulfair() strcpy(flightno,str); //function1 Page 2 of 7

no_of_passengers=0; Gulfair(char str,int n) //function2 strcpy(flightno,str); no_of_passengers=n; void input() //function3 cin>>flightno: cin>>no_of_passengers; ~Gulfair() cout<< counter closed ; //function4 (i) In an object oriented programming, which concept is illustrated by function1 and function 2 together? write the statements to call these function (ii) What is the scope of the two data members of the class Gulfair?What does scope of data members depend on? 2 (c) Define a class with complete function definition COMPETITION in C++ with the following specifications Private members Event_no integer details char(30) score integer qualified char public members input() To take input for event_no,description and score Award() To award qualified as Y if score is more than the cutoff_score passed as int to the function else award N Show() To display all details 4 (d)answer the questions I to IV based on the following code 4 class Instructor char Tno[5],Tname[20],Dept[10]; int workload; protected float salary; void Assignsal(float); public Instructor() void Tentry(); void Tdisplay(); ; class Student char Admno[10],Sname[20],Stream[10]; protected: int attendance,totmarks; Page 3 of 7

student(); void sentry(); void sdisplay(); ; class school:public student,public instructor char scode10,sname[20]; school(); void schentry(); void schdisplay(); ; (i)which type of inheritance is depicted in the above example? (ii)identify the member functions that cannot be called directly from the objects of class school from the following : Tentry(),sdisplay(),schentry() (iii) Write name of all the member(s) accessible from member functions of class school (iv) If class school was derived privately from class Instructor and privately from class student,then,name the,member function(s) that could be accessed through objects of school class 3.(a) Write a function in C++ which accepts an integer array and its size as arguments /parameters and exchanges the value of first half side elements with the second half side elements of the array. Example if an array of six elements has initial contents as 10,11,12,91,86,65, The function should re arrange the array as 91,86,65,10,11,12 4 (b)an array[10][15] is stored in the memory along the column with each element occupying 4 bytes. Find out the Base Address and address of the element Array[3][2] if the Array [6][5] is stored at the address 2000. 4 (c) Write a function in C++ to perform Push operation on a dynamically allocated stack containing integers. 4 (d) Write a function in C++ to sort an integer array of 10 elements using selection sort. 2 (e) Evaluate the following post fix expression using stack and show the contents of stack after each operation 100,40,+,20,14,-,8,*,+ 2 4.(a)A pupil.dat file exist, with the objects of class STUDENTS. Assuming, the file has just opened through the object fil ofstream class. (i)give a single command to place the file pointer to the third record from beginning (ii)in continuation to the above, command, give a command to bring file pointer to the beginning of the last record 1 (b) Write a function in C++ to calculate the average word size in a text file Report.txt,each word is separated by single space or full stop. 2 Page 4 of 7

(c) Write a function in C++ to assign a new object in a binary file customer.dat, Assume the binary file is containing the objects of following class Class consumer int consumeno; char name[21]; void Enterdata()cin>>consumeno; cin.getline(name,21): void dispdata()cout<<consumeno,<<name; 3 5.(a)What is an alternate Key? 2 (b)study the following table Doctor and Salary and write SQL commands for the queries I to IV and give outputs for the SQL queries V to VI. 6 TABLE DOCTOR ID AME DEPT SEX EXPERIE CE 104 John ENT M 12 104 Smith ORTHOPEDIC M 5 107 George CARDIOLOGY M 10 114 Lara SKIN F 3 109 KGeorge MEDICINE F 9 105 Johnson ORTHOPEDIC M 10 117 Lucy ENT F 3 111 Bill MEDICINE F 12 130 Morphy ORTHOPEDIC M 15 TABLE SALARY ID BASIC ALLOWA CE CO SULTATIO 101 12000 1000 300 104 23000 2300 500 107 32000 4000 500 114 12000 5200 100 109 42000 1700 200 105 18900 1690 300 130 21700 2600 300 (I)Display the names of all doctors who are in MEDICINE having more than 10 years experience from the table Doctor (II)Display the average salary of all doctors working in ENT department using the tables Doctor and Salary where salary=basic+allowance (III)Display minimum allowance of female doctors (IV)Display the highest consultation fee among all male doctors (V)SELECT count(*) from DOCTOR where sex= F (VI)SELECT NAME<DEPT<GASIC from DOCTOR,SALARY where DEPT= ENT and DOCTOR.ID=SALARY.ID 6.(a)State and Verify Absorption Law 2 Page 5 of 7

(b) Draw corresponding Logic Gate for the expression F=(A+B).(A+B ) 1 ( c)given the following truth table derive a Sum of Product (SOP) and Product of Sum(POS) from of Boolean expression from it 2 A B C F(A,B,C) 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 0 (d)obtain a simplified form for the following Boolean Expression using Karnaugh s Map F(a,b,c,d)= (0,1,2,4,5,7,8,9,10,11,14) 3 7(a) What are Routers? 1 (b)what is the significance of ARPANET in Network. 1 (c)differentiate between Message switching and Packet switching 2 (c)manya Industries has set of its new office at Manya Nagar for its Office and web based activities. The company compound has four buildings as shown in the diagram Rose Lotus Jasmin Dalia Centre to centre distances between various buildings is as follows Jasmin building to Rose 50m Rose building to Lotus building 60m Lotus building to Dalia building 25m Dalia building to Jasmin building 170 m Jasmin building to Lotus building 125m Page 6 of 7

Rose building to Dalia building 90m Number of computers in each of the building is as follows Jasmin 15 Rose 150 Lotus 15 Dalia 25 (i)suggest a cable layout of connections between the buildings 1 (ii)suggest the most suitable place to house the server of this organization with a suitable reason 1 (iii)suggest the placement of the following devices with justification (a)internet connecting Device/Modem (b)switch 1 (iv) The organization is planning to link its sales counter suitable in various parts of the same city, which type of network out of LAN,MAN or WAN will be formed? justify your answer. 1 Page 7 of 7