COMPUTER SCIENCE 1998 (Delhi Board)

Similar documents
2016 COMPUTER SCIENCE

COMPUTER SCIENCE 2002 (Delhi Board)

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

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

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

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

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

SESSION ENDING EXAMINATION Set-3 INFORMATICS PRACTICES CLASS XI BLUE PRINT Long Short Very Short

COMPUTER SCIENCE (083)

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS

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

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

Q5 Question Based on SQL & Database Concept Total Marks 8. Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks

Sample Paper 2012 Class XII Subject Computer Science

Downloaded from

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

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

Computer Science 2006 (Delhi)

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

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to (v)

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

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

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

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

Page. No. 1/15 CS201 Introduction to Programmming Solved Subjective Questions From spring 2010 Final Term Papers By vuzs Team

KendriyaVidyalayaSangathan Kolkata Region

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

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

Model Sample Paper 2015

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

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

Visit For All NCERT solutions, CBSE sample papers, Question papers, Notes for Class 6 to 12

COMPUTER SCIENCE. Paper 1

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

Index for C++ Programming

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

Computer Science 2006 (Outside Delhi)

Downloaded from Set :B SECTION A

COMPUTER SCIENCE

Question Bank Class XII Subject : Computer Science

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

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

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

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

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

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

Come and join us at WebLyceum

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

QUESTION BANK FOR TEST

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

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

Arrays. Week 4. Assylbek Jumagaliyev

Computer Science Paper 1 (Theory) Part I While working questions in this part, indicate briefly your working and reasoning wherever required.

Come and join us at WebLyceum

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

COMPUTER SCIENCE Paper 1


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

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

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

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

Introduction to Programming Using Java (98-388)

Downloaded from

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

vinodsrivastava.com Constructor and Destructor

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

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

For Teacher's Use Only Q No Total Q No Q No



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

PART I. Answer all questions in this Part. While answering questions in this Part, indicate briefly your working and reasoning, wherever required.

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

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

COMPUTER SCIENCE PAPER 1

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

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

5. (a) What is secondary storage? How does it differ from a primary storage? (b) Explain the functions of (i) cache memory (ii) Register

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

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

Downloaded from

Object Oriented Pragramming (22316)

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

Sample Paper Class XI Subject Computer Sience UNIT TEST II

ISC 2011 COMPUTER SCIENCE PAPER 1 THEORY

ISC SPECIMEN PAPER Computer Science Paper 1 (Theory) Part I Question 1. [ 2 x 5 = 10] Question 2. [ 2 x 5 = 10] Question 3.

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

INFORMATICS PRACTICES (065)

KENDRIYA VIDYALAYA SANGATHAN BLUE PRINT INFORMATICS PRACTICES CLASS XII

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Transcription:

COMPUTER SCIENCE 1998 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) Define the following terms: (i) Inheritance (ii) Encapsulation (b) Name the header file, to which following built-in function belong to: (i) cos() (ii) setw() (iii) toupper() (iv) strcpy() (c) Find the syntax error, if any, in the following program #include <iostream.h> void main() int R;W = 90; while W > 60 R = W- 50; switch(w) 0:cout << "Lower Range"<<endl; 30:cout<< "Middle Range"<< endl; 40: cout<< "Higher Range"<<endl; (d) Give the output of the following program segment: char *NAME = "IntRAneT"; for (int x = 0; x<strlen(name);x++) if(islower(name)) NAME[x]=toupper(NAME[x]); else if (isupper(name[x])) if (x%==0) NAME[x]=tolower(NAME[x]); else NAME [x] = NAME[x - 1]; puts(name); (e) Write the output of the following program # include<iostream.h> void Execute(int &X, int Y = 00) int TEMP = X + Y; 1 3

X += TEMP; if (Y!= 00) cout << TEMP << " " <<X<< <<Y<<endl; void main() int A = 50, B = 0; Execute(B); cout << A << " " << B << endl; Execute(A,B); cout << A << " " << B << endl; (f) Write a C++ function having two value parameters X and N with result type float to find the sum of series given below. 1+X 1 /!+X /3!+...+ X N /(N + 1)! QUESTION. (a) What is a copy constructor? What do you understand by constructor overloading? (b) Define a class student with the following specification Private members of class student admno integer sname 0 character eng. math, science float total ctotal() float a function to calculate eng + math + science with float return type. Public member function of class student Takedata() Function to accept values for admno, sname, eng, math, science and invoke ctotal() to calculate total. Showdata() Function to display all the data members on the screen. (c) Consider the following declaration and answer the questions given below : class PPP int H: protected : int S; void INPUT (int); void OUT(); ; class QQQ : private PPP

