Computer Science, Class XII ( ) (Autumn Break-2015) (Holiday H.W) Chapter No.4 to 6, 11 to 13

Size: px
Start display at page:

Download "Computer Science, Class XII ( ) (Autumn Break-2015) (Holiday H.W) Chapter No.4 to 6, 11 to 13"

Transcription

1 (Autumn Break-2015) (Holiday H.W) Chapter No.4 to 6, 11 to How does a class enforce data hiding, abstraction and encapsulation? Give a suitable example using a C++ code to illustrate the same. 2. What is the difference between the members in private visibility mode and the members in protected visibility mode inside a class? Also, give a suitable C++ code to illustrate both. /* CBSE 2012*/ 3. Differentiate between public and private visibility modes in context of Object Oriented Programming using a suitable example illustrating each. /* CBSE 2008*/ 4. Discuss the different ways by which we can declare a function in a class. Given suitable example of each. 5. What is static data member and static member function? Give suitable example using C++ code to illustrate them. 6. Differentiate between default, parameterized & copy constructor with a suitable example. /*CBSE 2005*/ 7. What is a copy constructor? Give a suitable example in C++ to illustrate with its definition within a class and a declaration of an object with the help of it. /*CBSE 2015*/ 8. Write any two similarities and dissimilarities between Constructors and Destructors. Write the function headers for Constructor and Destructor of a class Flight. /*CBSE 2007, 2011, 2013*/ 9. What do you understand by constructer overloading? Explain with example. /*CBSE 1998*/ 10. What are the different types of inheritance (Multiple, Hierarchical, Multilevel)? Explain all with an example in C++ code. 11. What is containership? How does it differ from inheritance? 12. Differentiate between Private and Protected members of class in context of inheritance using C++. /* CBSE 2007, 2008 */ 13. Rewrite the following program after removing the syntactical errors (if any). Underline each correction. #include <iostream.h> /* CBSE 2010*/ class FLIGHT { long FlightCode; char Description[25]; public void AddInfo( ) { cin>>flightcode; gets(description); void ShowInfo { cout<< FlightCode<< : <<Description<<endl; void main( ) { FLIGHT F; AddInfo.F( ); ShowInfo.F( ); Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

2 14. Write the output of the following program. /*CBSE2014*/ #include<iostream.h> class Game { int level, score; char Type; Game(char GType='P') { level=1; score=0; Type=GType; void play(int GS); void change(); void show() { cout<<type<<"@"<<level<<endl; cout<<score<<endl; void main ( ) { Game A('G'), B; B.show(); A.play(11); A.change(); B.play(25); A.show(); B.show(); void Game::change() { Type=(Type=='P')?'G':'P'; void Game::play(int GS) { score+=gs; if (score>=30) level=3; else if (score>=20) level=2; else level=1; 15. Define a class BALANCED_MEAL in C++ with following description: Private Members: Access number Integer Name of Food String of 25 characters Calories Integer Food type String Cost Float AssignAccess( ) Generates random numbers between 0 to 99 and return it. Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

3 Public Members A function INTAKE( ) to allow the user to enter the values of Name of Food, Calories, Food type, cost and call function AssignAccess() to assign Access number. A function OUTPUT( ) to allow user to view the content of all the data members, if the Food type is fruit. 16. Define a class STOCK in C++ with following description: /*CBSE2010*/ Private members Icode of type integer (Item code) Iname of type string (Item Name) Price of type float (Price of each item) Qty of type integer (Quantity in stock) Discount of type float (Discount percentage on item) A member function FindDisc( ) to calculate discount as per the following rule: If Qty<= 50 Discount is 0% If 50<Qty<= 100 Discount is 5% If Qty>100 Discount is 10% Public members: A function Buy( ) to allow user to enter values for ICode, ItemName, Price, Qty and call function FindDisc( ) to calculate the discount. A function ShowAll( ) to allow user to view the content of all the data members. 17. Define a class PhoneBill in C++ with the following descriptions. Private members: CustomerName of type character array, PhoneNumber of type long, No_of_units of type int, Rent of type int, Amount of type float. Member function Calculate( ) should calculate the value of amount as Rent+ cost for the units. Where cost for the units can be calculated according to the following conditions. No_of_units Cost First 50 calls Free Next 100 calls unit Next 200 calls unit Remaining calls unit Public members: * A function accept( ) which allows user to enter CustomerName, PhoneNumber, No_of_units and Rent and should call function calculate( ). * A function Display( ) to display the values of all the data members on the screen. 18. Define a class Teacher with the following class specification. /*CBSE1999*/ Private members: Name 20 characters, Subject 10 characters, Basic, DA, HRA, Salary float Calculate( ) function computes the salary and returns it. Salary is sum of Basic, DA and HRA Public members: ReadData( ): Function accepts the data values and invoke the calculate function. DisplayData( ):Function prints the data on the screen. Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

