Computer Science 2006 (Delhi)

Similar documents
Computer Science 2006 (Outside Delhi)

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

Sample Paper 2012 Class XII Subject Computer Science

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

vinodsrivastava.com Consider the following c++ code and answer the questions from (i) to (iv): class Personal protected: public:

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

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

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

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

Question Bank Class XII Subject : Computer Science

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 COMPUTER SCIENCE(083) TimeAllowed : 3 HrsMax Marks : 70

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

Downloaded from

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

COMPUTER SCIENCE

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

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

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

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

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

KendriyaVidyalayaSangathan Kolkata Region

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

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

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

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

COMPUTER SCIENCE 2002 (Delhi Board)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

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

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

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

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

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION FOR 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 ( )

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

COMPUTER SCIENCE (083)

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

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION


COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

COMPUTER SCIENCE (083)

Model Sample Paper 2015

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

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

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

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

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

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

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

Sample Paper 2015 Class XII Subject Computer Science

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

2016 COMPUTER SCIENCE

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

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

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

COMPUTER SCIENCE PAPER 1

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

Introduction to Programming Using Java (98-388)

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

CLASS-XI COMPUTER SCIENCE

Chapter-11 POINTERS. Important 3 Marks. Introduction: Memory Utilization of Pointer: Pointer:

Session Chapter 4: Classess & Object

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

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

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

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

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

COMPUTER SCIENCE Paper 1

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

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

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

Downloaded from

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 =

ISC 2011 COMPUTER SCIENCE PAPER 1 THEORY

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:

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

Downloaded from

Sample Paper 2014 Class - XII Subject Informatics Practices (065)

Object Oriented Pragramming (22316)

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII

Padasalai.Net s Model Question Paper


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

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

BLUE PRIENT SUBJECT:- Computer Science

Transcription:

Computer Science 6 (Delhi) General Instructions: Q... All questions are compulsory.. Programming Language: C++ a. Name the header file to which the following belong () i. abs( ) ii. isupper( ) b. Illustrate the use of #define in C++ to define a macro. () c. Rewrite the following program after removing the syntactical error(s), if any. Underline each correction. () # include <iostream.h> void main() { struct STUDENT { char stu_name []; char stu_sex; int stu_age=7; student; gets(stu_name); gets(stu_sex); d. Find the output of the following program () # include<iostream.h> #include<string.h> class state { char * state_name; int size; public; state( );{ size=; state_name=new char[size+]; state(char *s) { size = strlen(s) ; state_name = new char[size+]; strcpy(state_name,s); void display() {cout<<state name<<endl; void Replace (state&a, state &b) { size = a.size + b.size; delete state_name; state_name = new char[size+] ; strcpy(state_name, a.state_name); strcat(state_name, b.state_name);

