Computer Science 2006 (Outside Delhi)

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

Computer Science 2006 (Delhi)

Model Sample Paper 2015

(Structured Query Language)

Computer Science[083]

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

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

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

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

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

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

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

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

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

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

Sample Paper 2012 Class XII Subject Computer Science


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

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

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

CLASS-XI COMPUTER SCIENCE

COMPUTER SCIENCE

Question Bank Class XII Subject : Computer Science

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

COMPUTER SCIENCE 1998 (Delhi Board)

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

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

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

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

COMPUTER SCIENCE 2002 (Delhi Board)

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

KENDRIYA VDYALAYA SANGATHAN ERNAKULAM REGION MODEL PAPER - SET-I SUB: INFORMATICS PRACTICES CLASS: XII Time: 3 Hrs Max.Mark: 70

KendriyaVidyalayaSangathan Kolkata Region

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

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

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

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

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

COMPUTER SCIENCE (083)

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

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

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

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

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

General Instructions:

THE NAME OF THE CONSTRUCTOR AND DESTRUCTOR(HAVING (~) BEFORE ITS NAME) FUNCTION MUST BE SAME AS THE NAME OF THE CLASS IN WHICH THEY ARE DECLARED.

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE



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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

SUB: INFORMATICS PRACTICES CLASS: XII ANSWER KEY SET-2. Time: 3 Hrs Max.Mark: 70 1.

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

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.

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

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

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

THE INDIAN COMMUNITY SCHOOL, KUWAIT

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

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

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION COMPUTER SCIENCE

Downloaded from

INFORMATICS PRACTICES

Sample Paper 2015 Class XII Subject Computer Science

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

List of Practical for Class XII Computer Science

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL

JB ACADEMY HALF-YEARLY EXAMINATION 2016 CLASS XII COMPUTER SCIENCE. Time: 3:00 Hrs. M.M.: 70

C++ 8. Constructors and Destructors

Index for C++ Programming

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

COMPUTER SCIENCE (083)

[0569] p 0318 garbage

THE INDIAN COMMUNITY SCHOOL, KUWAIT

vinodsrivastava.com Constructor and Destructor

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

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