4 19. Define a class named ADMISSION in C++ with the following descriptions: /* CBSE 2006 */ Private Members: AD_NO integer(ranges 10 to 2000) 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 2 students randomly from an array of 100 objects of type ADMISSION passes as an argument to the function and display the details. Use random function to generate admission nos. to match with AD_NO from the array. 20. Answer the questions (i) and (ii) after going through the following class: /*CBSE 2015*/ class Passenger { long PNR; char Name[20]; Passenger( ) { cout<< Ready <<endl; //Function1 void Book (long P, char N[ ]) // Function2 { PNR=P; strcpy(name,n); void Print ( ) // Function3 { cout<<pnr<<name<<endl; ~ Passenger( ) { cout<< Booking cancelled <<endl; // Function4 void main() { Passenger P; //Line1 //Line2 //Ends here (i) Fill in the blank statements in Line1 and Line2 to execute Function2 and Function3 respectively. (ii) Which function will be executed at //Ends here? What is this function referred as? 21. Answer the following questions (i) and (ii) after going through the following class. /*CBSE 2006*/ class Exam { int Year; Exam( ) //Constructor 1 { Year=2015; Exam(int y) //Constructor 2 {Year=y; Exam(Exam &t); //Constructor 3 (i) Create an object, such that it invokes Constructor 2. (ii) In Object Oriented Programming, what is Constructor 1 referred as and when does it get invoked/called? Write its calling statement. (iii) (iv) Write complete definition for constructor 3 and what is the purpose of using it? Which feature Object Oriented Programming is demonstrated using Constructor1, Constructor2, and Constructor 3 in the above class text? Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

5 22. Answer the questions (i) and (ii) after going through the following program: /*CBSE 2008*/ #include <iostream.h> #include<string.h> class bazaar { char Type[20], product [20]; int qty ; float price ; bazaar( ) //function 1 { strcpy (type, Electronic ) ; strcpy (product, calculator ); qty=10; price=225; public : void Disp( ) //function 2 { cout<< type << - <<product<< : << price << endl ; void main ( ) { Bazaar B ; //statement 1 B. disp( ) ; //statement 2 (i)will statement 1 initialize all the data members for object B with the values given in the function 1? (YES OR NO). Justify your answer suggesting the correction(s) to be made in the above code. (ii) What shall be the possible output when the program gets executed? (Assuming, if required _ the suggested correction(s) are made in the program). 23. Define a class Play in C++ with the following specifications: /*CBSE 2003*/ Private members of class Play Playcode, Noofscenes integer Playti tle 25 character Duration float Public member function of class Play A constructer function to initialize Duration as 45 and Noofscenes as 10. Newplay() function to take values for Playcode and Playtitle. Moreinfo() to assign the values of Duration and Noofscenes with the help of corresponding values passed as parameters to this function. Showplay() function to display all the datamembers on the screen. 24. Define a class Employee in C++ with the following specification: Private Members: ename an array of char of size[50] ( represent employee name) deptname an array of char of size[20] ( represent department name) salary integer ( represent total salary of an employee) bonus float CalBonus() This function calculate the total bonus given to an employee according to following conditions Deptname Bonus Accounts 4 % of salary HR 5% of salary IT 2% of salary Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

6 Sales 3% of salary Marketing 4% of salary Public Members: Constructor to initialise ename and deptname to NULL and salary and bonus to 0. A function read_info to allow user to enter values for ename, deptname,salary & Call function CalBonus() to calculate the bonus of an employee. A Function disp_info() to allow user to view the content of all the data members. 25. Answer the questions (i) to(iv) based on the following code : /* CBSE 2008 */ class Dolls { char Dcode[5]; protected: float Price; void CalcPrice(float); Dolls(); void DInput(); void DShow(); class SoftDolls: public Dolls { char SDName[20]; float Weight; SoftDolls(); void SDInput(); void SDShow(); class ElectronicDolls: public Dolls { char EDName[20]; char BatteryType[10]; int Batteries; ElecronicDolls(); void EDInput(); void EDShow(); (i)which type of Inheritance is shown in the above example? (ii)how many bytes will be required by an object of the class ElectronicDolls? iii)write name of all data members accessible from member function of the class SoftDolls. (iv)write name of member functions accessible an object of the class ElectronicDolls? 26. Answer the questions (i) to(iv) based on the following code: /* CBSE 2007 */ class Trainer { char TNo[5],Tname[20],specialization[10]; int Days; protected : float Remuneration; void AssignRem(float); Trainer(); Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

7 void TEntry(); void TDisplay(); class Learner { char Regno[10],LName[20],Program[10]; protected: int Attendance,grade; Learner(); void LEntry(); void LDisplay(); class Institute: public Learner, public Trainer { char ICode[10],IName[20]; Institute(); void IEntry(); void IDisplay(); (i)which type of inheritance is depicted by above example? (ii)identify the member function(s) that cannot be called directly from the objects of class Institute from the following TEntry(), LDisplay(), IEntry() (iii)write name of all member(s) accessible from member functions of class institute. (iv)if class institute was derived privately from class Learner and privately from class Trainer, then name the member function(s)that could be accessed through Objects of class Institute. 27. Answer the questions (i) to(iv) based on the following code: /* CBSE 2005 */ class Medicine { char Category[10], Company[20]; char Date_of_manufacture[10]; Medicine(); void entermedicinedetails(); void showmedicinedetails(); class Capsule: public Medicine { protected: char capsule_name[30]; char volume_lable[20]; float Price; capsules(); void entercapsuledetails(); void showcapsuledetails(); class Antibiotics: public Capsule { int Dosage_units; char side_effects[20]; int Use_within_days; Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

8 Antibiotics(); void enterdetails(); void showdetails(); (i)how many bytes will be required by an object of class Medicines and an object of class Antibiotics respectively? (ii)write the names of all the members accessible from the object of class Antibiotics. (iii)write the names of all the members accessible from member functions of class capsules. (iv) What is the order of constructor execution at the time of creating an object of class Antibiotics?. 28. Consider the following and answer the questions given below: /* CBSE 1999 */ class vehicle { int wheels; protected: int passenger; void inputdata(int,int); void outputdata(); class heavy_vehicle: protected vehicle { int diesel_petrol; protected: int load: void readdata(int,int); void writedata(); class bus: private heavy_vehicle { char make[20]; void fetchdata(char); void displaydata(); (i)name the base class and derived class of the class heavy_vehicle. (ii)name the data member(s) that can be accessed from function displaydata( ). (iii)name the data member(s) that can be accessed by an object of bus class. (iv)is the member function outputdata( ) accessible to the objects of heavy_vehicle class? 29. What do you mean by DBMS? Give two advantages of DBMS. 30. What is a Candidate Key, Primary Key and Alternate key? Give suitable example of each from a table containing some meaningful data. /* CBSE 2006, 2007, 2008 */ 31. What do you understand by the terms Degree & Cardinality of a relation in relational database? /* CBSE 2005 */ 32. Explain the concept of Cartesian product between two relations, with the help of appropriate example. /* CBSE 2001, 2014 */ 33. What is a relation? What is the difference between a tuple and an attribute? /* CBSE 1998 */ 34. What do you understand by selection and projection operations in relational algebra? /* CBSE 2011 */ 35. What are DDL and DML? Give two examples of each. /* CBSE 2002, 2006 */ 36. Give the difference between DROP and DELETE Command of SQL with an example. 37. What is the difference between char and varchar2 data types? 38. What do you mean by constraint? Give its examples. Write similarity and dissimilarity between primary key and unique constraints. 39. What are aggregate functions? Give its example & explain any of one with an example. Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

9 40. Consider the following tables Item and Customer. Write SQL commands for the statements (i) to (iv) and give output for SQL queries (v) to (viii). /* CBSE 2008 */ TABLE: ITEM I_ID ItemName Manufacturer Price PC01 Personal Computer ABC LC05 Laptop ABC PC03 Personal Computer XYZ PC06 Personal Computer COMP LC03 Laptop PQR TABLE : CUSTOMER C_ID CustomerName City I_ID 01 N Roy Delhi LC03 06 H Singh Mumbai PC03 12 R Pandey Delhi PC06 15 C Sharma Delhi LC03 16 K Agarwal Bangalore PC01 (i) To display the details of those Customers whose City is Delhi. (ii) To display the details of Items whose Price is in the range of to (Both values included). (iii) To display the CustomerName, City from table Customer and ItemName and Price from table Item, with their corresponding matching I_ID (iv) To increase the Price of all Items by 1000 in the table Item. (v) SELECT DISTINCT City FROM Customer; (vi) SELECT ItemName, MAX(Price), Count(*) FROM Item GROUP BY ItemName; (vii) SELECT CustomerName, Manufacturer FROM Item, Customer WHERE Item.I_Id=Customer.I_Id; (viii) SELECT ItemName, Price * 100 FROM Item WHERE Manufacturer='ABC'; 41. Write SQL commands (a) to (m) and outputs (n) to (s) on the basis of Teacher relation given below: No Name Age Department DateofJoin Salary Sex 1 Jugal 34 Computer 10-JAN M 2 Sharmila 31 History 24-MAR F 3 Sandeep 32 Maths 12-DEC M 4 Sangeeta 35 History 01-JUL F 5 Rakesh 42 Maths 05-SEP M 6 Shyam 50 History 27-JUN M 7 Manoj 44 Computer 25-FEB M 8 Rina 33 Maths 31-JUL F a) To show all information about the teachers of History department. b) To increment the salary by 20% of those teachers who is getting salary more than Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

10 c) To display teacher name, age, department for male teachers from Teachers table. d) To list name of female teachers who are in History department. e) To list name and department of those teachers in which date of joining is before 24-MAR-98 from teacher table in descending order of their name. f) To insert a new row in teacher table with following data: 9, Rahul, 27, Computer, 10-SEP-98, 22500, M. g) To list name of all teachers with their join date in descending order. h) To show the name of those teachers who have first alphabet as S and third alphabet as n from teacher table. i) To display the second largest salary from teacher table. j) To count the numbers of those teachers who join before 12-JUL-97. k) To decrease the salary of all teachers of Maths department by 500. l) To find the total salary of those teachers who are working in Maths department. m) To delete the records of those teachers whose age is greater than equal to 40. n) select sum (Salary) from teacher where Department= History ; o) select count (distinct Department) from Teachers; p) select avg (Salary) from Teacher where DateofJoin > 31-JUL-97 ; q) select max (Age) from Teacher where Sex= F ; r) select count (*) from Teachers where DateofJoin < 12-JUL-97 ; s) select name, age, department from teacher where Sex= M ; 42. Consider the following tables FACULTY and COURSES. Write SQL commands for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii) FACULTY F_ID Fname Lname Hire_date Salary 102 Amit Mishra Nitin Vyas Rakshit Soni Rashmi Malhotra Sulekha Srivastava Niranjan Kumar COURSES C_ID F_ID Cname Fees C Grid Computing C System Design C Computer Security 8000 C Human Biology C Visual Basic 6000 C Dreamweaver 4000 (i) To display details of those Faculties whose date of joining is before (ii) To display the details of courses whose fees is in the range of to (both values included). (iii) To increase the fees of Dreamweaver course by 500. (iv) To display F_ID, Fname of those faculties who charged more than15000 as fees. (v) (vi) Select COUNT(DISTINCT F_ID) from COURSES; Select MIN(Salary) from FACULTY,COURSES where COURSES.F_ID = FACULTY.F_ID; (vii) Select SUM(Fees) from courses Group By F_ID having count(*) > 1; (viii) Select Fname, Lname from FACULTY Where Lname like M% ; Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