int T; protected : int U; void INDATA(int, int); void OUTDATA(); ; class RRR : public QQQ int M; void DISP( void ); ; (i)name the base class and derived class of the class QQQ. (ii) Name the data member(s) that can be accessed from function DISP(). (iii) Name the member function(s), which can be accessed from the objects of class RRR. (iv)is the member function OUT() accessible by the object of the c.ass QQQ? QUESTION 3. (i) Suppose an array P containing float is arranged in ascending order. Write a userdefined function in C++ to search for one float from P with the help of binary search method. The function should return an integer 0 to show absence of the number and integer 1 to show presence of the number in the array. The function should have the parameters as (i) an array P (ii) the number DATA to be searched (iii) number of elements N. (b) An array T [15] [10] is stored in the memory with each element requiring bytes of storage. If the base address of T is 000, determine the location of T[7][8] when the array is T stored by (i) row major (ii) column major. (c) Write a user-defined function in C++ to display the sum of column elements of a twodimensional arrray R[7][7] containing integers. (d) Evaluate the following postfix expression using a stack and show the contents of stack after execution of each operation : 50,40,+,18, 14,-, *,+ (e)give the necessary declaration of a linked implemented stack containing integer type numbers also write a user-defined function in C++ to pop a number from this stack. QUESTION 4. (a) Write name of two member functions belonging to fstream class (b) Assuming the class EMPLOYEE given below, write functions in C++ to perform following: (i) (ii) class EMPLOYEE Write the objects of EMPLOYEE to a binary file. Read the objects of EMPLOYEE from binary file and display them on screen.

; int ENO; char ENAME[10]; void GETIT() cin >> ENO; gets (ENAME); void SHOWIT() cout <<ENO << ENAME <<endl; QUESTION 5. (a) What is a relation? What is the difference between a tuple and an attribute? Note : Write SQL commands for (b) to (g) and write the outputs for (h) on the basis of table HOSPITAL. Table : HOSPITAL No. Name Age Department Charges Sex 1 Arpit 6 1/01/98 300 M Zarina 1/1/97 50 F 3 Kareem 3 19/0/98 00 M 4 Arun 1 11/01/98 300 M 5 Zubin 30 1/01/98 50 M 6 Ketika 16 4/0/98 50 F 7 Ankita 9 0/0/98 800 F 8 Zareen 45 /0/98 300 F 9 Kush 19 13/01/98 800 M 10 Shilpa 3 1/0/98 400 F (b) To select all the information of patients of cardiology department. (c) To list the names of female patients who are in ENT department. (d) To list names of all patients with their date of admission in ascending order. (e) To display patient's name, charges, age for only female patients. (f) To count the number of patient with Age < 30. (g) To insert a new row in the HOSPITAL table with the following data: 11, "Aftab", 4, "Surgery". 5/0/98, 300, "M" (h) Give the output of following SQL statements: (i) SELECT COUNT(DISTINCT charges) FROM hospital (ii) SELECT MIN(age) FROM hospital WHERE sex = "F" (iii) SELECT SUM(charges) FROM hospital WHERE department = "ENT": (iv) SELECT AVG(charges) FROM hospital WHERE dateofadm<1/0/98 QUESTION 6. (a) State DeMorgan's Law. Verify one of the Demorgan s Laws using truth tables.

(b) Prove X'Y + Z = (X' + Y' + Z)(X +Y+Z)(X+Y + Z) algebraically. (c) Write the dual of the Boolean expression (U+ W) (V'U + W). (d) Obtain a simplified form for a Boolean expression F(u,v,w,z) = (0,1, 3, 5, 7, 9,10,11,1, 13,15) using K-Map. (e) Draw the logic circuit for a half adder. 1 (f) Represent the Boolean expression X+ Y.Z' with the help of NOR gates only. (g) Write the Product of Sum form of the function H(U,V,W), truth table representation of H is as follows : U V W H 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 1 QUESTION 7. a) What are repeaters? b) What is the difference between LAN and MAN? c) Describe the following in brief: (i)mosaic (ii) Usenet d) What do you understand by a backbone network? Free Download CBSE QUESTION PAPERS, C++ PROJECT, C++ PRACTICAL QUESTION & ANSWERS http://www.cppforschool.com