Q.. void main( ) { char *temp = Delhi ; state state(temp), state( Mumbai ), state( Nagpur ), SI, S; SI.Replace(state, state); S.Replace(S, state); S.display( ); S.display( ); e. Find the output of the following program: () #include<iostream.h> void main( ) { long NUM = 454; int F =, S = ; do { int Rem = NUM% ; if (Rem %!=) F+ =R; else S+ = R; NUM/=; while(num>); cout<<f-s; f. What are Nested Structures? Give an example. () a. Define Multilevel and Multiple inheritance in context of Object Oriented Programming. Give suitable example to illustrate the same. () b. Answer the questions (i) and (ii) after going through the following class: class Interview { int month; Interview (int y) {month=y ; //Constructor Interview (Interview&t); //Constructor i. Create an object, such that it invokes Constructor () ii. Write complete definition for Constructor () c. Define a class named ADMISSION in C++ with the following descriptions: (4) Private members: AD_NO integer (Ranges - ) NAME Array of characters (String) CLASS Character FEES Float Public Members: Function Read_Data ( ) to read an object of ADMISSION type Function Display() to display the details of an object

Function Draw-Nos ( ) to choose students randomly. And display the details. Use random function to generate admission nos. to match with AD_NO. d. Answer the questions (i) to (iii) based on the following code class stationary { char Type; char Manufacturer []; stationary(); void Read_sta_details( ); void Disp_sta_details( ); class office: public stationary { int no_of_types; float cost_of_sta; void Read_off_details( ); void Disp_off_details( ); class printer: private office { int no_of_users; char delivery_date[]; void Read_pri_details( ); void Disp_pri_details( ); void main ( ) { printer MyPrinter; i. Mention the member names which are accessible by MyPrinter declared in main() function ii. What is the size of MyPrinter in bytes? iii. Mention the names of functions accessible from the member function Read_pri_details () of class printer. (4) Q.. a. Write a function in C++ which accepts an integer array and its size as arguments/parameters and assign the elements into a two dimensional array of integers in the following format. () If the array is,,, 4, 5, 6 The resultant D array is given below If the array is,, The resultant D array is given

below 4 4 4 5 5 6 Q. 4. b. c. An array MATIOIIOJ is stored in the memory column wise with each element occupying 8 bytes of memory. Find out the base address and the address of element MATIOII5I, if the location of MATI5JL7] is stored at the address. (4) d. class queue { int data []; int front, rear; queue ()(front=-; rear= -;) void add( ); //to add an element into the queue void remove( ); //to remove an element from the queue void Delete(int ITEM); //To delete all elements which are equal to ITEM Complete the class with all function definitions for a circular array Queue. Use another queue to transfer data temporarily e. Write a function in C++ to perform Push operation on a dynamically allocated stack containing real number. () f. Write the equivalent infix expression for a, b, AND, a, c, AND, OR () a. void main( ) { char= A ; fstream fileout( data.dat,ios::out); fileout<<ch; int p = fileout.tellg( ); cout<<p; What is the output if the file content before the execution of the program is the string ABC (Note that are not part of the file) b. Write a function to count the number of words present in a text file named PARA.TXT. Assume that each word is separated by a single blank/space character and no blanks/spaces in the beginning and end of the file. () c. Following is the structure of each record in a data file named COLONY.DAT. () struct COLONY (4) ()

{ char Colony Code[]; char Colony Name[]; int No of People; Write a function in C++ to update the file with a new value of No _of_people. The value of Colony_Code and No_of_People are read during the execution of the program. Q. 5. a. What is an Alternate Key? () b. Study the following tables DOCTOR and SALARY and write SQL commands for the questions (i) to (iv) and give outputs for SQL queries (v) to (vi): (6) TABLE : DOCTOR ID NAME DEPT SEX EXPERIENCE John ENT M 4 Smith ORTHOPEDIC M 5 7 George CARDIOLOGY M 4 Lara SKIN F 9 K George MEDICINE F 9 5 Johnson ORTHOPEDIC M 7 Lucy ENT F Bill MEDICINE F Morphy ORTHOPEDIC M 5 TABLE : SALARY D BASIC ALLOWANCE CONSULTATION

4 5 7 4 5 4 5 9 4 7 5 89 69 7 6 i. Display NAME of all doctors who are in MEDICINE having mo than years experience from the table DOCTOR. ii. Display the average salary of all doctors working in ENT department using the tables DOCTOR and SALARY. Salary = BASIC + ALLOWANCE iii. Display the 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, BASIC from DOCTOR, SALARY where DEPT = ENT and DOCTOR.ID = SALARY.ID Q. 6. a. State and verify Distributive Law. () b. Write the equivalent expression for the following Logical Circuit: () Q. 7. c. Express P+Q R in canonical SOP form. () d. Reduce the following Boolean expression using K-Map. () F(P, Q,R, S) = (,,5,6,7,,,5) a. Differentiate between Internet and Intranet. () b. Expand the following terms i. CDMA ii. URL iii. HTTP iv. WAN () c. Write one advantage of STAR topology as compared to BUS topology. ()

d. UNIVERSITY OF CORRESPONDENCE in Allahabad is setting up the network between its different wings. There are 4 wings named as Science (S), Journal ism (J), ARTS (A) and Home Science (H). Distance between various wings are given below Wing A to Wing S Wing A to Wing J Wing A to Wing H Wing S to Wing J Wing S to Wing H Wing J t o Wing H m m 4 m m m 45m Number of Computers Wing A 5 Wing S Wing J 5 Wing H 5 i. Suggest a suitable Topology for networking the computer of all wings. () ii. Name the wing where the Server to be installed. Justify your answer. () iii. Suggest the placement of Hub/Switch in the network. () iv. Mention an economic technology to provide Internet accessibility to all wings. ()