11 43. Consider following tables STOCK and DEALERS and write SQL commands for the questions (i) to (iv) and give outputs for SQL queries (v) to (viii). /* CBSE 2010 */ Tables: STOCK ItemNo Item Dcode Qty UnitPrice StockDate 5005 Ball Pen Mar Ball Pen Jan Gel Pen Premium Feb Gel Pen Classic Jan Eraser Small Mar Eraser Big Dec Sharpener Classic Jan-09 Tables: DEALERS Dcode Dname 101 Reliable Stationers 103 Classis Plastic 102 Clear Deals i) To display details of all items in the STOCK table in ascending order of StockDate. ii). To display Item No and Item name of those items from STOCK table whose UnitPrice is more than Rupees 10. iii). To display details of those items whose dealer code is 102 or quantity in stock is more than 100 from STOCK table. iv) To display maximum UnitPrice of items for each dealer individually as per Dcode from STOCK table. v) select count(distint dcode) from stock; vi) select Qty*UnitPrice from stock where itemno=5006; vii) select item, dname from stock S, dealer D where S.dcode=D.dcode and itemno=5004; viii) select min(stockdate) from stock; 44. State and verify following Boolean laws. (a). State and verify Associative Law? /* CBSE 2006, 2005 */ (b). State and verify De Morgan s theorem. /* CBSE 2006 Comp., 2007 */ (c). State and verify Distributive Law. /* CBSE 2006 */ (d) State and verify Absorption law in Boolean- Algebra algebraically. /*CBSE 2008, 2004, 2009*/ (e). State and verify third distributive Law. 45. Verify the following algebraically: /* CBSE 2010 */ X.Y + X.Y = (X +Y )(X+Y) 46. Name the law shown below and verify the following using a truth table: /* CBSE 2014 */ X + X. Y = X+Y 47. Draw a Logical Circuit Diagram for the following Boolean Expression: /* CBSE 2008 */ A. (B + C') 48. Draw the circuit diagram for the following Boolean expression : (A+B)(A +B)(A+B ) 49. Convert the following Boolean expression, into its equivalent Canonical Product of Sum Form(POS) : A. B'.C + A'. B. C + A'. B. C' /* CBSE 2008 */ 50. Convert the following Boolean expression into its equivalent Canonical Sum of Product Form(SOP): (X +Y+Z ).(X +Y+Z).(X +Y +Z).(X +Y +Z ). 51. Write the equivalent Canonical Product of Sum Expression for the following Sum of Product Expression F(X, Y, Z) = (0, 2, 4, 5) /* CBSE 2007 */ Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

12 52. Write the equivalent expression for the following logical circuit: /* CBSE 2006 */ 53. Reduce the following Boolean expression using K-Map: /* CBSE 2006 Comp. */ F(P,Q,R,S)= (l,3,5,8,11,12,15 ) 54. Reduce the following Boolean expression using K-Map: /* CBSE 2006 */ F(P, Q, R, S) = π (0,3,5,6,7, 11, 12, 15) 55. Reduce the following Boolean expression using K - Map: /* CBSE 2009 */ H(U,V,W,Z) = Σ(0,1,4,5,6,7,11,12,13,14,15) 56. Reduce the following Boolean expression using K-Map: /* CBSE 2007 */ F(A, B, C, D) = π (5,6,7,8,9,12,13,14,15) 57. 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) /* CBSE 2004 */ 58. Reduce the following Boolean expression using K - Map: /* CBSE 2013 */ F(U,V,W,Z) = Σ(0,1,2,3,6,7,8,9,10,13,15) 59. Write the SOP form of a Boolean function G, which is represented in a truth table as follows: /* CBSE 2010 */ P Q R G Write the POS form of a Boolean function F, which is represented in a truth table as follows: /* CBSE 2009*/ U V W F Mohd. Hashim, PGT (Computer Sc.), hashim_mbd@yahoo.co.in,

