THE INDIAN COMMUNITY SCHOOL, KUWAIT
|
|
- Franklin Walsh
- 6 years ago
- Views:
Transcription
1 THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : I SE / CODE : N 083 MAX. MARKS : 70 TIME ALLOWED : 3 HOURS NO. OF PAGES : 9 COMPUTER SCIENCE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: All questions are compulsory Read the questions carefully 1. a. Define Macro with suitable example. b. Rani has started learning C++ and has typed the following program. When she compiled the (1) following code written by her, she discovered that she needs to include some header files to successfully compile and execute it. Write the names of those header files, which are required to be included in the code. float A,Number,Outcome; cin>>a>>number; Outcome=pow(A,Number); cout<<outcome<<endl; c. Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. Note: Assume all required header files are already being included in the program. #define Formula(a,b) = 2*a+b float X=3.2;Y=4.1; Z=Formula(X,Y); cout<< Result= <<Z<<endl; d. Find and write the output of the following C++ program code: Note: Assume all required header files are already included in the program. typedef char STRING[80]; void MIXITNOW(STRING S) int Size=strlen(S); for (int I=0;I<Size1;I+= 2) char WS=S[I]; S[I]=S[I+1]; S[I+1]=WS; for (I=1;I<Size;I+=2) if (S[I]>= M && S[I]<= U ) ; STRING Word= CRACKAJACK ; MIXITNOW(Word); cout<<word<<endl; 1
2 e. Find and write the output of the following C++ program code: Note: Assume all required header files are already being included in the program. class Share long int Code; float Rate; int DD; Share()Code=1000;Rate=100;DD=1; void GetCode(long int C,float R) Code=C; Rate=R; void Update(int Change,int D) Rate+=Change; DD=D; void Status() cout<< Date: <<DD<<endl; cout<<code<< # <<Rate<<endl; ; Share S,T,U; S.GetCode(1324,350); T.GetCode(1435,250); S.Update(50,28); U.Update(25,26) ; S.Status(); T.Status(); U.Status(); 2
3 f. Study the following program and select the possible output(s) from the options (i) to (iv) following it. Also, write the maximum and the minimum values that can be assigned to the variable NVM. Note: Assume all required header files are already being included in the program. random(n) function generates an integer between 0 and n - 1. randomize(); int NOM; NOM=random+2; char TEXT[]="ABCDEFGHIJK"; for (int I=1;I<=NOM; I++) for(int J=NUM; J<=7iJ++) cout<<text[j]; cout<<end1; (i) FGHI FGHI FGHI FGHI (ii) BCDEFGH BCDEFGH (iii) EFGH EFGH EFGH EFGH (iv) CDEFGH CDEFGH g. Find the output of the following Program: #include<iostream.h> Struct THREE_D int x,y,z; ; void MoveIn(THREE_D &T, int Step=1) T.x + =Step; T.y - =Step; T.z - =Step; void MoveOut(THREE_D &T, int Step=1) T.x - =Step; T.y + =Step; T.z - =Step; void main( ) THREE_D T1=10,20,5; T2=30,10,40; MoveIn(T1); MoveOut(T2,5); cout<<t1.x<<, <<T1. y<<, <<T1.z<<, <<endl; cout<<t2.x<<, <<T2. y<<, <<T2.z<<, <<endl; MoveIn(T2.10); cout<<t2.x<<, <<T2. y<<, <<T2.z<<, <<endl; 2. a. 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. 3
4 b. Write any four important characteristics of Object Oriented Programming? Give example of any one of the characteristics using C++. c. Rewrite the following program after removing the syntactical error(s)(if any). Underline each correction. #include<iostream.h> class Transport char Model[20]; char Name[20]; void Get( ) gets(model); gets(name); void Show( ) cout<<model<<endl; puts(name); ; void main( ) Transport T; Get.T( ); Show( ); d. Define a class RESORT in C++ with following description : Private Members : Rno //Data member to store Room No. Name //Data member to store customer name. Charges //Data member to store per day charges. Days //Data member to store number of days of stay. COMPUTE()//A function to calculate and return Amount as Days*Charges and if the value of Day*Charges is more than then as 1.02*Days*Charges Public Members Getinfo() //A function to enter the content Rno, Name,Charges and Days Dispinfo() //A function to display Rno, Name, Charges,Days and Amount (Amount to be displayed by calling function COMPUTE()) e. Answer the questions (i) and (ii) after going through the following class: class WORK int WorkId; char WorkType; ~WORK() //Function 1 cout<< Un-Allocated <<endl; void status() //Function 2 cout<<workid<< : <<Work Type<<endl; WORK() //Function 3 WorkId=10 ; WorkType= T ; WORK(WORK & W) //Function 4 WorkId=W.WorkId+12; Work Type=W.WorkType+1 ; 4
5 (i) Which member function out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class WORK is called automatically, when the Scope of an object gets over? Is it known as Constructor OR Destructor OR Overloaded Function OR Copy Constructor? (ii) WORK W; //Statement 1 WORK Y (W); //Statement 2 Which member function out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class WORK is called on execution of statement 2? What is it specifically called Destructor, Copy constructor, parameterized constructor or default constructor. 3. a. Answer the questions (i) to (iv) based on the following : class Regular char School Code [10]; public : void InRegular(); void outregular(); ; class Distance char StudyCentreCode[5]; public : void Indistance ( ); void OutDistance ( ); ; class Course: public Regular, private Distance char Code[5]; float Fees ; int Duration; void InCourse (); void Out Course (); ; (i) Which type of Inheritance is shown in the above example? (ii) Write names of all the member functions accessible from OutCourse function of class Course. (iii) Write name of all the members accessible through an object of class Course. (iv) Is the function InRegular() accessible inside the function InDistance()? Justify your answer. b. Answer the questions (i) to (iv) based on the following : class Toys char TCode[5]; protected: float Prince; void Assign(float) ; Toys(); void TEntry(); void TDisplay(); ; class SoftToys : public Toys char STname[20]; float Weight; SoftToys(); 5
6 Void STEntry(); Void STDisplay(); ; Class ElectronicToys : public Toys char ETname[20]; int No_of_Batteries; Public: Electronic Toys(); Void ETEntry(); Void ETDisplay(); ; (i) (ii) (iii) Which type of inheritance is shown in the above example? How many bytes will be required by an object of the class SoftToys? Write name of all the data members accessible from member functions of the class SoftToys. (iv)write name of all the member functions which are accessible from an object of the class Electronic Toys. 4. a. Find the output of the following program : #include<iostream.h> int X[] = 10, 25, 30, 55, 110; int *p = X; while (*p < 110) if (*p%3!= 0) *p = *p + 1; else *p = *p + 2; p++; for (int I = 4; I>=1 ; 1 I ) cout<<x [I] << * ; if (I%3 == 0) cout<<endl; cout<<x [0] * 3<<endl; b. In the following program,what will be the possible output(s) from the following options (i),(ii),(iii) and (iv)?justify your answer. #include<iostream.h> #include<stdlib.h> #include<string.h> #include<conio.h> clrscr(); char *Text= 1234 ; int L=strlen(Text); randomize (); for(int I=0;I<L;I++) int start=random(i)+1; Char p=text[start]; 6
7 Cout<<P<< : ; getch(); (i)1:3:2:4 (iii)2:2:3:2 (ii)2:2:3:2 (iv)2:2:2:3 5. a. Write function definition for WORD4CHAR() in C++ to read the content of a text file FUN.TXT, and display all those words, which has four characters in it. Example: If the content of the file fun.txt is as follows: When I was a small child, I used to play in the garden with my grand mom. Those days were amazingly funful and I remember all the moments of that time The function WORD4CHAR() should display the following: When used play with days were that time b. Write a definition for function Economic ( ) in C++ to read each record of a binary file ITEMS.DAT, find and display those items, which costs less than Assume that the file ITEMS.DAT is created with the help of objects of class ITEMS, which is defined below: class ITEMS int ID;char GIFT[20]; float Cost; public : void Get () cin>>code;gets(gift);cin>>cost; void See () cout<<id<<":"<<gift<<":"<<cost<<end1; float GetCost() return Cost;. ; c. Observe the program segment given below carefully and fill the blanks marked as Line 1 and Line 2 using fstream functions for performing the required task. #include <fstream.h> class Stock long Ino; //Item Number char Item [20];//Item Name int Qty; //Quantity void Get(int); //Function to enter the content void show(); //Function to display the content void Purchase (int Tqty) Qty+=Tqty; //Function to increment in Qty long KnowIno () return Ino; ; void Purchaseitem (long PINo, int PQty) //PINo > Ino of the item purchased //PQty > Number of item purchased fstream File; File. open ( STOCK.DAT, ios: : 7
8 binary ios: : in ios: : out); int Position= 1; Liberary L; while (Position = = 1 && File. read ((char * ) &L, sizeof (L))) if (L. GetAno() = =BANo) L. Buy (BQty); //To update the number of Books Positions=File. tellg() sizeof (L); //Line 1: To place the file pointer to the required position. ; //Line 2: To write the object L on to the binary file ; if (Position== 1) cout<< No updation done as required Ano not found... ; File. Close(); 6. a. Write the definition of a function FixPay(float Pay[], int N) in C++, which should modify each element of the array Pay having N elements, as per the following rules: b. Write a COLSUM function in C++ to find sum of each column of a N * M matrix. c. A two dimensional array P[20] [50] is stored in the memory along the row with each of its element occupying 4 bytes, find the address of the element P[10] [30], if the element P[5] [5] is stored at the memory location d. Convert the following infix expression to its equivalent Postfix expression, showing the stack contents for each step of conversion. X / Y + U* (V-W) e. Evaluate the following Postfix notation of expression showing the stack contents for each step of conversion. FALSE,NOT,True,AND,True,False,OR,AND f. Write the definition of a member function INSERT() for a class QUEUE in C++, to insert an ITEM in a dynamically allocated Queue of items considering the following code is already written as a part of the program. struct ITEM int INO; char INAME[20]; ITEM *Link; ; class QUEUE ITEM *R, *F; QUEUE()R=NULL;F=NULL; void INSERT(); void DELETE(); ~QUEUE(); ; 8
9 g. Write a function in C++ to delete a node containing Book s information, from a dynamically allocated stack of Books implemented with the help of the following structure. struct Book int BNO; char BName[20]; Book *Next; ; 9
include<iostream.h> #define PI=3.14 void main( ) { float r;a; cout<< enter any radius ; cin>>r; a=pi*pow(r,2); cout<< Area= <<a }
1. Explain Gloabal and local variable with suitable example. 2. Difference between a runtime error and a syntax error. Give one example of each. 3. Difference between formal parameters and actual parameters.
More informationASSIGNMENTS FOR CLASS XII :
ENGLISH: ASSIGNMENTS FOR CLASS XII : Prepare two assembly talks (5 min each) memorise and practise delivering it. Prepare two class talks (3 min each) memorise and practise delivering it. CHEMISTRY: Prepare
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 information1. 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 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 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 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 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 informationAISSCE 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 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 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 informationKENDRIYA 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 informationModel Sample Paper 2015
Time: 3 Hours MM: 70 Model Sample Paper 2015 Class XII Computer Science (083) Instructions: (i) (ii) All questions are compulsory. Programming Language C++. 1. (a) What is the difference between Actual
More informationCLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS)
CLASS XII SECOND TERM EXAMINATION 2017-2018 SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS) TIME ALLOWED : 3 HRS. MAX. MARKS:70 General Instructions : This paper consists of 6 questions. There are 7 printed
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 information2009 (Class XII) Solved Paper. Time allowed : 3 hours Maximum Marks : 100
Solved Paper 2009 (Class XII) Time allowed : 3 hours Maximum Marks : 100 General Instructions : (i) All questions are compulsory. (ii) Programming Language : C++ (h each question. Delhi 91/1 1. (a) What
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 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 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 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 informationCLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A1(SOLUTIONS)
CLASS XII SECOND TERM EXAMINATION 2017-2018 SUBJECT : COMPUTER SCIENCE SET A1(SOLUTIONS) TIME ALLOWED : 3 HRS. MAX. MARKS:70 General Instructions : This paper consists of questions. There are 8 printed
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 informationGuru Gobind Singh Public School Sector : V/B, Bokaro Steel City
Guru Gobind Singh Public School Sector : V/B, Bokaro Steel City 1. a) Write the types of tokens(keywords and user identifiers) from the following : i) case ii) _delete iii) WHILE iv) 21stName b) Which
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 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 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 informationComputer Science, Class XII ( ) (Summer Vacation-2015) (Holiday H.W) Chapter No.1 to 3
(Summer Vacation-2015) (Holiday H.W) Chapter No.1 to 3 1. Why main function is so special in C++? Give at least two reasons. /* CBSE 1999 */ 2. Differentiate between call by value & call by reference with
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 informationCode 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 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 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 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 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 information(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 informationCOMPUTER 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 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 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 informationKE 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 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 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 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 informationClass XII Computer Science (083) Sample Question Paper Time allowed: 3 Hours Max. Marks: 70
Class XII Computer Science (083) Sample Question Paper 2018-19 Time allowed: 3 Hours Max. Marks: 70 General Instructions: (a) All questions are compulsory. Programming Language with C++ In Question 2(b,
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 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 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 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 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 informationKENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70
KENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70 GENERAL INSTRUCTIONS : 1. ALL QUESTIONS ARE COMPULSORY. 2. PROGRAMMING LANGUAGE : C++ Q1. (a) Out of
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 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 informationKENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE ( ) HOMEWORK SUMMER VACATION
KENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE (2018-19) HOMEWORK SUMMER VACATION 1.(a) Differentiate between Actual and Formal parameters. Also give suitable C++ code to illustrate both. (b) What
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 informationQUESTION BANK SUB: COMPUTER SCIENCE(083)
BHARATIYA VIDYA BHAVAN S V M PUBLIC SCHOOL, VADODARA QUESTION BANK SUB: COMPUTER SCIENCE(083) CHAPTER 6 Pointers 2 MARKS QUESTION 1. Rewrite the following codes after removing errors, if any, in the following
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 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 informationKENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII
KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION 2018-19 CLASS XII Sub: COMPUTER SCIENCE (083) Time allowed: 3 Hours Max. Marks: 70 General Instructions: (a) All questions are
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 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 informationCOMPUTER SCIENCE. Time allowed : 3 hours Maximum Marks : 70
SET-4 Series SSO 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 20 printed pages. Code number given on the right
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 informationKapi ap l S e S hgal P T C p t u er. r S. c S ienc n e A n A k n leshw h ar ar Guj u arat C C h - 8
Chapter 8 Introduction C++ Memory Map Free Stores Declaration and Initialization of pointers Dynamic allocation operators Pointers and Arrays Pointers and Const Pointers and Function Pointer and Structures
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 informationcout<< \n Enter values for a and b... ; cin>>a>>b;
CHAPTER 8 CONSTRUCTORS AND DESTRUCTORS 8.1 Introduction When an instance of a class comes into scope, a special function called the constructor gets executed. The constructor function initializes the class
More informationCOMPUTER 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 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 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 informationFunctions. Introduction :
Functions Introduction : To develop a large program effectively, it is divided into smaller pieces or modules called as functions. A function is defined by one or more statements to perform a task. In
More informationKE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE
KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS: XII Time : 3 Hrs. Max. Marks : 70 Instructions : (i) All questions are compulsory. (ii) Programming Language
More informationSAMPLE 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 informationKENDRIYA 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 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 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 informationKENDRIYA 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 informationEAS 230 Fall 2002 Section B
EAS 230 Fall 2002 Section B Exam #2 Name: Person Number: Instructions: ƒ Total points are 100, distributed as shown by [ ]. ƒ Duration of the Exam is 50 minutes. I ) State whether True or False [25] Indicate
More informationBRAIN INTERNATIONAL SCHOOL. Term-I Class XI Sub: Computer Science Revision Worksheet
BRAIN INTERNATIONAL SCHOOL Term-I Class XI 2018-19 Sub: Computer Science Revision Worksheet Chapter-1. Computer Overview 1. Which electronic device invention brought revolution in earlier computers? 2.
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 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 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 informationCAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE
CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE a) Mention any 4 characteristic of the object car. Ans name, colour, model number, engine state, power b) What
More informationSample Paper Class XI Subject Computer Sience UNIT TEST II
Sample Paper Class XI Subject Computer Sience UNIT TEST II (General OOP concept, Getting Started With C++, Data Handling and Programming Paradigm) TIME: 1.30 Hrs Max Marks: 40 ALL QUESTIONS ARE COMPULSURY.
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 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 informationData type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples:
Unit IV Pointers and Polymorphism in C++ Concepts of Pointer: A pointer is a variable that holds a memory address of another variable where a value lives. A pointer is declared using the * operator before
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 informationCOMS W3101 Programming Language: C++ (Fall 2016) Ramana Isukapalli
COMS W3101 Programming Language: C++ (Fall 2016) ramana@cs.columbia.edu Lecture-2 Overview of C C++ Functions Structures Pointers Design, difference with C Concepts of Object oriented Programming Concept
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 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 informationIf 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 informationQuiz Start Time: 09:34 PM Time Left 82 sec(s)
Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability
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 informationCS201 Latest Solved MCQs
Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability
More informationCode 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 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 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 informationKENDRIYA 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 informationKENDRIYA VIDYALYA CLRI CHENNAI AUTUMN BREAK HOLIDAY HW MARKS QUESTIONS : DATA STRUCTURE
KENDRIYA VIDYALYA CLRI CHENNAI AUTUMN BREAK HOLIDAY HW 8 MARKS QUESTIONS : DATA STRUCTURE. Write a function in C++ which accepts an integer array and its size as arguments and change all the even number
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 informationSBOA SCHOOL & JUNIOR COLLEGE, CHENNAI 101 COMPUTER SCIENCE CLASS: XI HALF YEARLY EXAMINATION MAX MARKS:70 CODE - A DURATION : 3 Hours
SBOA SCHOOL & JUNIOR COLLEGE, CHENNAI 101 COMPUTER SCIENCE CLASS: XI HALF YEARLY EXAMINATION 2016 MAX MARKS:70 CODE - A DURATION : 3 Hours All questions are compulsory. Do not change the order of the questions
More informationBRAIN INTERNATIONAL SCHOOL Term-II Class-XI Sub:- Computer Science Revision Sheet
BRAIN INTERNATIONAL SCHOOL Term-II Class-XI 2018-19 Computer Organisation Sub:- Computer Science Revision Sheet 1. Which electronic device invention brought revolution in earlier computers? 2. Which memory
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 information