Example : class Student { int rollno; float marks; public: student( ) //Constructor { rollno=0; marks=0.0; } //other public members };

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:

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

Session Chapter 4: Classess & Object

Transcription:

Computer Science 6 (Outside Delhi) General Instructions: Q... All questions are compulsory.. Programming Language: C++ a. Name the header file to which the following belong: () i. pow( ) ii. random( ) b. Illustrate the use of inline function in C++ with the help of an example. () c. Rewrite the following program after removing the syntactical error(s), if any. Underline each correction. () #include <iostream.h> void main( ) { struct movie { char movie_name []; char movie type; int ticket cost = ; MOVIE; gets(movie_name); gets(movie_type); d. Find the output of the following program: () #include<iostream.h> #include<string.h> class student { char *name; int l ; student( ){l=; name=new char I+]; student (char*s) { I =strlen(s); name=new char[i+]; strcpy (name,s); void display( ){cout<<name<<endl; void manipulate(student & a, student & b) { I = a. I + b.i; delete name; name=new char[i+]; strcpy(name, a.name); strcat(name, b.name);

Q.. void main( ) { char * temp = Jack ; student name (temp), name( Jill ), name( John ),S,S; S.manipulate (name, name); S.manipulate (SI, name); S.display ( ); S.display ( ); e. Find the output of the following program: #include<iostream.h> void main() { long Number = 7584; int First=, Second=; do { int R=Number%; if (R%==) First+=R; else Second+=R; Number /=; while (Number>O); cout<<first-second; f. What is a default constructor? How does it differ from destructor? () a. What is this pointer? Give an example to illustrate the use of it in C++. () b. Answer the questions (I) and (ii) after going through the following class: class Exam { int year; Exam(int y) {year=y; //Constructor Exam(Exam & t); ///Constructor i. Create an object, such that it invokes Constructor I. () ii. Write complete definition for Constructor. () c. Define a class named HOUSING in C++ with the following descriptions: (4) Private members REG_NO integer(ranges ) NAME Array of characters(string) TYPE Character COST Float Public Members Function Read_Data( ) to read an object of HOUSING type Function Display() to display the details of an object

Q.. Function Draw Nos( ) to choose and display the details of houses selected randomly from an array of objects of type HOUSING Use random function to generate the registration nos. to match with REGNO from the array. d. Answer the questions (i) to (iii) based on the following code: class furniture { char Type; char Model[]; furniture(); void Read_fur_details( ); void Disp_fur_detailsO; class sofa : public furniture { int no_of_seats; float cost_of_sofa; void Read_sofa_details( ); void Disp_sofa_details( ); class office: private sofa { int no_of_pieces; char delivery_datell; void Read_office_details( ); void Disp_office_details( ); void main( ) { office MyFurniture;. Mention the member names which are accessible by MyFurniture declared in main () function. () i. What is the size of MyFurniture in bytes? () ii. Mention the names of functions accessible from the member function Read_office_details () of class office. () 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 if the array is,, The resultant D array is given below The resultant D array is given below If the array is,,, 4, 5, 6 If the array is,, The resultant D array is given

The resultant D array is given below below 4 4 4 5 5 Q. 4. b. An array MAT [][] is stored in the memory along the row with each element occupying 4 bytes of memory. Find out the base address and the address of element MATE[][5] if the location of MAT [][7] is stored at the address. (4) c. Introduction class stack { int data []; int top; stack( ){ top=-l void push( );//to push an element into the stack void pop( );//to pop an element from the stack void Delete(int ITEM); //To delete all elements which are equal to ITEM Complete the class with all function definitions. Use another stack to transfer data temporarily. (4) d. Write a function in C++ to perform Insert operation in dynamically allocated Queue containing names of students. () e. Write the equivalent infix expression for (),, *, 7,, *,, + a. void main( ) { char ch= A ; fstream fileout( data.dat, Ios::app); 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 blanks present in a text file named PARA.TXT. () c. Following is the structure of each record in a data file named PRODUCT.DAT. struct PRODUCT { char Prodact_Code[]; char Product_Descriptionil[]; int Stock;

Write a function in C++ to update the file with a new value of Stock. The Stock and the Product Code, whose Stock to be updated, are read during the execution of the program. () Q. 5. a. What are DDL and DML? () b. Study the following tables FLIGHTS and FARES and write SQL commands for the questions (i) to (iv) and give outputs for SQL queries (v) to (vi). TABLE : FLIGHTS FL_NO STARTING ENDING NO_FLIGHTS NO STOPS IC MUMBAI DELHI 8 IC799 BANGALORE DELHI MC INDORE MUMBAI IC DELHI MUMBAI 8 AM8 KANPUR BANGALORE IC899 MUMBAI KOCHI 4 AM5 DELHI TRIVANDRUM 5 MU499 MUMBAI MADRAS IC7 DELHI AHMEDABAD 4 TABLE : FARES FL_NO AIRLINES FARE TAX% C7 Indian Airlines 65 MU499 Sahara 94 5

AM5 Jet Airways 45 8 IC899 Indian Airlines 8 4 C Indian Airlines 4 < C799 Indian Airlines 5 MC Deccan Airlines 5 4 i. Display FL_NO and NO_FLIGHTS from KANPUR to BANGALORE from the table FLIGHTS. ii. Arrange the contents of the table FLIGHTS in the ascending order of FL_NO. iii. Display the FLNO and fare to be paid for the flights from DELHI to MUMBAI using the tables FLIGHTS and FARES, where the fare to be paid = FARE +FARE*TAX%/. iv. Display the minimum fare Indian Airlines is offering from the table FARES. v. SELECT FL_NO, NO_FLIGHTS, AIRLINES from FLIGHTS, FARES where STARTING= DELHI and FLIGHTS.FL_NO=FARES.FL_NO. vi. SELECT count (distinct ENDING) from FLIGHTS. (6) Q. 6. a. State and verify Associative Law. () b. Write the equivalent expression for the following logical circuit: () Q. 7. c. Express P+Q R in POS form. () d. Reduce the following Boolean expression using K-Map: () F(P, Q, R, S) = π (,,5,6,7,,, 5) a. Name two transmission media for networking. () b. Expand the following terms: () i. XML ii. GSM iii. SMS iv. MAN c. Differentiate between Hackers and Crackers. ()

d. INDIAN PUBLIC SCHOOL in Darjeeling is setting up the network between its different wings. There are 4 wings named as SENIOR(S), JUNIOR(J), ADMIN(A) and HOSTEL(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 to Wing H m m 4m m m 45m Number of Computers Wing A Wing S Wing J Wing H 5 i. Suggest a suitable Topology for networking the computer of all wings. () ii. Name the wing where the Server is 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. ()