KENDRIYA VIDYALAYA TIRUMALAGIRI,SECUNDERABAD UNIT TEST II

KENDRIYA VIDYALAYA TIRUMALAGIRI,SECUNDERABAD UNIT TEST II KENDRIYA VIDYALAYA TIRUMALAGIRI,SECUNDERABAD UNIT TEST II SUB : COMPUTER SCIENCE CLASS : XII TIME : 90 MINS M.M: 40 1.a. Differentiate between default & parameterized constructor with suitable example.

More information

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

Sample Paper COMPUTER SCIENCE (Theory) Class-XII Time Allowed: 3hours Maximum Marks: 70 Sample Paper- 2015 COMPUTER SCIENCE (Theory) Class-XII Time Allowed: 3hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C+ + Ques. 1 a) What is the use of inline

More information

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

vinodsrivastava.com Consider the following c++ code and answer the questions from (i) to (iv): class Personal protected: public: vinodsrivastava.com Consider the following c++ code and answer the questions from (i) to (iv): class Personal int Class,Rno; char Section; char Name[20]; personal(); void pentry(); void Pdisplay(); class

More information

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

SAMPLE PAPER. Class: XII SUBJECT COMPUTER SCIENCE. Time: 3 Hours MM: 70 SAMPLE PAPER Class - XII SUBJECT COMPUTER SCIENCE Subject: Computer Sc. Class: XII Time: 3 Hours MM: 70 1. (a) Differentiate between a global variable and a local variable. (b) Name the Header file(s)

More information

Downloaded from

Downloaded from Unit-III DATABASES MANAGEMENT SYSTEM AND SQL DBMS & Structured Query Language Chapter: 07 Basic Database concepts Data : Raw facts and figures which are useful to an organization. We cannot take decisions

More information

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION 2017 2018 Class: XII Subject : Computer Science Assignment No. 3 1. a) What is this pointer? Explain with example. b) Name the header file

More information

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083) KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PREBOARD EXAMINATION 05-06 COMPUTER SCIENCE (08) Time: hours Max. Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming

More information

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

Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to (v) Q1. (SQL) Consider the following table HOSPITAL. Write SQL commands for the statements (i) to Table : HOSPITAL No Name Age Department Date of adm Charges Sex 1 Arpit 62 Surgery 21.01.98 300 M 2 Zarina

More information

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

(a) Differentiate between a call by value and call by reference method. ATOMIC ENERGY CENTRAL SCHOOL NO- RAWATBHATA Half Yearly Examination 05 Model Paper Class XII Subject Computer Science Time Allowed: hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii)

More information

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

Autumn Break 2017 Exam Oriented Assignment Class-XII B, Computer Science Autumn Break 2017 Exam Oriented Assignment Class-XII B, Computer Science S.No. 1 Name of Chapter/Topic CLASSES AND OBJECTS HOT Questions 1. What do you understand by member function? 2. Differentiate between

More information

Informatics Practices, Class XII ( ) (Summer Vacation-2015) (Holiday H.W) Java Concepts & Programming, MySQL

Informatics Practices, Class XII ( ) (Summer Vacation-2015) (Holiday H.W) Java Concepts & Programming, MySQL (Summer Vacation-2015) (Holiday H.W) Java Concepts & Programming, MySQL 1. How is ordinary compilation process different from Java compilation? 2. Differentiate between a component and a container. 3.

More information

COMPUTER SCIENCE 1998 (Delhi Board)

COMPUTER SCIENCE 1998 (Delhi Board) 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)

More information

(Structured Query Language)

