(b) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2
|
|
- Madison Norris
- 6 years ago
- Views:
Transcription
1 HALF-YEARLY EXAMINATION COMPUTER SCIENCEMARKING SCHEME CLASS XII 1. (a) Write any two differences between procedural programming and object oriented programming. 2 Ans. Procedural oriented programming Object oriented programming Function oriented Object oriented No data security Data security Not extensible extensible Do not model the real world problems very well Model real world problems Addition of new data and function is difficult Addition of new data and functions is easy Top down approach Bottom to top approach (b) Which C++ header file(s) will be essentially required to be included to run /execute the following C++ code: 1 void main() charmsg[ ]="Sunset Gardens"; for (int I=5;I<strlen(Msg);I++) puts(msg); Ans. string.h, stdio.h (b) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2 #include <iostream.h> struct Pixels intcolor,style; voidshowpoint(pixels P) cout<<p.color,p.style<<endl; void main() Pixels Point1=(5,3); ShowPoint(Point1); Pixels Point2=Point1; Color.Point1+=2; ShowPoint(Point2); Answer: #include <iostream.h> struct Pixels intcolor,style;; voidshowpoint(pixels P) cout<<p.color<<p.style<<endl; void main() Pixels Point1=5,3; ShowPoint(Point1); Pixels Point2=Point1; Point1.Color+=2; ShowPoint(Point2); (1/2 Mark for correcting each error) OR (1 Mark for identifying all the 4 errors with no correction) Page 1 of 14
2 (d) Find the output of the following program: 2 #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; Ans. #agasbarr (e) Find the output of the following program: 3 #include <iostream.h> struct GAME int Score, Bonus;; void Play(GAME &g, int N=10) g.score++; g.bonus+=n; void main() GAME G=110,50; Play(G,10); cout<<g.score<<":"<<g.bonus<<endl; Play(G); cout<<g.score<<":"<<g.bonus<<endl; Play(G,15); cout<<g.score<<":"<<g.bonus<<endl; 111:60 112:70 113:85 (f) In the following program, find the correct possible output(s) from the options: Justify. 2 #include<stdlib.h> #include<iostream.h> void main ( ) randomize() ; char Area [] [10] = NORTH, SOUTH, EAST, WEST ; inttogo; for (int I=0; 1<3; 1++) ToGo = random(2) +1; cout<<area [ToGo]<< : ; Page 2 of 14
3 (i) SOUTH:EAST:SOUTH: (ii) NORTH:SOUTH:EAST: (iii) SOUTH:EAST:WEST: (iv) SOUTH:EAST:EAST: Ans. (i) justify with proper random value and 2D character array 2. (a) What do you understand by constructor and destructor functions used in a class? How are these functions different from other member functions? 2 Answer: Constructors: These are the special member functions of class which are used to initialize the object with suitable value. These are automatically invoked when a new object will be created Destructors: These are special member functions which are used to deinitialize the object. They will automatically invoked when the object will out of scope. WE need to invoke the general functions when we need it but these functions will automatically invoked. (1 Mark each for definition) (b) Answer the questions (i) and (ii) after going through the following class. 2 class wholesale floatpr; intqty; charcateg[20], item[30]; wholesale() // function 1 strcpy(categ, food ); strcpy( item, biscuits ); pr=150; qty=10; void show() // function 2 ; void main() cout<<categ<< # <<item<< : <<qty<<endl; wholesaleob; // statement 1 ob.show(); // statement 2 (i) Will statement 1 initialize all the data members for object ob with the values given in function 1 (Y/N)? Justify your answer suggesting the corrections 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). (i) No, constructor is given in private access specifier group. It should be in public. (ii) Food # Biscuit- 10 Page 3 of 14
4 (c) Define a class patient in C++ with following description: 4 Private members: Pidno integer patient id Pname string patient name Charges float charges per day Noofdays int number of days Totcharge float total charge Calcharge() Public Members: In_data() A function to calculate total charges due( charges * noofdays) With return value float to accept values for pidno, pname, charges, noofdays and invoke Calcharge() to calculate total charges Out_data() to display all data members class patient intpidno; charpname[20]; float charges; intnoofdays; floattotcharge; floatcalcharge(); voidin_data(); voidout_data(); ; void patient::in_data() cout<< enter id ; cin>>pidno; cout<< enter name ; gets(pname); cout<< charges per day ; cin>>charges; cout<< enter number of days ; cin>>noofdays; totcharges=calcharge(); float patient:: calcharge() return ( charges * noofdays); void patient:: out_data() cout<< id <<pidno; cout<< name ; puts(pname); cout<< charges per day <<charges; cout<< number of days <<noofdays; cout<< total charge <<totcharge; (d) Consider the following c++ declarations and answer the questions given below4 class vehicle protected: int passenger; int wheels; Page 4 of 14
5 voidinputdata( int, int); voidoutputdata(); ; classheavy_vehicle: protected vehicle intdiesel_petrol; protected : int load; voidreaddata( int, int); voidwritedata(); ; class bus: private heavy_vehicle char make[20]; voidfetchdata( char); voiddisplaydata(); (i) (ii) (iii) (iv) Name the base class and derived class of the class heavy_vehicle; Name the data members that can be accessed from function displaydata() Name the data members that can be accessed by object of class bus. Is the member function outputdata() accessible to the object of class heavy_vehicle. (i) base class : vehicle (ii) make, load, passenger (iii) none (iv) no derive class : bus 3. (a) Observe the program segment given below carefully and fill the blanks marked as Statement1 and Statement2 using seekg() and tellg() functions for performing the required task. 2 #include <fstream.h> class Employee inteno;charename[20]; //Function to count the total number of records intcountrec(); ; int Employee::Countrec() fstream File; File.open( EMP.DAT,ios::binary ios::in); //Statement 1 int Bytes = //Statement 2 int Count = Bytes / sizeof(employee); File.close(); Page 5 of 14
6 return Count; Answer: File.seekg(0, ios::end); File.tellg(); (b) A binary file Students.dat contains data of 10 students where each student s data is an object of the following class: 1 class Student intrno;char Name[20]; voidenterdata() cin>>rno; cin.getline(name,20); voidshowdata() cout<<rno<< - <<Name<<endl; ; With reference to this information, write output of the following program segment: ifstream File; Student S; File.open( STUDENTS.DAT,ios::binary ios::in); File.seekg(0, ios::end); cout<<file.tellg(); Ans. 220 (c) Write a function in C++ to count the number of words starts with t or f present in a text file NOTES.TXT.( both cases considered) 2 Answer: voidcountwords() ifstream FIL("NOTES.TXT"); int count=0; charstr[80]; FIL>>str; while (FIL) if( (toupper(str[0])== t ) (toupper(str[0])== f )) count++; FIL>>str; cout<<"no. of Words:"<<count<<endl; FIL.close(); ( ½ mark for opening the file in correct mode) ( ½ mark for checking eof) ( ½ mark for reading each word) ( ½ mark for correct increment) (d) Write a function in C++ to add new objects at the bottom of a binary file STUDENT.DAT, assuming the binary file is containing the objects of the following class. 2 class STUD intrno; char Name[20]; void Enter()cin>>Rno;gets(Name); void Display()cout<<Rno<<Name<<endl; Page 6 of 14
7 intreturn_rno() return Rno; voidmodirec( int r) rno=r; cout<< Enter changed name ; gets(name); ; Answer: voidaddnew() fstream FIL; FIL.open( STUDENT.DAT,ios::binary ios::app); STUD S; char CH; do S.Enter(); FIL.write((char*)&S,sizeof(S)); cout<< More(Y/N)? ;cin>>ch; while(ch == Y ); FIL.close(); ( ½ mark for opening the file in app mode) ( ½ mark for calling the member function Enter correctly) ( 1/2 mark for writing the content of object to the binary file) ( ½ mark for forming the appropriate loop) (e) Write a function in C++ to modify an object from a binary file STUDENT.DAT, assuming the binary file is containing the objects of the class STUD (given above 3(d) part). The Rno of the object to be modified will be passed as an argument. 3 Answer. voidmodify_record(int RNO) ifstream FIL1; FIL1.open("STUDENT.DAT",ios::binary); ofstream FIL2; FIL2.open("TEMP.DAT",ios::binary); STUD S; while(fil1.read((char*)&s,sizeof(s))) if (RNO == S.Return_Rno()) S.modirec( RNO); FIL2.write((char*)&S,sizeof(S)); FIL1.close(); FIL2.close(); remove("student.dat"); rename("temp.dat","student.dat"); ( 1/2 mark for opening the files in correct modes) ( ½ mark for declaration of desired object) ( ½ mark for correct loop) ( 1/2 mark for checking & writing the content of object to the binary file) Page 7 of 14
8 ( 1 mark for writing remove & rename functions) (f) Given a binary file directory.dat containing records of the phone details with following class members 3 classphonelist char name[20]; char address[30]; char phone[10]; voidphone_input(); voidshow_data(); intcheckno( char tno[]) if(tno[0] == 2 ) return 1; else retun 0; ; // to input data members // to display all data members // checks the number Write a function shift_mtnl() in c++ that would display and copy all those records which are having phone number starting with digit 2 from directory.dat to mtnl.dat voidcopyphonelist() ifstream if1; if1.open( directory.dat, ios::binary); ofstream of1; of1.open( mtnl.dat, ios::binary); phonelist p; while(if.read((char *) &p, sizeof(p))) if(p.checkno(p.phone)==1) p.show_data(); of1.write((char *)&p, sizeof(p)); if1.close(); of1.close(); 4. (a) Find the output: 3 # include <iostream.h> void main ( ) int Track [] = 10,20,30,40,, *Striker ; Striker=Track ; Track [1] += 30 ; cout<<"striker"<<*striker<<endl ; *Striker -=10 ; Striker++; Page 8 of 14
9 <<endl ; Striker +=2 ; ; cout<<"reset To"<<Track [0] <<endl ; Striker10 Reset To0 (b) Find the output: 3 #include<iostream.h> #include<conio.h> int a=3; void demo(int&x, int y, int *z) a +=x; y *=a; *z = a+y; cout<<x<<y<<*z<<endl; void main() int a=2, b=5; demo(::a, a, &b); cout<<::a<<a<<b<<endl; ( c) What do you mean by self-referential structure? Explain with a suitable c++ code. 2 It is a normal structure where one of the data member is a pointer type points to structure type. It is used to create node in a linked list. structstd int roll; char name[20]; std * next; ; Here roll and name stores normal data where next will store address of any variable of std type. 5. (a) Write a function SORTPOINTS() in C++ to sort an array of structure GAME in descending order of Points using Selection Sort. The function will have two arguments - array of structure GAME & size of array. Also assume the following definition of structure GAME: 3 struct GAME long PNO; // Player Number charpname[20]; long Points; ; ; Answer. void SORTPOINTS(GAME a[], int n) intlargest,pos,temp; for ( inti = 0; i< n; i++) pos = i; largest = a[i].pno; Page 9 of 14
10 for ( int j = i+1; j< n; j++) if ( a[j].pno > largest) largest = a[j].pno; pos = j; temp = a[i].pno; a[i].pno = a[pos].pno; a[pos].pno = temp; (1/2 Mark for function header with desired parameters) (1 Mark for correct formation of outer loop) (1 Mark for correct formation of inner loop) (1/2 Mark for swapping) (b) Write a function in C++ to display the product of every alternate elements( starting from (0,0) ) of a two dimensional integer array passed as the argument of the function. Number of rows and number of columns will also be passed as arguments. 2 Answer. void PRODUCTELEMENT( int a[][5], int r, int c) int p=1, flag=1; for (inti = 0; i< r; i++) for (int j = 0; j < c; j++) If( flag % 2!=0) p = p * a[i][j]; flag++; cout<<"\nproduct of elements "<<p; (1/2 Mark for function header with desired parameters) (1/2 Mark for correct formation of loop) (1/2 Mark for the formula) (1/2 Mark for displaying output) (c) An array P[20][30] is stored in the memory along the column with each of the element occupying 4 bytes, find out the memory location for the element P[5][15], if an element P[2][20] is stored at the memory location Answer: Given, W=4 N=20 M=30 Loc(P[2][20])=5000 Column Major Formula: Loc(P[I][J]) =Base(P)+W*(N*J+I) Loc(P[2][20]) =Base(P)+4*(20*20+2) 5000 =Base(P)+4*(400+2) Base(P) = Base(P) =3392 Loc(P[5][15]) =3392+4*(20*15+5) Page 10 of 14
11 =3392+4*(300+5) = =4612 (1 Mark for correct formula/substitution of values in formula) (1 Mark for correctly calculating Base Address) (1 Mark for correctly calculating address of desired location) (d) Convert the following infix expression to its equivalent postfix expression showing the stack contents for the conversion.a / ( B + C ) * D E 3 element operation stack status postfix operation ( push ( A print A / push ( / A ( push ( / ( A B print ( / ( AB + push ( / ( + AB C print ( / ( + ABC ) pop and print ( / ( ABC + Pop and cancel ( / ABC + * pop and print ( ABC + / Push ( * ABC + / D print (* ABC + / D - pop and print ( ABC + / D * push ( - ABC + / D * E print ( - ABC + / D * E ) pop and print ( ABC + / D * E - pop and cancel ABC + / D * E - ; stop ABC + / D * E - (e) Evaluate the following postfix notation of expression: 2 F T NOT AND F OR T AND ITEM SCANNED OPERATION STACK F PUSH F T PUSH F T NOT POPT EVALUATE NOT T PUSH F F FF AND POP F POP F EVALUATE F AND F PUSH F F # F F PUSH F F OR POPF, POPF EVALUATE F OR F PUSH F F # F T PUSH F T Page 11 of 14
12 AND POPT, POPF EVALUATE F AND T PUSH F F ; POP AND PRINT F (f) Write a function to delete an element from static circular queue. 2 voidcqueuedelete() if(front==-1) cout<<"\n Circular Queue is empty";return; cout<<data[front]<<" deleted"<<endl; if(front==rear) front=-1;rear=-1; else if(front==size-1) front=0; else front++; (g) Write the function to insert an element into a dynamic queue ( queue represented by link list). Represent queue by linked class where each node is is represented by given structure 3 struct node char name[20]; int age; node * link; ; class queue node *rear,*front; queue() rear=null; front=null; void qinsert(); void qdelete(); void qdisplay(); ~queue(); ; void queue::qinsert() node *temp; temp=new node; cout<<"data :"; cin>>temp->data; temp->next=null; if(rear==null) F # Page 12 of 14
13 rear=temp; front=temp; else rear->next=temp; rear=temp; 7. (a) Observe the following Table and answer the parts (i) and (ii) accordingly 2 Table: MEMBER Mno Name Qty PurchaseDate 101 Pen Pencil Eraser Sharpener Clips (i) In the above table, can we take Mno as Primary Key? (Answer as [YES/NO] only). Justify your answer with a valid reason. Ans. Yes, Mno is unique for each item. (ii) What are the degree and the cardinality of the above table? Ans. Degree = 4 cardinality = 5 Consider the following tables SUBJECT and TEACHER and answer (b)part of this question: Table: SUBJECT Code Title Marks_Theory Marks_Prac 301 English Maths Computer Physics Chemistry Table: TEACHER TCode Name Sub_Code 1 P.Jain RNagpal Supatra Shabnam Rashika Vidushi Yash 043 (b) Write SQL commands for the flowing statements: 5 (i) To display the names of all the subjects for which practical marks are 0. (ii) To display the total number of teachers in each subject separately. (iii) To display the names of all the teachers in the ascending order of the Sub_Code. (iv) To display each subject s details along with Total_Marks in each subject from the table SUBJECT. (Total_Marks = Marks_Theory + Marks_Practical). (v) Write SQL statement to display each teacher s name along with his/her respective subject name from the tables TEACHER and SUBJECT. Ans. (i) SELECT TITLE FROM SUBJECT WHERE MARKS_PRAC = 0; (ii) SELECT SUB_CODE, COUNT(*) FROM TEACHER GROUP BY SUB_CODE; (iii) SELECT NAME FROM TEACHER ORDER BY SUB_CODE; Page 13 of 14
14 (iv) SELECT CODE,TITLE, (Marks_Theory + Marks_Practical) FROM SUBJECT ; (v)select NAME, TITLE FROM TEACHER, SUBJECTWHERE TEACHER.SUB_CODE = SUBJECT.CODE; Give the output of the following SQL queries: (vi) SELECT DISTINCT(Marks_Theory) from SUBJECT; (vii) SELECT TCode, Name from Teacher where Sub_Code like 0% ; Ans. (vi) 2 (vii) Supatra 041 Shabnam 083 Rashika 042 Vidushi 041 Yash 043 (c) What do you mean by candidate key? 1 The key or combination of keys which can be primary key for the relation if called candidate key. In an relation more than one candidate key possible. Page 14 of 14
CBSE 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 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 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 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 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 informationSample Paper 2014 Class XII Subject COMPUTER SCIENCE (083) Time allowed: 3Hrs Maximum Marks :70 Instructions: i) All the questions are compulsory ii) Programming Language C++ 1. (a) Write the prototype
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 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 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 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 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 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 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 Sample Paper I
COMPUTER SCIENCE Sample Paper I Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ 1. (a) What is the difference between Object Oriented
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 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 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 informationAfter going through this lesson, you would be able to: store data in a file. access data record by record from the file. move pointer within the file
16 Files 16.1 Introduction At times it is required to store data on hard disk or floppy disk in some application program. The data is stored in these devices using the concept of file. 16.2 Objectives
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 informationComputer Science (Code 083) Sample Paper with Solution Set II
Max. Marks: 70 1. Computer Science (Code 083) Sample Paper with Solution Set II Duration: 3 Hours (a) What is the difference between Object Oriented Programming and Procedural Programming? 2 Object Oriented
More informationComputer Science (Code 083) Sample Paper with Solution Set II
Max. Marks: 70 1. Computer Science (Code 083) Sample Paper with Solution Set II Duration: 3 Hours (a) What is the difference between Object Oriented Programming and Procedural Programming? 2 Object Oriented
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 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 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 informationKENDRIYA 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 informationKendriya Vidyalaya Sangathan MODEL QUESTION PAPER - 2 Class-XII Subject: Computer Science (083) Time 3 hrs MM 70
Kendriya Vidyalaya Sangathan MODEL QUESTION PAPER - Class-XII Subject: Computer Science (083) Time 3 hrs MM 70 S.No. UNIT VSA SA I SA II LA TOTAL ( Mark) ( Marks) (3 Marks) (4 Marks) Review of C++ covered
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 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 informationChapte t r r 9
Chapter 9 Session Objectives Stream Class Stream Class Hierarchy String I/O Character I/O Object I/O File Pointers and their manipulations Error handling in Files Command Line arguments OOPS WITH C++ Sahaj
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 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 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 programs are associated to work with files as it helps in storing data & information permanently. File - itself a bunch of bytes stored on
Computer programs are associated to work with files as it helps in storing data & information permanently. File - itself a bunch of bytes stored on some storage devices. In C++ this is achieved through
More informationUnit-V File operations
Unit-V File operations What is stream? C++ IO are based on streams, which are sequence of bytes flowing in and out of the programs. A C++ stream is a flow of data into or out of a program, such as the
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 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 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 informationvoid display(){ cout << trainno.<< :>>Description<<endl; }; void main() {TRAIN T; Entry.(); Display.(); d) 410 e) i) south:east:south f) temttoe
Marking Scheme SUBJECT COMPUTER SCIENCE Class XII Ist Preboard 2016 Q. No. 1 a) 1 Marks for definition and 1 marks for explain relation with classes objects. the wrapping of data and operation / function
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 informationios ifstream fstream
File handling in C++ In most of the real time programming problems we need to store the data permanently on some secondary storage device so that it can be used later. Whenever we have to store the data
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 informationConvenient way to deal large quantities of data. Store data permanently (until file is deleted).
FILE HANDLING Why to use Files: Convenient way to deal large quantities of data. Store data permanently (until file is deleted). Avoid typing data into program multiple times. Share data between programs.
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 informationList of Practical for Class XII Computer Science
List of Practical for Class XII Computer Science P.01. Write a complete C++ program to define class Garment with following description: Private members: Code - type string Type - type string Size - type
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 informationObject Oriented Programming Using C++ UNIT-3 I/O Streams
File - The information / data stored under a specific name on a storage device, is called a file. Stream - It refers to a sequence of bytes. Text file - It is a file that stores information in ASCII characters.
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 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 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 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 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 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 informationAssignment 3 Class XII (Computer Science 083) Topic Array
Assignment 3 Class XII (Computer Science 083) Topic Array 1. What is meant by base address of an array? 2. What are the preconditions for Binary Search to be performed on a single dimension array? 3. Calculate
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 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 (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 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 informationDATA FILE HANDLING FILES. characters (ASCII Code) sequence of bytes, i.e. 0 s & 1 s
DATA FILE HANDLING The Language like C/C++ treat everything as a file, these languages treat keyboard, mouse, printer, Hard disk, Floppy disk and all other hardware as a file. In C++, a file, at its lowest
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 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 informationCOMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE
COMMON PRE-BOARD EXAMINATION 2017-2018 Subject Code: 083 CLASS: XII COMPUTER SCIENCE Time Allowed: 3 hours Maximum Marks: 70 Instructions- (i) Please check that this question paper contains 11 printed
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 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 informationMOCK PRE-BOARD EXAMINATION 2017_18 Class : XII Computer Science ( Answer Key)
MOCK PRE-BOARD EXAMINATION 2017_18 Class : XII Computer Science ( Answer Key) 1. (a) In the context of inheritance, what is the difference between private and protected members of a class. Explain with
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 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 informationC++ Binary File I/O. C++ file input and output are typically achieved by using an object of one of the following classes:
C++ Binary File I/O C++ file input and output are typically achieved by using an object of one of the following classes: ifstream for reading input only. ofstream for writing output only. fstream for reading
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 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 informationBRAIN INTERNATIONAL SCHOOL. Computer Science Assignment CLASS XII OCTOBER 2018 Chapter-7. Data File Handling in C++ Text Files
BRAIN INTERNATIONAL SCHOOL Computer Science Assignment CLASS XII OCTOBER 2018 Chapter-7. Data File Handling in C++ Text Files Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Write a 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 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 informationCOMPUTER SCIENCE (Theory) - Class XII Marking Scheme
COMPUTER SCIENCE (Theory) - Class XII Marking Scheme 1 a) Call by value l It is a used to create a temporary copy of data coming from actual parameter.the changes done in the function in the formal parameter
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 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 informationKENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board )
KENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board 018-19) 1 Ans: (i) Relational (ii) Relational (iii)logical (iv) Arithmetic (a) ½ Marks for each correct (b) Ans:Following
More informationKENDRIYA 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 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 informationDownloaded from
Unit-II Data Structure Arrays, Stacks, Queues And Linked List Chapter: 06 In Computer Science, a data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.
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 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 informationSeries 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 informationThis chapter introduces the notion of namespace. We also describe how to manage input and output with C++ commands via the terminal or files.
C++ PROGRAMMING LANGUAGE: NAMESPACE AND MANGEMENT OF INPUT/OUTPUT WITH C++. CAAM 519, CHAPTER 15 This chapter introduces the notion of namespace. We also describe how to manage input and output with C++
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 informationCOMPUTER SCIENCE (Theory) Class XII - Code : 083 Blue Print
COMPUTER SCIENCE (Theory) Class XII - Code : 083 Blue Print S.No. UNIT VSA SA I SA II LA TOTAL (1 Mark) (2 Marks) (3 Marks) (4 Marks) 1 Review of C++ covered in Class XI 1 (1) 8 (4) 3 (1) 12 (6) 2 Object
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 informationStudy Material for Class XII. Data File Handling
Study Material for Class XII Page 1 of 5 Data File Handling Components of C++ to be used with handling: Header s: fstream.h Classes: ifstream, ofstream, fstream File modes: in, out, in out Uses of cascaded
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 informationC++ Programming Lecture 10 File Processing
C++ Programming Lecture 10 File Processing By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department Outline Introduction. The Data Hierarchy. Files and Streams. Creating a Sequential
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 informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)
WINTER 18 EXAMINATION Subject Name: Data Structure using C Model wer Subject Code: 22317 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given
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 informationSubject - Computer Science (Code-083)
1 ST PRE BOARD EXAMINATION F CLASS XII -2015-16 Subject - Computer Science (Code-083) Time Allowed: 3hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C+ + 1. a)
More informationDownloaded from
ASSIGNMENT 1 TOPIC : File Handling TYPE 1 QUESTION : ( Statement write type questions ) Q1. Observe the program segment given below carefully and fill the blanks marked as Statement 1 and Statement 2 using
More informationSUBMITTED AS A PART OF C.B.S.E. CURRICULUM FOR THE YEAR
SUBMITTED AS A PART OF C.B.S.E. CURRICULUM FOR THE YEAR 2008-09 CONTENTS CERTIFICATE ACKNOWLEDGEMENT PROJECT PREAMBLE PROJECT STUDY ALGORITHM SOURCE CODE OUTPUT CERTIFICATE This is to certify that, Roll
More informationPadasalai.Net Half Yearly Exam Model Question Paper
et et Padasalai.Net Half Yearly Exam 2018 - Model Question Paper COMPUTER SCIENCE XII STANDARD Time: 2.30 Hrs] [Max Marks: 70 Part I Choose the correct answer: 15 1 = 15 et et 1. is used to create Text
More informationKendriya Vidyalaya Sangathan Model Question Paper-1 Class XII Subject - Computer Science (083) Max. Marks: 70. Blue Print
Kendriya Vidyalaya Sangathan Model Question Paper-1 Class XII Subject - Computer Science (083) Max. Marks: 70 Blue Print S. UNIT VSA SA I SA II LA TOTAL No. (1 Mark) (2 Marks) (3 Marks) (4 Marks) 1 Review
More informationKapil Sehgal PGT Computer. Science Ankleshwar Gujarat Ch - 7. Data File Handling
Introduction Data File Handling The fstream.h Header file Data Files Opening and Closing File Steps to process a File in your Program Changing the behavior of Stream Sequential I/O With Files Detecting
More information(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