KENDRIYA VIDYALAYA NO-1 ARMAPUR
|
|
- Arleen Hill
- 5 years ago
- Views:
Transcription
1 HOME ASSIGNMENT FOR SUMMER VACATION DAYS LESSONS MLL (MINIMUM LEVEL LEARNING) HOT(HIGH ORDER THINKING) Differentiate between call by value & call by reference with suitable examples in reference to function. 2.Write the header files to which the following functions belong: (i) getc ( ) (ii) isalnum ( ) (iii) scanf ( ) (iv) getxy ( ) 1. Observe the following program carefully & choose the correct possible output from the options (i) to (iv) justifying your answer. #include<iostream.h> #include<conio.h> #include<stdlib.h> void main( ) clrscr( ); randomize( ); int RN; RN=random(4)+5; for(int i=1;i<=rn;i++) cout<<i<<' '; getch(); i) ii) iii) iv) What is the purpose of using a typedef command in C++. Explain with suitable example 1. #include <iostream.h> void Secret(char Str[ ]) for (int L=0;Str[L]!='\0';L++); for (int C=0;C<L/2;C++) if (Str[C]=='A' Str[C]=='E') Str[C]='#'; else char Temp=Str[C]; Str[C]=Str[L-C-1]; Str[L-C-1]=Temp; void main() char Message[ ]="ArabSagar"; Secret(Message); cout<<message<<endl; 2. Define the term data hiding in the conrexr of object oricured programming. Give a suitable example using a C++ code to illustrate the same. 1. In the following program, if the value of Guess entered by the 65, what will be the expected output from the following optlons (iii) & (iv)? #includeciostream.h> #includecstdlib.h> void main 0 int Guess; 1. What do you mean by static variable? Explain with help of example. 2. How member functions and non member functions differ? 1. What is the difference between #define & const? Explain through example. 2. Name the header files that shall be required for successful compilation of the following C++ program : main( ) char str[20]; cout<<fabs( ); cout<< \n Enter a string : ; cin.getline(str,20); return 0; 1. While implementing encapsulation, abstraction is also implemented. Comment. 2. Study the following program and select the possible output from it: #include<iostream.h> #include<stdlib.h> const int Max=3; void main( ) randomize(); int Number; Number=50+random(Max); for(int P=Number; P >=50;P- -) cout<<p<< # ; cout<<endl; (i) 53#52#51#50# (ii) 50#51#52# (iii) 50#51# (iv) 51#50# 1. What will be the output of the following program: #include <iostream.h> void Secret(char Str[ ]) for (int L=0;Str[L]!='\0';L++); for (int C=0;C<L/2;C++) if (Str[C]=='A' Str[C]=='E') Str[C]=Str[L-C-1]; Happy Vacations!!! GOD Bless!!!
2 5 sundomize 0; (cin>>guess; for (int i = 1; i<=4; l++) New = Guess + random (i); cout<<(char) New; ) (i) ABBC (ii) ACBA (iii) BCDA (iv) CABD 2. Give the output of the following program: #include <iostream.h> struct Pixel int C, R; void Display (Pixel P) cout << Col << P.C << Row << P.R << endl; void main ( ) Pixel X=40, 50, Y, Z; Z = X; X. C += 10 ; Y = Z ; Y. C += 10 ; Y. R += 20 ; Z. C -= 15 ; Display ( X ) ; Display ( Y ) ; Display ( Z ) ; 1. Differentiate between a global variable and a local variable. Also give suitable example in C++. else char Temp=Str[C]; Str[C]=Str[L-C-1]; Str[L-C-1]=Temp; void main() char Message[ ]="PreboardExam"; Secret(Message); cout<<message<<endl; 2. Find the output of the following program: # include <iostream.h> # include <conio.h> # include <stdlib.h> void main () char serial[] = 'A', 'B', 'C', 'D' int number[] = 2, 6, 7, 3 clrscr(); randomize(); cout << " The winner is : "; cout << serial [random(3)]; for (int i = 0; i < 4; i++) cout << number[sizeof(int) + random(2) - 1 ]; getch(); Outputs: (i) The winner is : A2776 (ii) The winner is : D6766 (iii) The winner is : B6767 (iv) The winner is : C Study the following program and select the possible output from it: #include<iostream.h> #include<stdlib.h> const int BIG = 3 ; void main( ) randomize( ); int Digit ; Digit = 90 + random (BIG ); for (int K = DIGIT ; K >= 90 ; K ) cout<< K << $ ; What do you understand by Polymorphism? Give an example in C++ to show its implementation in C What is Inheritance? Give an example in C++ to show its implementation in C++. (i) 93$93$92$91$90$ (ii) 91$90$ (iii) 90$91$92$ (iv) 90$92$ 1. Encapsulation is one of the major properties of OOP. How is it implemented in C++? 1. Reusability of classes is one of the major properties of OOP. How is it implemented in C++?
3 Function overloading 1. What is procedural programming paradigm and what are its limitations? 1. Write two major differences between and Procedural. 1.What do you understand by function overloading? Give an example illustrating its use in a C++ program. 1.Give some characteristics of OOPs. 1. Differentiate between Function Overloading and Default Arguments with suitable example. 1.Differentiate between structure and class. 1. What do you understand by visibility modes in class derivations? What are these modes? 1. Define a class TEST in C++ with following description: Private Members a. TestCode of type integer b. Description of type string c. NoCandidate of type integer d. CenterReqd (number of centers required) of type integer e. A member function CALCNTR() to calculate and return the number of centers as (NoCandidates/100+1) Public Members for TestCode, Description, NoCandidate & call function CALCNTR() to calculate the number of Centres content of all the data members 1. Define a class named HOUSING in C++ with the following descriptions: Private Members: REG_NO integer (Ranges ) NAME Array of characters (String) TYPE Character COST Float Public Members: type. of 2 houses selected randomly from an array of 10 of type HOUSING. Use random function to generate the registration nos. to match with REG_NO from the array. ct. 1. Write any two advantages and two disadvantages of. 1.In overloaded function how matching is done? 1.What is the information being hidden by information hiding? 1. What two features of an object are linked together by encapsulation? 1. What do you understand by function overloading? Give an example illustrating its use in a C++ program. 1.A class called A is declared and all its data member and member functions are private. Is it possible to declare an object of type A and use it in any function? Justify your answer. 2.A class is defined without any data member. What is the size of the class? 1. How does the visibility mode control the access of members in the derived class? Explain with example. 1. Define a class Taxpayer, whose class description is given below:- Private Members:- int pan - to store the personal account no. char name[20] - to store the name float taxableinc - to store the total annual taxable income. float tax - to store the tax that is calculated. computetax ( )- A function to compute tax from the following rule:- Total Annual Taxable Income Rate of Taxation Up to % Greater than 60000, less than = % Above , upto % Above % Public Members :- inputdata ( ) - A function to enter the data and call the compute tax( ) function. display( ) - To display the data. 1. Defne a class WEAR in C++ with following description : Private members : code string Type string Size integer material string Price real number A function calprice( ) that calculates and assign the value of price as follows : For the value of material as WOOLEN Type Price(Rs.) Coat 2400 Sweater 1600 For material other than WOOLEN the
4 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 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. 1. Define a class progress with following specification : Private Members : adno 4 digit admission number name 20 characters marks an array of 5 floating point values. average Average marks obtained getavg() to compute the average obtained in five subjects Public members : Readinfo() function to accepts values for adno, name, makrsand invoke the function getang(). Displayinfo() function to display all data members of repest on the screeen 1. What is the use of a constructor function in a class? Give a suitable example of a constructor function in a class. 1. What do you understand by default constructor and copy constructor functions used in classes? How are these functions different form normal constructors? above mentioned price gets reduced by 30%. Public members : A constructor to get initial values for code, Type & material as EMPTY & size and price with 0. A function INWEAR( ) to input the values for all the data members except price which will be initialized by function calprice( ). Function DISPWEAR( ) that shows all the contents of data members 1. A class TRAVEL with the following descriptions : Private members are : Tcode, no_of_pass, no_of_buses integer (ranging from 0 to 55000) Place string Public members are: Tcode as 101, Place as Varanasi, no_of_pass as 5, no_of_buses as 1. information except no_of_buses according to the following rules : Number of passengers Number of buses Less than 40 1 Equal to or more than 40 & less than 80 2 Equal to or more than 80 3 all the information. 2. What is an inline function? Specify the conditions when you can not create inline function? 1.Time is a class with the following data members and member functions-: Data members- Hours (int) Minutes (int) Seconds(int) Member functions- Constructor to initialize the data members. To find the difference two time. To display time. Complete the program with the declarations and definitions. Read a time in the main() and pass it to the function to find the difference. 1.How does the global class constructor run? 1.Given the program #include<iostream.h> Main() cout<< Happy Summer Vacations Modify it to produce the following output without changing main() in anyway.
5 Answer the questions (i) and (ii) after going through the following program: class Match int Time; Match() //Function 1 Time=0; cout<< Match commences <<end1; void Details() //Function 2 cout<< Inter Section Basketball Match <<end1; Match(int Duration) //Function 3 Time=Duration; cout<< Another Match begins now <<end1; Match(Match &M) //Function 4 Time=M.Duration; cout<< Like Previous Match <<end1; i) Which category of constructor - Function 4 belongs to and what is the purpose of using it? ii) Write statements that would call the member Functions 1 and Why is a destructor function required in classes? Illustrate with the help of an example. 1. Answer the questions (i) to (iv) based on the following: class MNC char Cname[25]; char Hoffice[25]; MNC(); char Country[25]; void Enterdata(); void displaydata(); class Branch :public MNC long NOE; char ctry[25]; void Association (); Branch(); void add(); void show(); class outlet :public branch char state[25]; outlet(); void enter(); Starting. Happy Summer Vacations Reading,Writing and Enjoying. Best of Luck 1. Answer the questions (i) and (ii) after going through the following class: 2 class player int health; int age; player() health=6; age=18 //Constructor1 player(int s, int a) health =s; age = a ; //Constructor2 player( player &p) //Constructor3 ~player() cout<< Memory Deallocate ; //Destructor void main() player p1(7,24); //Statement1 player p3 = p1; //Statement3 (i) When p3 object created specify which constructor invoked and why? (ii) Write complete definition for Constructor3? 1. Explain with suitable examples how to create the object by calling the constructor implicitly and explicitly. 1. Define a class SalesCounter with folloeing specifications: Data members: Net_amt, Amount Real values ClothType - string( 30), Pay_mode string (30) Member functions o Constructor to initialize the Amount as 0, ClothType as Cotton, Pay_mode as Cash, Net_amt as 0 o Calc_net () to calculate discount and net_amt. The Company offers discount scheme on each purchase to the customer. The scheme is as follows Purchase above 5000 and avail discount of 10% Purchase above 7500 and avail discount of 15% Purchase above 5000 and avail discount of 5% Purchase above 7500 and avail discount of 10% Purchase above 5000 and avail discount of 15%
6 void output(); 1.Which class s constructor will be called first at the time of declaration of an object of class outlet? 2.How many bytes does an object belonging to class outlet require? 3.From the following, which cannot be called directly from the object of class outlet : void Association(); void enter(); void show(); 4.If the class MNC is inherited by using protected visibility mode, then name the members which are accessible through the functions of outlet class. 5. Name the types of inheritance used in above code. 1. Differentiate between Public,Protected and Private members of a class in context of Inheritance using C++. 1.What is the base and derived class? Discuss the relationship between them. 1. Given the following class definitions answer the questions that follow: class book char title[20]; char author[20]; int no_of_pages; void read( ); void show( ); class textbook:private book int no_of_chapters, no_of_assignments; protected: int standard; void readtextbook( ); void showtextbook( ); class physicsbook:public textbook char topic[20]; void readphysicsbook( ); void showphysicsbook( ); Name the members, which can be accessed from the member functions of class physicsbook. Name the members, which can be accessed by an object of class textbook. Name the members, which can be accessed by an object of class physicsbook. What will be the size of an object (in bytes) of class physicsbook. Purchase above 7500 and avail discount of 25% Now if the customer is paying by Cash an additional 2% discount will be given to them. If by Cheque no discount will be given, if payment mode is credit card 2.5% tax has to be paid by the customer on the total purchase. o Purchase () The Salesman will enter the detail of the purchasing made by the customer and will also enter the payment mode(cash/cheque/credit CARD ), and will invoke the Calc_net() to calculate the net amount o Show() The function will generate the bill to the customer along with the purchase details and the amount to be paid 1. What is Containership? How does it differ from Inheritance? 1. Define Multilevel and Multiple inheritances in context of. Give suitable example to illustrate the same. 1. Answer the questions (i) to (iv) based on the following code: class Goods int id; char name[20]; long qty; void Incr(int n); Goods(); ~Goods(); void get(); class Food_products : protected Goods char exp_dt[10]; int id; int qty; void getd(); void showd(); class Cosmetics : private Goods int qty; char exp_date[10]; int id; ~Cosmetics(); Cosmetics(); void show();
7 Answer the questions (i) to (iv) based on the following: class cloth char category [5]; char description [25]; float price; void entercloth ( ); void displaycloth ( ); class design : protected cloth char design [21]; float cost; int design; design ( ) void enterdesign ( ); void dispdesign ( ); class costing : public cloth float desingfee; float stiching; float cal_cp ( ); protected: float costprice; float sellprice; void entercost ( ); void dispcost ( ); costing ( ); (i) Write the names of data members which are accessible from belonging to class cloth. (ii) Write the names of all members which are accessible from belonging to class design. (iii) Write the names of all the data members which are accessible from member functions of class costing. (iv) How many bytes will be required by an object belonging to class design? 1. What is abstract Class. 2.How will you decide when to derive a class publicly or privately? i)name the all protected members of class Food_products. ii)name the member functions accessible through the object of class Food_products. iii)from the following, Identify the member function(s) that cannot be called directly from the object of class Cosmetics show() getd() get() iv)if the class cosmetics inherit the properties of food_products class also, then name the type of inheritance. 1. Answer the questions (i) to (iv) based on the following code class engineering private: char streamcode[5]; protected: int seats; void allot(); engineering(); void streamread(); void streamwrite(); class dept : protected engineering char deptname[20]; int strength; dept(); void deptread(); void deptwrite(); class course: public dept char coursename[20]; float fees; course(); void courseread(); void coursewrite(); (i)which type of inheritance is shown in the above example? (ii)how many bytes will be required by an object of the class dept and course? (iii)write the name of all the data members accessible from member functions of the class course. (iv)write the members which are accessible from the object of the class dept. 1. What are the two factors on which access of the inherited members depends?
8 Read Chapter 14 ( ) and prepare short notes on the following Points What is Network? Need for Networking? Netwok Goals Application of Networks Evolution of Networking (ARPANET,INTERNET,Interspace) Elementary Terminology of network Switching Techniques (Message,Packet,Circuit) Transmission Media, Guided and Unguided Media, About Cables Data Communication Terminologies Types of Networks (LAN,MAN,WAN) Network Topologies Networking Devices Communication Protocols Wireless/Mobile Computing Networkorking terms and concepts Introduction to open source based software Concept of Network Sceurity Viruses Give fullforms of the following: A) CDMA B) GSM C) FTP D) SLIP E) TCP/IP F) WLL G) EDGE H) FLOSS I) GNU J) FSF K) POP L) SMTP M) NTP N) IMAP O) PPP P) NFS What do you understand by the term Freeware and Shareware? Write a note on Apache server. Write the components of Mozila/Apache software suite. Write down any two applications of PHP. Explain W3C. 40 Prepare yourself for the School Happy Vacations!!! GOD Bless!!!
K.V. NO 1 ARMAPUR Computer Science- XII Summer Vacation Home Assignment
K.V. NO 1 ARMAPUR Computer Science- XII Summer Vacation Home Assignment-2016-17 By- Computer Science Home Assignment 2016-17 Created By-S.K.Verma, PGT CS HOME ASSIGNMENT FOR SUMMER VACATION 2016-17 FIRST
More informationConstructor & 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 informationKENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE
CLASS- XII MAX MARKS-70 KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION 01-15 SUBJECT COMPUTER SCIENCE TIME- HOURS Q1 a) What is the Difference between Global Variable and Local Variable?
More informationKENDRIYA 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 informationWrite the names of the header files to which the following belong :
Write the names of the header files to which the following belong : (i) puts( ) (ii) sin( ). What is the difference between call by value and call by reference? Give an example in C++ illustrate both.
More informationKENDRIYA VIDYALAYA PANGODE MONTHLY TEST I JUNE 2015 CLASS XII COMPUTER SCIENCE Time allowed: 1 1/2 Hours Max. Marks: 50
KENDRIYA VIDYALAYA PANGODE MONTHLY TEST I JUNE 2015 CLASS XII COMPUTER SCIENCE Time allowed: 1 1/2 Hours Max. Marks: 50 General Instructions: 1. All questions are compulsory. 2. Marks for each question
More informationINTERNATIONAL 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 informationSample Paper 2012 Class XII Subject Computer Science
Sample Paper 2012 Class XII Subject Computer Science General Instruction CODE (083) 1. Please check this question paper contains 7 printed pages. 2. Code number given on the right side of question paper
More informationK.V. NO 1 ARMAPUR Computer Science- XII Summer Vacation Home Assignment
K.V. NO 1 ARMAPUR Computer Science- XII Summer Vacation Home Assignment-2017-18 By- Computer Science Home Assignment 2017-18 HOME ASSIGNMENT FOR SUMMER VACATION 2017-18 FIRST WEEK C++ Revision Tour MLP
More informationKENDRIYA 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 informationJB Academy, Faizabad Half Yearly Examination Subject: Computer Science (083) Class XII
JB Academy, Faizabad Half Yearly Examination - 2017-18 Subject: Computer Science (083) Class XII Time: 3 Hours Max. Marks: 70 Instructions: i) All questions are compulsory and so attempt all. ii) Programming
More informationDELHI 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 informationKENDRIYA 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 informationCBSE Sample Paper for Computer Science Class XII.
CBSE Sample Paper for Computer Science Class XII. Time allowed : 3 hours Maximum marks : 70 Question-1 1. (a) Define Multilevel and Multiple Inheritance with example. [ 2 Mark] (b) Define a class ELECTION
More informationSample Paper, 2015 Subject: Computer Science Class 12 th
Sample Paper, 2015 Subject: Computer Science Class 12 th Time: 3 Hours Max. Marks: 70 Instructions: i) All questions are compulsory and so attempt all. ii) Programming language: C++. iii) Please check
More informationITL Public School First Term( )
ITL Public School First Term(06-7) Date:9.09.6 Class: XI Computer Science(08) Time: hrs. M. M: 70 General Instructions: There are 7 questions in total. Marks are given against all the questions Try to
More informationClass and object Holiday Homework
Class and object Holiday Homework 1.Define a class student with the following specification: Private members admno integer type sname 20 character eng, math,sci, total float ctotal( ) A function to calculate
More informationCOMPUTER SCIENCE (CODE 083) CLASS XII Time allowed : 3Hours Maximum. Marks 70
Ashok Garg - 9149405 Code No.08 Roll No. Candidate must write the Code on the title page of the answer-book Please check that this question paper contains 8 printed pages. Code number given on the right
More informationHOLIDAYS 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 informationQ2) 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 informationDELHI 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 informationCBSE 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 informationvoid main() { int global=7 ; func( ::global,global) ; cout<<global<<, <<::global<< \n ; func(global,::global) ; cout<<global<<, <<::global<< \n ; }
K.V.NO.3 AFS CHAKERI AUTUMN BREAK HOME WORK 2017-18 CLASS-XII 1. a) Differentiate between an identifier and keywords. b) Name the header files, to which following inbuilt function belong to: a) abs( )
More informationSample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)
Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory) Time Allowed: 3hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C+ + Ques 1. (a)what is the difference
More informationSession 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 informationSECTION A [Only for candidates, who opted for C++]
PRINCE PUBLIC SCHOOL HALF YEARLY EXAMINATION (2018-19) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS MAXIMUM MARKS: 70 General Instructions 1. This question paper conations 4 questions. 2.
More informationKENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOME WORK XII COMPUTER SCIENCE ARRAY AND STRUCTURES
KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOME WORK- 2018-19 XII COMPUTER SCIENCE ARRAY AND STRUCTURES 1. Write a function which will take a string and returns the word count. Each word is separated
More informationSAMPLE 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 informationI 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 informationSAMPLE 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 informationBLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI. Unit Wise Marks
BLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI Unit Wise Marks Unit No. Unit Name Marks 1. COMPUTER FUNDAMENTAL 10 2. PROGRAMMING METHODOLOGY 12 3. INTRODUCTION TO C++ 1. INTRODUCTION TO C++ 3 TOTAL
More informationKENDRIYA 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(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 informationKENDRIYA 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(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 informationDarshan Institute of Engineering & Technology for Diploma Studies
1. Explain Call by Value vs. Call by Reference Or Write a program to interchange (swap) value of two variables. Call By Value In call by value pass value, when we call the function. And copy this value
More informationDATA FILE HANDLING. The function should create another file OUT.TXT with the text
DATA FILE HANDLING (a) What is the purpose of seekp() and seekg( )1) (b) Write a function in C++ to read a text file SPACE.TXT. Using this file create another file OUT.TXT by replacing more than one space
More informationCOMPUTER SCIENCE (083)
Roll No. Code : 112011-083-A Please check that this question paper contains 7 questions and 6 printed pages. CLASS-XI COMPUTER SCIENCE (083) Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions
More informationSample Paper Class XII SUBJECT : COMPUTER SCIENCE
Sample Paper - 2013 Class XII SUBJECT : COMPUTER SCIENCE FIRST SEMESTER EXAMINATION Instructions: (i) All questions are compulsory. (ii) (ii) Programming Language : C++ 1. (a) Name the header files that
More informationGuru 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 informationOBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe
OBJECT ORIENTED PROGRAMMING USING C++ CSCI 5448- Object Oriented Analysis and Design By Manali Torpe Fundamentals of OOP Class Object Encapsulation Abstraction Inheritance Polymorphism Reusability C++
More informationINDIAN 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 informationCLASS 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 informationComputer Science XII Important Concepts for CBSE Examination Questions
Computer Science XII Important Concepts for CBSE Examination Questions LEARN FOLLOWIING GIVEN CONCEPS 1. Encapsulation: Wraps up data and functions under single unit through class. Create a class as example.
More informationI 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 informationSample 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 informationSample 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 informationvinodsrivastava.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 informationCOMPUTER 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 informationITL Public School Pre-Board( ) Computer Science (083) Time:3 hrs M. M: 70
ITL Public School Pre-Board(04-5) Date:..04 Class:XII Computer Science (08) Time: hrs M. M: 70 General Instructions:. Programming Language C++. Try to give Examples a) What is the difference between Actual
More information2016 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 informationObject Oriented Pragramming (22316)
Chapter 1 Principles of Object Oriented Programming (14 Marks) Q1. Give Characteristics of object oriented programming? Or Give features of object oriented programming? Ans: 1. Emphasis (focus) is on data
More informationC++ 8. Constructors and Destructors
8. Constructors and Destructors C++ 1. When an instance of a class comes into scope, the function that executed is. a) Destructors b) Constructors c) Inline d) Friend 2. When a class object goes out of
More informationBabaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C
Practical -1 Babaria Institute of Technology LEARN CONCEPTS OF OOP 1. Explain Object Oriented Paradigm with figure. 2. Explain basic Concepts of OOP with example a. Class b. Object c. Data Encapsulation
More informationCLASS-XI COMPUTER SCIENCE
Roll No. Code : 112014-083-A Please check that this question paper contains 7 questions and 8 printed pages. CLASS-XI COMPUTER SCIENCE Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions : All
More informationSTRUCTURING OF PROGRAM
Unit III MULTIPLE CHOICE QUESTIONS 1. Which of the following is the functionality of Data Abstraction? (a) Reduce Complexity (c) Parallelism Unit III 3.1 (b) Binds together code and data (d) None of the
More informationGuru Gobind Singh Public School Sector: V/B, Bokaro Steel City Assignment (Level 2)
Subject : Computer Science Class : XII Guru Gobind Singh Public School Sector: V/B, Bokaro Steel City Assignment (Level 2) 1. Out of the following, find those identifiers, which cannot be used for naming
More informationHome Assignment for Class XII(Summer Vacation) Subject: CS Based on Library Functions ( 1 Mark)
Home Assignment for Class XII(Summer Vacation) Subject: CS Based on Library Functions ( 1 Mark) Q1. Write the names of the header files to which the following belong: (i) isdigit() (vi) setw() (ii) strcmp()
More informationCOMMON 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 informationKENDRIYA 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 informationComputer Science[083]
Computer Science[083] All questions compulsory Programming language C++ Maximum Marks 100 Time Allotted 3 Hours Question I [a] Differentiate between call by value & call by reference with suitable examples
More informationOBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak
OBJECT ORIENTED PROGRAMMING Ms. Ajeta Nandal C.R.Polytechnic,Rohtak OBJECT ORIENTED PARADIGM Object 2 Object 1 Data Data Function Function Object 3 Data Function 2 WHAT IS A MODEL? A model is an abstraction
More informationQuestion 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 informationOOP THROUGH C++(R16) int *x; float *f; char *c;
What is pointer and how to declare it? Write the features of pointers? A pointer is a memory variable that stores the address of another variable. Pointer can have any name that is legal for other variables,
More informationSAMPLE 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 informationPRINCE 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 informationFast Introduction to Object Oriented Programming and C++
Fast Introduction to Object Oriented Programming and C++ Daniel G. Aliaga Note: a compilation of slides from Jacques de Wet, Ohio State University, Chad Willwerth, and Daniel Aliaga. Outline Programming
More informationvoid 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 informationASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE
ASSIGNMENT CLASS : XII (2015-16) COMPUTER SCIENCE Short answer typequestions: 1.(a)What is the difference between logical error and runtime error? Give suitable example for the same. (b) What is the difference
More informationKUWAIT SAHODAYA EXAMINATION FIRST TERM SUBJECT : COMPUTER SCIENCE (083) : CLASS - XII SET - 3 Time : 3 Hours
KUWAIT SAHODAYA EXAMINATION FIRST TERM 08-09 SUBJECT : COMPUTER SCIENCE (08) : CLASS - XII SET - Time : Hours MM=70 Instructions- (Based on the model of CBSE Exams). a) Find and write the output of the
More informationDepartment of Computer science and Engineering Sub. Name: Object oriented programming and data structures Sub. Code: EC6301 Sem/Class: III/II-ECE Staff name: M.Kavipriya Two Mark Questions UNIT-1 1. List
More informationShort Notes of CS201
#includes: Short Notes of CS201 The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with < and > if the file is a system
More informationObject Oriented Programming. Solved MCQs - Part 2
Object Oriented Programming Solved MCQs - Part 2 Object Oriented Programming Solved MCQs - Part 2 It is possible to declare as a friend A member function A global function A class All of the above What
More informationCS201 - Introduction to Programming Glossary By
CS201 - Introduction to Programming Glossary By #include : The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with
More informationSRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR
SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR 603203 DEPARTMENT OF COMPUTER SCIENCE & APPLICATIONS QUESTION BANK (2017-2018) Course / Branch : M.Sc CST Semester / Year : EVEN / II Subject Name
More informationSAMPLE 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 informationMock 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 informationBHARATIYA 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 informationSRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS
SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS 1. How to work with multiple documents in StarOffice Writer? 2. What is meant by
More informationKapil Sehgal PGT Computer. Science Ankleshwar Gujarat Chapter 6 Inheritance Extending a Class
Chapter 6 Inheritance Extending a Class Introduction; Need for Inheritance; Different form of Inheritance; Derived and Base Classes; Inheritance and Access control; Multiple Inheritance Revisited; Multilevel
More informationCLASS 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 informationComputer 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 information3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.
3.Constructors and Destructors Develop cpp program to implement constructor and destructor. Constructors A constructor is a special member function whose task is to initialize the objects of its class.
More informationDownloaded from
Unit I Chapter -1 PROGRAMMING IN C++ Review: C++ covered in C++ Q1. What are the limitations of Procedural Programming? Ans. Limitation of Procedural Programming Paradigm 1. Emphasis on algorithm rather
More informationCOMPUTER SCIENCE (083)
Roll No. Code : 112012-083 Please check that this question paper contains 7 questions and 8 printed pages. CLASS-XI COMPUTER SCIENCE (083) Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions
More informationPadasalai.Net s Model Question Paper
Padasalai.Net s Model Question Paper STD: XII VOLUME - 2 MARKS: 150 SUB: COMPUTER SCIENCE TIME: 3 HRS PART I Choose the correct answer: 75 X 1 = 75 1. Which of the following is an object oriented programming
More informationTHE INDIAN COMMUNITY SCHOOL, KUWAIT
THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : I SE / 2016-2017 CODE : N 083 MAX. MARKS : 70 TIME ALLOWED : 3 HOURS NO. OF PAGES : 9 COMPUTER SCIENCE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More informationKENDRIYA VIDYALAYA SANGATHAN GUWAHATI REGION क य व लय स गठन, ग व ह ट स भ ग I-PRE BOARD EXAMINATION ( -ब ड पर )
KENDRIYA VIDYALAYA SANGATHAN GUWAHATI REGION क य व लय स गठन, ग व ह ट स भ ग I-PRE BOARD EXAMINATION 203-4( -ब ड पर 203-4) Class: XII Time: 3 Hrs. Computer Science Max. Marks: 70 Answer Key Q a) Typedef
More informationMock 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 informationKendriyaVidyalayaSangathan 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 informationComputer 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 informationSPLIT-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 informationCOMPUTER 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 informationPROGRAMMING IN C++ COURSE CONTENT
PROGRAMMING IN C++ 1 COURSE CONTENT UNIT I PRINCIPLES OF OBJECT ORIENTED PROGRAMMING 2 1.1 Procedure oriented Programming 1.2 Object oriented programming paradigm 1.3 Basic concepts of Object Oriented
More informationPOINTERS - Pointer is a variable that holds a memory address of another variable of same type. - It supports dynamic allocation routines. - It can improve the efficiency of certain routines. C++ Memory
More informationTHE 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.
Constructor and Destructor Member Functions Constructor: - Constructor function gets invoked automatically when an object of a class is constructed (declared). Destructor:- A destructor is a automatically
More informationSTUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING
OBJECT ORIENTED PROGRAMMING STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING 1. Object Oriented Programming Paradigms 2. Comparison of Programming Paradigms 3. Basic Object Oriented Programming
More informationC++_ MARKS 40 MIN
C++_16.9.2018 40 MARKS 40 MIN https://tinyurl.com/ya62ayzs 1) Declaration of a pointer more than once may cause A. Error B. Abort C. Trap D. Null 2Whice is not a correct variable type in C++? A. float
More informationSample 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 informationINHERITANCE: EXTENDING CLASSES
INHERITANCE: EXTENDING CLASSES INTRODUCTION TO CODE REUSE In Object Oriented Programming, code reuse is a central feature. In fact, we can reuse the code written in a class in another class by either of
More information