(Structured Query Language) KENDRIYA VIDYALAYA HALDWANI 2 ND SHIFT CLASS XII SESSION 2016-17 DATABASE CONCEPTS, SQL ISSUED DATE: 12.05.2016 SUBMITTED DATE: 24.06.2016 ==============================================================================

More information

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Time allowed: 3 hr. MM: 70

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Time allowed: 3 hr. MM: 70 SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Time allowed: 3 hr. MM: 70 1. (a) While implementing encapsulation, abstraction is also implemented. Comment 2 (b) Name the header file to which the following

More information

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

COMPUTER SCIENCE Time allowed : 3hours] [Maximum Marks :70 COMPUTER SCIENCE-2010 Time allowed : 3hours] [Maximum Marks :70 Instructions (i) (ii) All questions are compulsory Programming Language : C++ 1. (a) What is the difference between automatic type conversion

More information

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

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION FOR CLASS XII SUBJECT: COMPUTER SCIENCE KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION 2014-15 FOR CLASS XII SUBJECT: COMPUTER SCIENCE SET-I F.M. 70 General Instructions: Programming Language C++ All Questions are

More information

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

(d) Observe the following C++ code very carefully and rewrite it after removing any/all syntactical errors: [2] Include < iostream. DELHI PUBLIC SCHOOL, RANCHI Pre Board-II Examination 2018 Computer Science (083) Time: 3 Hours Class: XII Maximum Marks: 70 General Instructions: There are 08 Number of Questions, all in total. All Questions

More information

Session Chapter 4: Classess & Object

Session Chapter 4: Classess & Object Session 2017-18 Chapter 4: Classess & Object How does a class enforce data-hiding, abstraction, and encapsulation? What is the significance of access specifiers in a class? How are class and object different

More information

Q2) Define a class candidate in C++ with following Description: Private Members 4 Number) of type long

Q2) Define a class candidate in C++ with following Description: Private Members 4 Number) of type long KVITBP DEHRADUN SUMMER BREAK HOMEWORK, XII COMP SC, LEVEL A Q1) Define a class TEST in C++ with following description: Private Members: TestCode of type integer Description of type string NoCandidate of

More information

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 =

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 = HOLIDAY HOMEWORK ASSIGNMENT-5 Q1. What will be the output of the following program segment Class Num { int x; float y; void init( ) { x = y = 0; void read(int i, float j) { x = i; y = j; void Display (

More information

Constructor & Classes Questions

Constructor & Classes Questions (1)Answer the questions (i) and (ii) after going through the following program: class Match int Time; Match() //Function 1 Time=0; cout

More information

Computer Science 2006 (Outside Delhi)

Computer Science 2006 (Outside Delhi) 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( )

More information

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

void Add() { cin >> trainnumber; gets(trainname); } void display() { cout<<trainnumber <<:<<TrainName<<end; . T SHREE MAHAPRABHU PUBLIC SCHOOL & COLLEGE QUESTION BANK FOR BOARD EXAMINATION 016-17 SUBJECT COMPUTER SCIENCE (Code: 083) Q1. Answer the following questions: a) Name the header file(s) that shall be

More information

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

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70 Mock Test Paper-2 CBSE XII : Computer Science Mock Test Paper-2 1 Duration : 3hrs Max Marks : 70 1. (a) What is the difference between Object Oriented Programming and Procedural programming? 2 (b) Write

More information

INTERNATIONAL INDIAN SCHOOL, RIYADH. Ch 1 C++ Revision tour

INTERNATIONAL INDIAN SCHOOL, RIYADH. Ch 1 C++ Revision tour Grade- XII Computer Science Worksheet Ch 1 C++ Revision tour 1) Explain in brief the purpose of function prototype with the help of a suitable example. 2) What is the benefit of using default parameter/argument

More information

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

COMPUTER SCIENCE. Time allowed : 3 hours Maximum Marks : 70 Series OSR Code No. 91 Roll No. Candidates must write the Code on the title page of the answer-book. Please check that this question paper contains 16 printed pages. Code number given on the right hand

More information

Q2 Based on Class Concept and features Total Marks 10. Q2(A) Theory Based on Class Concept Marks :2

Q2 Based on Class Concept and features Total Marks 10. Q2(A) Theory Based on Class Concept Marks :2 Q2 Based on Class Concept and features Total Marks 10 Q2(A) Theory Based on Class Concept Marks :2 1. Differentiate between members, which are present within the private visibility mode with those which

More information

2016 COMPUTER SCIENCE

2016 COMPUTER SCIENCE Total number of printed pages: 5 Total marks : 70 2016 COMPUTER SCIENCE Time : 3 hours General instructions: i) Approximately 15 minutes is allotted to read the question paper and revise the answers. ii)

More information

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

CLASS XII COMPUTER SCIENCE(083) TimeAllowed : 3 HrsMax Marks : 70 1 CLASS XII COMPUTER SCIENCE(083) TimeAllowed : 3 HrsMax Marks : 70 General Instructions- (i) All questions are compulsory (ii) Programming Language: C++ 1. (a) Differentiate between call-by-value and

More information

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

KENDRIYA VIDYALAYA NO.02 AFS HINDAN G.BAD Holiday Homework Class XII Computer Science KENDRIYA VIDYALAYA NO.02 AFS HINDAN G.BAD Holiday Homework 2018-19 Class XII Computer Science Topics covered 1) Classes and objects 2) Constructors and destructors 3) Inheritance 4) Review of class XI

More information

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

Mock Test Paper-3. Computer Science. Duration : 3hrs Max Marks : 70 Mock Test Paper-3 Computer Science Mock Test Paper-3 11 Duration : 3hrs Max Marks : 70 1. (a) How does a class inforce data hiding? 2 (b) Name the header files to which the following belong- 1 (c) Rewrite

More information

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.

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. Series SHC/1 Roll No. jksy ua- Code No. dksm ua- Candidates must write the Code on the title page of the answer-book. Please check that this question paper contains 12 printed pages. Code number given

More information

Computer Science 2006 (Delhi)

Computer Science 2006 (Delhi) 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

More information

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science HOLIDAYS HOMEWORK 2017-18 CLASS : XII Subject : Computer Science Note : Attempt the following questions in a separate register and make yourself prepared to conquer the world. Chapter- 1 : C++ Revision

More information

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

CBSE Sample Paper 2015 Computer Science C++ Class XII Time 3hrs M.M 70 CBSE Sample Paper 2015 Computer Science C++ Class XII Time 3hrs M.M 70 Q1. A) Write short notes on typedef and #define. 2 Q1B) Give the Header files to run the following code. 1 void main() cout

More information

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:

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: SECOND PREBOARD EXAMINATION (2017 18) CLASS: XII Subject: COMPUTER SCIENCE Date: 24.1.2018 Time Allowed: 3 Hours Maximum Marks: 70 General instructions: (1) All questions are compulsory. (2) Marks are

More information

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

Code No. 083 Time allowed: 3 hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming language: C++ Sample Paper Class XII Subject Computer Science Please check that this question paper contains 7 printed pages. Code number given on the right hand side of the question paper should be written on the title

More information

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION Q.1. (i) Name the header file to which the following belong: (a) gets( ) (b) open( ) (ii) (iv) (v) What is copy constructor? What do you understand

More information

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 Time allowed : 3 hours Maximum Marks : 70 KE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO 2008-09. COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70 1. (a) Explain the difference between an actual parameter

More information

SAMPLE PAPER 2015 SUB - COMPUTER SCIENCE - (Theory) CLASS XII 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 215 SUB - COMPUTER SCIENCE - (Theory) CLASS XII Time allowed: 3 hours Maximum marks: 7 Instructions : i) All the questions are compulsory. ii) Programming Language (for Q. 1-4): C++ iii) Write

More information

If the function modify( ) is supposed to change the mark of a student having student_no y in the file student.dat, write the missing statements to modify the student record. 10. Observe the program segment

More information

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

Q5 Question Based on SQL & Database Concept Total Marks 8. Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks Q5 Question Based on SQL & Database Concept Total Marks 8 Theory Question 2 Marks / SQL Commands 6 Marks / Output of commands 2 Marks Q1 Define the Following with example i) Primary Key ii) Foreign Key

More information

Question Bank Class XII Subject : Computer Science

Question Bank Class XII Subject : Computer Science Question Bank Class XII Subject : Computer Science Q1. What is the difference between call by reference & call by value method in a user defined function in C++? Explain it with suitable example. Q.2.Write

More information

CHAPTER 9 INHERITANCE. 9.1 Introduction

CHAPTER 9 INHERITANCE. 9.1 Introduction CHAPTER 9 INHERITANCE 9.1 Introduction Inheritance is the most powerful feature of an object oriented programming language. It is a process of creating new classes called derived classes, from the existing

More information

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION REVISION Examination 01 COMPUTER SCIENCE (08) CLASS XII Time Allowed: Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming

More information

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

Sample Paper 2013 SUB: COMPUTER SCIENCE GRADE XII TIME: 3 Hrs Marks: 70 Sample Paper 2013 SUB: COMPUTER SCIENCE GRADE XII TIME: 3 Hrs Marks: 70 INSTRUCTIONS: All the questions are compulsory. i. Presentation of answers should be neat and to the point. iii. Write down the serial

More information

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

Guru Harkrishan Public School, Karol Bagh Pre Mock Class XII Sub: COMPUTER SCIENCE Allowed :3 hrs Guru Harkrishan Public School, Karol Bagh Pre Mock 2014-15 Class XII Sub: COMPUTER SCIENCE Time Allowed :3 hrs M.M. 70 Please check that this question paper contains 9 printed pages. Please check that

More information

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

Series SHC COMPUTER SCIENCE. Code No. 91. Roll No. Roll No. Series SHC Code No. Please check that this question paper contains 11 printed pages. Code number given on the right hand side of the question paper should be written on the title page of the answer-book

More information

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

PRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION ( ) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS PRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION (2018-19) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS MAXIMUM MARKS: 70 General Instructions 1. This question paper contains 7 questions. 2. SECTION

More information

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION CLASS:XII - (COMPUTER SCIENCE ) KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION 2014-15 CLASS:XII - (COMPUTER SCIENCE ) MaxMarks:70 Time Allowed :3 Hours Instructions: (i) All questions are compulsory.

More information

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

(d) Rewrite the following program after removing all the syntax error(s), if any. [2] include <iostream.h> void main ( ) Sample Paper 2012 Class XII Subject Computer Science Time: 3 Hrs. M.M. 70 General instructions: 1) All questions are compulsory. 2) Read all the questions carefully. 3) Programming language C++. Q.1(a)

More information

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : I SE / 2016-2017 CODE : N 065 MAX. MARKS : 70 TIME ALLOWED : 3 HOURS NO. OF PAGES : 6 INFORMATICS PRACTICES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More information

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

KENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination ( ) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme KENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination (2014-15) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme Ques. 1 a) [1] Automatic Type Conversion Type casting It is also

More information

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS Q1. Write the SQL commands on the basis of the given table: Table: HOSPITAL NO NAME AGE DEPARTMENT DATEOFADMIN CHARGES GENDER

More information

SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70

SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70 SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70 Note : 1-This question paper is divided into three sections. 2- Section-A and Section-B are

More information

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

(i) case (ii) _delete (iii) WHILE (iv) 21stName KENDRIYA VIDAYALAYA SANGATHAN ERNAKULAM REGION PREBOARD EXAMINATION 208-9 CLASS :XII MAX. MARKS : 70 SUBJECT : COMPUTER SCIENCE Instructions: TIME :3 HRS (i) Please check that this question paper contains

More information

Holiday Homework AUTUMN BREAK : to CLASS XII

Holiday Homework AUTUMN BREAK : to CLASS XII Holiday Homework AUTUMN BREAK : 13-10-2018 to 22-10-2018 MATHEMATICS CLASS XII 1 SOLVE HALF YEARLY PAPER 2018-2019 2 SOLVE 2 LATEST CBSE SAMPLE PAPER 3 DO THE EXAMPLE OF CHAPTER 3D &PROBABLITY Autumn break

More information

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 6 COMPUTER SCIENCE Half Yearly Time: Hrs M.M:70 1. a. Explain the difference between entry controlled loop and exit controlled loop with the help of an example. b.

More information

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION FIRST PRE-BOARD EXAMINATION 016-17 CLASS XII COMPUTER SCIENCE (083) Time: 3 hours Max. Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming

More information

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

SAMPLE QUESTION PAPER CLASS-XII, SESSION: SUBJECT: COMPUTER SCIENCE SAMPLE QUESTION PAPER CLASS-XII, SESSION: 07-8 SUBJECT: COMPUTER SCIENCE Time: hrs Max. Marks: 70 General Instructions: i. All questions are compulsory. ii. Programming language: C++ iii. Database query

More information

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

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE. Sample paper-i. Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.: SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Sample paper-i Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.: General Instruction 1. Please check that this question paper contains 7 questions. 2.

More information

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065)

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065) KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065) Time Allowed: 3 Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming Language: Java, SQL

More information

1. Answer the following questions: a. Explain Real Time OS.

1. Answer the following questions: a. Explain Real Time OS. SECOND TERMINAL EXAMINATION, 2014 INFORMATICS PRACTICES Time : 3 hrs. Class XI M.M. : 70 Date 26.02.2014 Important instructions: This question paper contains 7 questions. All the questions are compulsory.

More information

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

Sample Paper, Subject: Computer Science Class 12 th Time Allowed : 3 Hr. M.M.: 70 Sample Paper, 2012-13 Subject: Computer Science Class 12 th Time Allowed : 3 Hr. M.M.: 70 General Instruction 1. Please check this question paper contains 10 printed pages. 2. Code number given on the

More information

vinodsrivastava.com Constructor and Destructor

vinodsrivastava.com Constructor and Destructor vinodsrivastava.com Constructor and Destructor Constructor : it is a special member function of class with the following unique features 1. It has the same name as the name of the class they belongs to

More information

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

ISC 2009 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part ISC 2009 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part Question 1. a) Obtain the truth table to verify the following expression: X(Y+Z) = XY + XZ. Also name the law stated above.

More information

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

AISSCE COMMON MODEL EXAMINATION Subject Computer Science [083] Time Allotted: 3 Hours Maximum Marks: 70 AISSCE COMMON MODEL EXAMINATION 2011-12 Subject Computer Science [083] Time Allotted: 3 Hours Maximum Marks: 70 General Instructions: General Instructions: Please check that this question paper contains

More information

SECOND TERMINAL EXAMINATION, 2017 INFORMATICS PRACTICES

SECOND TERMINAL EXAMINATION, 2017 INFORMATICS PRACTICES SECOND TERINAL EXAINATION, 2017 INFORATICS PRACTICES Time : 3 hrs. Class XI.. : 70 Date - 25.02.2017 (Saturday) Name of the student Section Important instructions: All questions are compulsory. Answer

More information

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM - 2013 KENDRIYA VIDYALAYA ONGC, PANVEL SESSION ENDING EXAMINATION 2012 SEE Set-2-2013 CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs.

More information

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION COMPUTER SCIENCE KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION 2014-15 COMPUTER SCIENCE Time allowed: 3 hours Maximum Marks : 70 Instructions: (i) All questions are compulsory. (ii) Programming

More information

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

CBSE GUESS PAPER. Roll No. Computer Sc. XII(083)/ Roll No. CBSE GUESS PAPER Computer Sc. XII(083)/2011-12 Time Allowed 3 Hours Maximum Marks- 70 General Instructions: (i) All questions are compulsory. (ii) The paper contains 7 questions. (iii) Programming

More information

PRE BOARD EXAM Sub:Informatics Practices (065) Class:XII

PRE BOARD EXAM Sub:Informatics Practices (065) Class:XII Max Marks:-70 PRE BOARD EXAM 2010-11 Sub:Informatics Practices (065) Class:XII Time :3 Hrs. 1. (a) Two doctors in the same room have connected their Palm Tops using Bluetooth for working on a Group presentation.

More information

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

DELHI PUBLIC SCHOOL BOKARO STEEL CITY DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION 2015-2016 Class: XII Subject : Computer Science Assignment No. 3 Question 1: (a) What is the difference between Call by Value and Call by

More information

Computer Science 330 Assignment

Computer Science 330 Assignment Computer Science 330 Assignment Note: All questions are compulsory. The marks for each question are given at the same place. Max. Marks: 20 (ii) Write your name, enrolment number, AI name and subject etc.

More information

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

THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION 2015 COMPUTER SCIENCE ( Code : 083) CLASS : XII MAX MARKS: 70 THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION 2015 COMPUTER SCIENCE ( Code : 083) CLASS : XII MAX MARKS: 70 DATE :25/03/2015 TIME: 3Hrs Instructions: (i) All questions are compulsory. (ii)

More information

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

SAMPLE QUESTION PAPER Subject: Computer Science Class: XII ( ) Time: Hrs. Instructions: Q. No. (a) All questions are compulsory, (b) Answer either Section A or Section B: SAMPLE QUESTION PAPER Subject: Computer Science Class: XII (07-8) (i) Section A - Programming

More information

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

CLASS XII GUESS PAPER COMPUTER SCENCE (083) CLASS XII GUESS PAPER COMPUTER SCENCE (083) TIME: 3 hours MARKS: 70 Q1. Please check that this question paper contains 11 printed pages. Code-snippets in questions may be printed wrong rectify the errors

More information

INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION

INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION Roll Number SET 1 INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION COMPUTER SCIENCE CLASS: XII Sub. Code: 08 Time Allotted: Hr 09.05.018 Max. Marks: 70 GENERAL INSTRUCTIONS: 1. All questions are compulsory..

More information

COMPUTER SCIENCE

COMPUTER SCIENCE Final 2012-13 COMPUTER SCIENCE - 083 (Theory) CLASS XII Time allowed : 3 hours Maximum marks: 70 Instructions : i) All the questions are compulsory. ii) Programming Language : C++. 1. a) What is the difference

More information

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : II MID TERM /FN/ 18-19 CODE : M 065 TIME ALLOWED : 2 HOURS NAME OF STUDENT : MAX. MARKS : 50 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES : 3 INFORMATICS PRACTICES

More information

Sample Paper 2015 Class XII Subject INFORMATICS PRACTICES

Sample Paper 2015 Class XII Subject INFORMATICS PRACTICES Sample Paper 205 Class XII Subject INFORMATICS PRACTICES Q. Answer the following questions: a) Mr. Abhinav wants to implements a network using less cable length and data should be transmitted in one direction

More information

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

BHARATIYA VIDYA BHAVAN S V.M.PUBLIC SCHOOL, VADODARA. Class : XII SAMPLE PAPER Max Marks : 70 BHARATIYA VIDYA BHAVAN S V.M.PUBLIC SCHOOL, VADODARA Class : XII SAMPLE PAPER Max Marks : 70 Subject : Computer Science Time Allotted : 3 hrs General Instructions : Programming Language : C++. All questions

More information

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII TIME: 3 HOURS MAX.MARK: 70 General Instructions- (i) All questions are compulsory (ii) Programming Language: C++ 1 (a) When a function is overloaded,

More information

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015 KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015 CLASS: XII COMPUTER SCIENCE TIME: 1½ hrs TOTAL MARKS: 35 1. How can we make private members inheritable? (1) 2. Find out errors in the following program:-

More information

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER 8 CLASS XII COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER 8 CLASS XII COMPUTER SCIENCE (083) KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER 8 CLASS XII COMPUTER SCIENCE (083) Time: 3 hours Max. Marks: 70 BLUE PRINT OF QUESTION PAPER S.No. UNIT VSA SA I SA-II LA Total (1 Mark) ( Marks) (3 Marks)

More information

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

ISC 2007 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part ISC 2007 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part Question 1. a) Simplify the following Boolean expression using laws of Boolean Algebra. At each step state clearly the

More information

BLUE PRIENT SUBJECT:- Computer Science

BLUE PRIENT SUBJECT:- Computer Science Marking Scheme Ques. 1 BLUE PRIENT SUBJECT:- Computer Science UNIT/TOPIC 1Mks 2Mks 3Mks 4Mks TOTAL 1) Programming in C++ 1(4) 2(6) 3(2) 4(2) 30 2) Data Structure ----- 2(2) 3(2) 4(1) 14 3) Database and

More information

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION CLASS:XII SUB:COMPUTER SCIENCE Code No. 083 Instructions: (i) All questions are compulsory. (ii) Programming language: C++

More information

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

SPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session SPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session 2008-09 Sr.No. Duration Number of Working Days From To Topic to be Covered Nos. of Periods required CAL/TAL

More information

CBSE 12th Computer Science Question Papers

CBSE 12th Computer Science Question Papers CBSE 12th Computer Science Question Papers General Instructions: a) This paper consist question from 1 to 7. b) Marks are mentioned to each questions for your convenience. c) The given paper is of total

More information

Sample Question Paper Set II Computer Science (083) Class- XII ( ) Time: 3hrs M.M: 70.

Sample Question Paper Set II Computer Science (083) Class- XII ( ) Time: 3hrs M.M: 70. Sample Question Paper Set II Computer Science (083) Class- XII (2015-16) Time: 3hrs M.M: 70 Instructions: i. All Questions are Compulsory. ii. Programming Language: Section A : C++ iii. iv. Programming

More information

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

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK CLASS-XII INFORMATICS PRACTICES KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK 18-19 CLASS-XII INFORMATICS PRACTICES 1. Arrange the following data types in increasing order of their size : byte, int, float, double, char, boolean.

More information

ISC 2008 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part Question 1. a) State the two complement properties of Boolean Algebra. Verify any one of them using the truth table. b)

More information

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010 Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of MCA III SEM Session -2010 MCA-301 - Object Oriented Programming in C++ 1. WAP to generate Fibonacci

More information

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE SET Subject Code: 08 COMMON PRE-BOARD EXAMINATION 07-08 COMPUTER SCIENCE CLASS XII Time Allowed: hours Maximum Marks: 70 General Instructions: Please check that this question paper contains 9 printed pages.

More information

KENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION 1 st Pre-Board Examination, Class XII Computer Science(083) Time: 3 Hours Max.

KENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION 1 st Pre-Board Examination, Class XII Computer Science(083) Time: 3 Hours Max. KENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION st Pre-Board Examination, 05-6 Class XII Computer Science(08) Time: Hours Max. Marks: 70 (Marking Scheme) Q.No Answer Marks ) a. Post increment operator is

More information

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

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 I Mid Semester May 01 : Class XII : Computer Science Max Mark 50 : Time Hrs 1. a) What is macro in C++? Give example b) Give the Header file for the following functions:- i) gets ( ) ii) tolower( ) 1 c)

More information

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

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++ No. of Printed Pages : 3 I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination 05723. June, 2015 BCS-031 : PROGRAMMING IN C ++ Time : 3 hours Maximum Marks : 100 (Weightage 75%)

More information

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

Code No. 91. (i) All questions are compuls9ry. 1. (a) What is the difference between Type Casting and Automatic Type r--- - -"" -.!':,c', I Series 50S I Code No. 91. I I I I I I I I Candidates must write the Code on Roll No. I I I I I I I I the title page of the answer-book.. Please check that this question paper contains

More information

KendriyaVidyalayaSangathan Kolkata Region

KendriyaVidyalayaSangathan Kolkata Region KendriyaVidyalayaSangathan Kolkata Region Third Pre-Board Examination : 204-5 Please check that this question paper contains 7 questions. Please write down the Serial Number of the question before attempting

More information