Downloaded from

Size: px
Start display at page:

Download "Downloaded from"

Transcription

1 SAMPLE PAPER 4 COMPUTER SCIENCE (083) CLASS XII Time allowed: 3Hrs Maximum Marks :70 Instructions: i) All the questions are compulsory ii) Programming Language C++ 1. (a) What is the difference between Type casting and Automatic type Conversion? Give examples 2 (b)write the names of the header files which are necessary to execute the following C++ code 1 void main() char name[40]; strcpy(name, Vijay Sharma ); puts(name) (c) Identify and correct the errors if any, underline the correction 2 #include<iostream h> int main Unsigned long i,fact=1; cout<< Enter a number ; cin>>num; while(num) fact=fact*fact; --num; cout<< the factorial is <<fact; (d) Find the output of the following program (imagine header files are included) 2 void main() clrscr(); char *NAME = "@KVid5yaLaY*a"; for (int x = 0; x < strlen(name); x++) if (islower(name[x])) 1

2 NAME[x] = toupper(name[x]); else if (isupper(name[x])) if (x%2==0) NAME[x] = tolower(name[x]); else NAME[x] = NAME[x-1]; puts(name); getch(); (e) Give the output of the following program 3 #include<iostream.h> #include<conio.h> void Execute(int &B, int C = 50) int TEMP = B+C; B += TEMP; if(c!= 150) cout << " "<<TEMP<<" " <<" "<< B <<" "<< C << endl; void main ( ) clrscr(); int M = 20, N = 10; Execute(M); cout <<" "<< M<< " "<<" "<< N << endl; Execute(M, N); cout <<" "<<M <<" "<< N << endl; getch(); (f) Find the possible out put(s) & What will be the minimum & Maximum values 2 #include<stdlib.h> #include<iostream.h> #include<conio.h> void main() clrscr(); randomize(); int N, numgus; N=10; numgus=random(n)+10; 2

3 cout<<numgus<<endl; getch(); 2. (a)what do you mean by a temporary instance of a class? What is its use? how is it created? 2 (b)answer the questions(i) and(ii) after going through the following class: 2 class TestMeOut public: ~TestMeOut() //Function 1 cout<<"play over"<<endl; TestMeOut( ) //Function 2 cout<<"preparing to play"<<endl; void MyWork( ) cout<<"playing"<<endl (i) In OOP what is Function 1 referred as and when does it get invoked? (ii) In OOP what is Function 2 referred as and when does it get invoked? Write the statement to invoke Function2. (c) Define a class serverspace with the following specifications. 4 Private members of the class Filenames an array of strings of size[10][25] ( to represent all the names of files inside serverspace ) Availspace long ( to represent total number of bytes available in serverspace) Usedspace long ( to represent total number of bytes used in serverspace) public members of the class Newfileentry() A function to accept values of Filenames, Availspace and Usedspace from user Retavailspace() A Fucntion that returns the value of total Kilobytes available ( 1 Kilobytes = 1024 bytes) Showfiles() a function that displays the names of all the files in serverspace (d)answer the questions i to iv based on the following code 4 3

4 class WORLD int H; protected : int S; public : void INPUT(int); void OUTPUT(); ; class COUNTRY : private WORLD int T; protected : int U; public : void INDATA( int, int) void OUTDATA(); ; class STATE : public COUNTRY int M; public : void DISPLAY (void); ; (i) Name the base class and derived class of the class COUNTRY. (ii) Name the data member(s) that can be accessed from function DISPLAY(). (iii) Name the member function(s), which can be accessed from the objects of class STATE. (iv) Is the member function OUTPUT() accessible by the objects of the class COUNTRY? 3. (a)write a function colleect() in C++ to transfer the content from two arrays First[ ] and Second[ ] to array All[ ]. The even places (0,2,4..) of array All[] should get the contents from the array First[ ] and odd places (1,3,5.)of the array All[ ] should get the contents from the array Second[ ] 3 Eg: If the First [ ] array contains 30, 60,90, And the Second [ ] array contains10, 50,80, Then All [ ] array should contain 30, 10, 60,50,90,80. (b) An array M[15][35] is stored in the memory along with column with each element occupying 8 bytes. Find out the base address and address of the element M[2][5] if the element M[5]10] is stored at the address (c)give the necessary declaration of a linked implemented stack containing float type numbers; also 4

5 write a user defined function in C++ to push a number from this stack. 4 (d)write a User defined function in C++ to display the sum of row element of two dimensional array A[5][6] containing integer. 2 (e) Convert the following infix expression into postfix expression using stack and show the status of the stack after every step : 2 (A*B+(C-D/F)) 4. (a) Observe the program segment given below carefully and fill the blanks marked as Statement 1 and Statement 2 using seekp( ) and seekg( ) functions for performing the required task. 1 # include<fstream.h> class Item int num; char Item_name[25]; public: // Function to search and display the content from a particular record number. void Search(int); // Function to modify the content of a particular record number. void Modify(int); ; void Item : : Search( int Rno) fstream File; File.Open( STOCK.DAT, ios::binary ios::in); // Statement 1 File.read((char*) this, size of (Item)); cout<< num << = = > << Item_name << endl; File.close( ); void Item : : Modify( int Rno) fstream File; File.Open( STOCK.DAT, ios::binary ios::in ios:: out); cout<< Num; cin.getline(item_name, 25); // Statement 2 File.write((char*) this, size of (Item)); File.close( ); (b) Write a function in C++ to calculate the average word size in a text file Report.txt,each word 5

6 is separated by single space or full stop. 2 (c)given a binary file BUS.DAT, containing records of the following class bus type. 3 class bus int bus_no; char desc[40]; int distance; //in km public: void read( ) cin>>bus_no; gets(desc) ; cin>>distance; void display( ) cout<<bus_no; puts(desc); cout<<distance; int retdist( ) return distance; ; Write a function in C++ that would read the contents of file BUS.DAT and display the details of those buses which travels the distance more than 100 km. 5. (a)what do you understand by the term Primary key and Foreign key in a relational database? 2 (b) Consider the following tables SCHOOL and ADMIN. Write SQL commands for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii). 6 SCHOOL CODE TEACHERNAME SUBJECT DOJ PERIODS EXPERIENCE 1001 RAVI SHANKAR ENGLISH 12/03/ PRIYA RAI PHYSICS 03/09/ LISA ANAND ENGLISH 09/04/ YASHRAJ MATHS 24/08/ GANAN PHYSICS 16/07/ HARISH B CHEMISTRY 19/10/ UMESH PHYSICS 11/05/ ADMIN CODE GENDER DESIGNATION 1001 MALE VICE PRINCIPAL 1009 FEMALE COORDINATOR 1203 FEMALE COORDINATOR 1045 MALE HOD 1123 MALE SENIOR TEACHER 1167 MALE SENIOR TEACHER 1215 MALE HOD i) To display TEACHERNAME, PERIODS of all teachers whose periods less than 25. ii) To display TEACHERNAME, CODE and DESIGNATION from tables SCHOOL and ADMIN. 6

7 iii) To display the total number of teachers in each subject. iv) To display CODE, TEACHERNAME and SUBJECT of all teachers who have joined the school after 01/01/1999. v) SELECT MAX(EXPERIENCE), SUBJECT FROM SCHOOL GROUP BY SUBJECT; vi) SELECT TEACHERNAME, GENDER FROM SCHOOL, ADMIN WHERE DESIGNATION = 'COORDINATOR AND SCHOOL.CODE=ADMIN.CODE ; vii) SELECT DESIGNATION, COUNT(*) FROM ADMIN GROUP BY DESIGNATION HAVING COUNT(*) <3; viii) SELECT COUNT(DISTINCT SUBJECT) FROM SCHOOL; 6. (a)verify the law using truth table (X+Y) =X Y 2 (b)draw the logic circuit for Q=((B+C).(B.C) )+ (A.B) 2 (c) Derive the SOP form of Boolean expression from the given truth table. 1 X Y Z F(A B C) (d) Reduce the following Boolean expression using K map 3 F(a,b,c,d) =Σ(0,3,4,5,7,8,9,11,12,13,15) 7. (a) What is the difference between Repeater and a Bridge?. 1 (b) What is rule in networking 1 (c) Explain GSM. 1 (d) Differentiate between Freeware & Shareware 1 (e) What is the purpose of using FTP? 1 7

8 (f) Sathyam computers decided to open a new a office at Ernakulum, the office consist of Five Buildings and each contains number of computers. the details are shown below. 5 Building-1 Building-2 Building-3 Building-4 Building-5 Distance between the buildings Building 1 and 2 20 Meters Building 2 and 3 50 Meters Building 3 and Meters Building 3 and 5 70 Meters Building 1 and 5 65 Meters Building 2 and 5 50 Meters Building No of computers Computers in each building are networked but buildings are not networked so far. The Company has now decided to connect building also. (i) Suggest a cable layout for connecting the buildings (ii) In each of the buildings, the management wants that each LAN segment gets a dedicated bandwidth i.e bandwidth must not be shared. How can this be achieved? (iii) Do you think anywhere Repeaters required in the campus? Why (iv) The company wants to link this office to their head office at Delhi (a) Which type of transmission medium is appropriate for such a link? (b) What type of network would this connection result into? (vi) Where server & modem to be installed? why? 8

9 SAMPLE PAPER 4 COMPUTER SCIENCE (083) Time allowed: 3Hrs Maximum Marks: 70 Instructions: i) All the questions are compulsory ii) Programming Language C++ MARKING SCHEME 1. (a) What is the difference between Type casting and Automatic type Conversion? Give examples 2 Explicit type Casting is used by the programmer to convert value of one type to another type. It s a forced conversion Eg: float x=(float)15/4; // 3.75 will be assigned as result Automatic Type Conversion is the conversion done by the complier itself. Here the code will assign value 3 to float x, It will be automatically converted to 3.0. (b)write the names of the header files which are necessary to execute the following C++ code 1 void main() char name[40]; strcpy(name, Vijay Sharma ); puts(name) string.h, stdio.h (c) Identify and correct the errors if any, underline the correction 2 #include<iostream h> int main Unsigned long i,fact=1; cout<< Enter a number ; cin>>num; while(num) fact=fact*fact; --num; cout<< the factorial is <<fact; #include<iostream. h> int main() unsigned long i,fact=1, num; cout<< Enter a number ; cin>>num; while(num) 9

10 fact=fact*num; --num; cout<< the factorial is <<fact; return 0 (d) Find the output of the following program (imagine header files are included) 2 void main() clrscr(); char *NAME = "@KVid5yaLaY*a"; for (int x = 0; x < strlen(name); x++) if (islower(name[x])) NAME[x] = toupper(name[x]); else if (isupper(name[x])) if (x%2==0) NAME[x] = tolower(name[x]); else NAME[x] = NAME[x-1]; puts(name); (e) Give the output of the following program 3 #include<iostream.h> #include<conio.h> void Execute(int &B, int C = 50) int TEMP = B+C; B += TEMP; if(c!= 150) cout << " "<<TEMP<<" " <<" "<< B <<" "<< C << endl; void main ( ) clrscr(); int M = 20, N = 10; Execute(M); cout <<" "<< M<< " "<<" "<< N << endl; 10

11 Execute(M, N); cout <<" "<<M <<" "<< N << endl; getch(); (f). Find the possible out put(s) & What will be the minimum & Maximum values 2 #include<stdlib.h> #include<iostream.h> #include<conio.h> void main() clrscr(); randomize(); int N, numgus; N=10; numgus=random(n)+10; cout<<numgus<<endl; getch(); Any number from 10 to 19( Minimum 10 & Maximum 19 ) 2.(a).What do you mean by a temporary instance of a class? What is its use? how is it created? 2 A temporary instance of class means an anonymous object(object having no name)of the same class and which is short lived. Its benefit is when an object is required for a very short time(say for an expression, or a statement), we need not reserve memory for it for long. A temporary object for the same purpose can be created which remains in the memory as long as the statement defining it is getting executed, after the statement the object is automatically destroyed and memory is released. Therefore, memory remains un occupied only for the time when it is needed. A temporary instance is created by explicit call to the constructor. For instance following statement creates a temporary instance of mark type and invokes display() member function of mark class for it. mark(56,55,65).display(); (b)answer the questions(i) and(ii) after going through the following class: 2 class TestMeOut Public: ~TestMeOut() //Function 1 cout<<"play over"<<endl; TestMeOut() //Function 1 cout<<"preparing to play"<<endl; void MyWork() cout<<"playing"<<endl 11

12 (i) In OOP What is what is Function 1 referred as and when does it get invoked? (ii) In OOP What is what is Function 2 referred as and when does it get invoked? (i) Destructor, it is invoked as soon as the scope of the object gets over. (ii) Constructor, it is invoked as soon as the object of the class is created. (c) Define a class serverspace with the following specifications. 4 Private members of the class Filenames an array of strings of size[10][25] ( to represent all the names of files inside serverspace ) Availspace long ( to represent total number of bytes available in serverspace) Usedspace long ( to represent total number of bytes used in serverspace) public members of the class Newfileentry() A function to accept values of Filenames, Availspace and Usedspace from user Retavailspace() A Fucntion that returns the value of total Kilobytes available ( 1 Kilobytes = 1024 bytes) Showfiles() a function that displays the names of all the files in serverspace (b) The class is as : #include <iostream.h> #include <conio.h> class serverspace char Filenames[10][25]; long Availspace; long Usedspace; public: void Newfileentry(); long Retavailspace(); void Showfiles(); ; void serverspace::newfileentry() cout << "Enter the names of the files "; for(int i=0;i<10;i++) cin >> Filenames[i]; cout << "Enter the available spaces "; cin >> Availspace; cout << "Enter the used space "; cin >> Usedspace; long serverspace ::Retavailspace() 12

13 return (Availspace/1024); void serverspace::showfiles() for(int i=0;i<10;i++) cout << Filenames[i] << endl; void main() serverspace mf; mf.newfileentry(); int x = mf.retavailspace(); cout << "Total available space is = "<<x; mf.showfiles(); (d)answer the questions i to iv based on the following code 4 class WORLD int H; protected : int S; public : void INPUT(int); void OUTPUT(); ; class COUNTRY : private WORLD int T; protected : int U; public : void INDATA( int, int) void OUTDATA(); ; class STATE : public COUNTRY int M; public : void DISPLAY (void); ; (i) Name the base class and derived class of the class COUNTRY. (ii) Name the data member(s) that can be accessed from function DISPLAY(). (iii) Name the member function(s), which can be accessed from the objects of class STATE. (iv) Is the member function OUTPUT() accessible by the objects of the class COUNTRY? (i) Base class : WORLD Derived class : STATE (ii) M. (iii) DISPLAY(), INDATA() and OUTDATA() (iv) No 3. (a) 3 13

14 Write a function colleect() in C++ to transfer the content from two arrays First[ ] and Second[ ] to array All[ ]. The even places (0,2,4..) of array All[] should get the contents from the array First[ ] and odd places (1,3,5.)of the array All[ ] should get the contents from the array Second[ ] Eg: If the First [ ] array contains 30, 60,90, And the Second [ ] array contains10, 50,80, Then All [ ] array should contain 30, 10, 60,50,90,80. void collect(int All[ ], int n, int First[ ], int Second[ ]) int j =0, k = 0; for(int i=0; i<n; i++) if(i%2==0) All[i]=First[j++]; else All[i]=Second[k++]; (b) 3 An array M[15][35] is stored in the memory along with column with each element occupying 8 bytes. Find out the base address and address of the element M[2][5] if the element M[5]10] is stored at the address 4000 B= 1160 M[2][5] =2576 (c) 4 Give the necessary declaration of a linked implemented stack containing float type numbers; also write a user defined function in C++ to push a number from this stack. float data; node *link; ; // Function body for add stack elements node *push(node *top, float val) node *temp; temp = new node; temp->data = val; temp->link = NULL; if(top ==NULL) top = temp; else temp->link = top; top = temp; return(top); (d) 2 Write a User defined function in C++ to display the sum of row element of two dimensional array A[5][6] containing integer. 14

15 void Row_sum(int M[5][6]) int sum, i, j; for (i=0; i<5; i++) sum = 0; for (j = 0; j<6; j++) sum = sum + M[i][j]; cout << "Sum of Row : " << i+1 << " is : " << sum << endl; (e) Convert the following infix expression into postfix expression using stack and show the status of the stack after every step : 2 [A*B+(C-D/F)] Symbol Stack Postfix ( A A * (* B AB + (+ AB+ ( (+( C AB*C - (+(- D AB*C / (+(-/ F AB*CDF ) (+ AB*CDF/ ) AB*CDF/-+ 4. (a). Observe the program segment given below carefully and fill the blanks marked as Statement 1 and Statement 2 using seekp( ) and seekg( ) functions for performing the required task. 1 # include<fstream.h> class Item int num; char Item_name[25]; public: // Function to search and display the content from a particular record number. void Search(int); // Function to modify the content of a particular record number. void Modify(int); ; void Item : : Search( int Rno) fstream File; File.Open( STOCK.DAT, ios::binary ios::in); // Statement 1 15

16 File.read((char*) this, size of (Item)); cout<< num << = = > << Item_name << endl; File.close( ); void Item : : Modify( int Rno) fstream File; File.Open( STOCK.DAT, ios::binary ios::in ios:: out); cout<< Num; cin.getline(item_name, 25); // Statement 2 File.write((char*) this, size of (Item)); File.close( ); FILE.seekg(Rno * sizeof (Item)); FILE.seekp(Rno * sizeof (Item)); // Statement1 // Statement2 (b) 2 Write a function in C++ to calculate the average word size in a text file Report.txt,each word is separated by single space or full stop. b)#include<fstream.h> int avgwordsize() char ch; int avg=0; int wordcount=0; int charcount=0; ifstream fin; fin.open( Report.txt,ios::in ios::binary); if(!fin) cout<< cannot open file ; return 1; While(fin) fin.get(ch); if(ch== ch==. ) wordcount++; else charcount++; if(wordcount>0) avg=charcount/wordcount; return avg; 16

17 (c)given a binary file BUS.DAT, containing records of the following class bus type. 3 class bus int bus_no; char desc[40]; int distance; //in km public: void read( ) cin>>bus_no; gets(desc) ; cin>>distance; void display( ) cout<<bus_no; puts(desc); cout<<distance; int retdist( ) return distance; ; Write a function in C++ that would read the contents of file BUS.DAT and display the details of those buses which travels the distance more than 100 km. void PrintDistance( ) ifstream File; int f=0; File.open( BUS.DAT,ios::binary ios::in); bus B; while (File.read(( char*) &B, sizeof(b))) if(b.retdist( ) > 100) f=1; B. display( ); if(f= =0) cout<< \n No such record. ; File.close( ); 5. (a) 2 What do you understand by the term Primary key and Foreign key in a relational database? Primary key is the unique key of the table which is uses to identify the tuples Foreign key is the field of a table which may be the primary key of some other table in the database b) Consider the following tables SCHOOL and ADMIN. Write SQL commands for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii). 6 SCHOOL CODE TEACHERNAME SUBJECT DOJ PERIODS EXPERIENCE 1001 RAVI SHANKAR ENGLISH 12/03/ PRIYA RAI PHYSICS 03/09/ LISA ANAND ENGLISH 09/04/ YASHRAJ MATHS 24/08/ GANAN PHYSICS 16/07/ HARISH B CHEMISTRY 19/10/

18 1215 UMESH PHYSICS 11/05/ ADMIN CODE GENDER DESIGNATION 1001 MALE VICE PRINCIPAL 1009 FEMALE COORDINATOR 1203 FEMALE COORDINATOR 1045 MALE HOD 1123 MALE SENIOR TEACHER 1167 MALE SENIOR TEACHER 1215 MALE HOD i) To display TEACHERNAME, PERIODS of all teachers whose periods less than 25. SELECT Treachername, periods from school where periods<25 ii) To display TEACHERNAME, CODE and DESIGNATION from tables SCHOOL and ADMIN. ANS; SELECT Treachername, code, Designation from school,admin where school.code=admin.code iii) Count the teachers subject wise. SELECT count(*),subject from teachers Group by Subject; iv) To display CODE, TEACHERNAME and SUBJECT of all teachers who have joined the school after 01/01/1999. SELECT code,teachernmae,subject from teachers where DOJ>'01/01/1999'; v) SELECT MAX(EXPERIENCE), SUBJECT FROM SCHOOL GROUP BY SUBJECT; MAX(EXPERIENCE SUBJECT 10 ENGLISH 16 PHYSICS 15 MATHS 5 CHEMISTRY vi) SELECT TEACHERNAME, GENDER FROM SCHOOL, ADMIN WHERE DESIGNATION = 'COORDINATOR AND SCHOOL.CODE=ADMIN.CODE ; TEACHERNAME GENDER PRIYA RAI LISA ANAND FEMALE FEMALE vii) SELECT DESIGNATION, COUNT(*) FROM ADMIN GROUP BY DESIGNATION HAVING COUNT(*) <3; DESIGNATION COUNT(*) VICE PRINCIPAL 1 18

19 COORDINATOR 2 HOD 2 SENIOR TEACHER 2 viii) SELECT COUNT(DISTINCT SUBJECT) FROM SCHOOL; DISTINCT(city) ENGLISH PHYSICS MATHS CHEMISTRY 6. (a)verify the law using truth table (X+Y) =X Y 2 ANS X Y X+Y (X+Y) X Y X Y (b)draw the logic circuit for Q=((B+C).(B.C) )+ (A.B) 2 (c) Derive the SOP form of Boolean expression from the given truth table. 1 X Y Z F(A B C)

20 F(X,Y,Z)= X YZ +XY Z +XYZ +XYZ (d) Reduce the following Boolean expression using K map 3 F(a,b,c,d) =Σ(0,3,4,5,7,8,9,11,12,13,15) F(a,b,c,d)=c d +bd+ad+cd 7. (a) What is the difference between Repeater and a Bridge?. 1 Ans: A Repeater is a network device that amplifies and restores signals for long distance transmission where as a Bridge is a network device that established an intelligent connection between two local networks with the same standard but with different types of cables. (b) What is rule in networking 1 (c) Explain GSM. Ans: Global system for mobile, communications is a technology that uses narrowband TDMA, whichallows eight simultaneous calls on the same radio frequency. TDMA is short for Time Division MultipleAccess. TDMA technology uses time division multiplexing and divides a radio frequency into timeslots and then allocates these slots to multiple calls thereby supporting multiple, simultaneous data channels. 1 (c) Differentiate between Freeware & Shareware 1 Freeware: Freeware are the software freely available, which permit redistribution but not modification (and their source code is not available). Freeware is distributed in Binary Form (ready to run) without any licensing fees. Shareware: Software for which license fee is payable after some time limit, its source code is not available and modification to the software are not allowed. (e) What is the purpose of using FTP? 1 20

21 Ans: (i)to promote sharing of files (computer programs and/or data). (ii)to encourage indirect or implicit use of remote computers (f) Sathyam computers decided to open a new a office at Ernakulum, the office consist of Five Buildings and each contains number of computers. the details are shown below. 5 Building-1 Building-2 Building-3 Building-4 Building-5 Distance between the buildings Building 1 and 2 20 Meters Building 2 and 3 50 Meters Building 3 and Meters Building 3 and 5 70 Meters Building 1 and 5 65 Meters Building 2 and 5 50 Meters Building No of computers Computers in each building are networked but buildings are not networked so far. The Company has now decided to connect building also. (i) Suggest a cable layout for connecting the buildings Correct layout (1 Mark) (ii) In each of the buildings, the management wants that each LAN segment gets a dedicated bandwidth i.e bandwidth must not be shared. How can this be achieved? A dedicated speed can be obtained by connecting computers via Switch. (iii) Do you think anywhere Repeaters required in the campus? Why YES, Between Building 3 & 4, Because the distance is more than 100 meter, to avid data lose repeater is the best choice (iv) The company wants to link this office to their head office at Delhi (a) Which type of transmission medium is appropriate for such a link? (b) What type of network would this connection result into? Wireless communication, Satellite communication is the optimum choice (vi) Where server & modem to be installed? why? In Building 3, Because the maximum number of computers are there, as per rule Modem and server to be kept there. because 80 percent of traffic is internal in a network.. 21

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

More information

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

More information

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

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

More information

KE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70

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

More information

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

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

More information

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

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

More information

Sample Paper, 2015 Subject: Computer Science Class 12 th

Sample 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 information

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

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

More information

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

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

More information

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER-5 BLUE PRINT CLASSS XII COMPUTER SCIENCE (083) TIME: 03:00 Hrs. MAX. MARKS: 70 S.No.

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER-5 BLUE PRINT CLASSS XII COMPUTER SCIENCE (083) TIME: 03:00 Hrs. MAX. MARKS: 70 S.No. KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER-5 BLUE PRINT CLASSS XII COMPUTER SCIENCE (83) TIME: 3: Hrs. MAX. MARKS: 7 S.No. UNIT VS A (1 TOTAL SA I (2 Marks) SA II (3 Marks) L A (4 Marks) Mark) Review

More information

Model Sample Paper 2015

Model 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 information

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

More information

KENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board )

KENDRIYA 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 information

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

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

More information

COMPUTER SCIENCE 1998 (Delhi Board)

COMPUTER SCIENCE 1998 (Delhi Board) COMPUTER SCIENCE 1998 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) Define the following terms: (i)

More information

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

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

More information

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

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

More information

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

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

More information

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

JB 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 information

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

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

More information

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

More information

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

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

More information

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

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

More information

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

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

More information

CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE

CAMBRIDGE 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 information

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

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

More information

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

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

More information

CLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS)

CLASS 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 information

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

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

More information

COMPUTER SCIENCE

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

More information

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

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

More information

CHAPTER 4 FUNCTIONS. 4.1 Introduction

CHAPTER 4 FUNCTIONS. 4.1 Introduction CHAPTER 4 FUNCTIONS 4.1 Introduction Functions are the building blocks of C++ programs. Functions are also the executable segments in a program. The starting point for the execution of a program is main

More information

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

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

More information

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE- CLASS- XII. Marking scheme

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE- CLASS- XII. Marking scheme KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE- CLASS- XII Marking scheme 1(a) On program execution, the compiler starts execution from the function main().this

More information

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

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

More information

2016 COMPUTER SCIENCE

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

More information

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

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

More information

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

KENDRIYA 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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

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

More information

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

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

More information

KENDRIYA 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 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 information

#include<iostream.h> #include<conio.h> #include<ctype.h>

#include<iostream.h> #include<conio.h> #include<ctype.h> Sample Paper -205 Sub:Computer Science Class XII Time: 3Hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C++.(a)Give the difference between the type casting and

More information

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

Sample 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 information

Question Bank Class XII Subject : Computer Science

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

More information

CLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A1(SOLUTIONS)

CLASS 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 information

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

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

More information

KE 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 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 information

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOME WORK XII COMPUTER SCIENCE ARRAY AND STRUCTURES

KENDRIYA 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 information

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

More information

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

void 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 information

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

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

More information

Sample Paper 2012 Class XII Subject Computer Science

Sample 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 information

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

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

More information

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

More information

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

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

More information

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

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

More information

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

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

More information

I Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2

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

More information

BLUE PRIENT SUBJECT:- Computer Science

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

More information

HOLIDAY HOMEWORK ASSIGNMENT-5 Q1. What will be the output of the following program segment Class Num { int x; float y; public: void init( ) { x = y =

HOLIDAY HOMEWORK ASSIGNMENT-5 Q1. What will be the output of the following program segment Class Num { int x; float y; public: void init( ) { x = y = HOLIDAY HOMEWORK ASSIGNMENT-5 Q1. What will be the output of the following program segment Class Num { int x; float y; void init( ) { x = y = 0; void read(int i, float j) { x = i; y = j; void Display (

More information

COMPUTER SCIENCE 2002 (Delhi Board)

COMPUTER SCIENCE 2002 (Delhi Board) COMPUTER SCIENCE 2002 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) What the purpose of a header

More information

Computer Science 2006 (Delhi)

Computer Science 2006 (Delhi) Computer Science 6 (Delhi) General Instructions: Q... All questions are compulsory.. Programming Language: C++ a. Name the header file to which the following belong () i. abs( ) ii. isupper( ) b. Illustrate

More information

Sample Paper Class XI Subject Computer Sience UNIT TEST II

Sample 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 information

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

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

More information

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

ITL 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 information

KendriyaVidyalayaSangathan Kolkata Region

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

More information

BRAIN INTERNATIONAL SCHOOL. Term-I Class XI Sub: Computer Science Revision Worksheet

BRAIN 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 information

Computer 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 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 information

High Order Thinking Skill Questions Subject : Computer Science Class: XII 1 Mark Questions Programming in C++ 1. Observe the program segment carefully and answer the question that follows: int getitem_no(

More information

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

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

More information

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

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

More information

Object Oriented Programming Using C++ UNIT-3 I/O Streams

Object 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 information

Sample Paper 2015 Class XII Subject Computer Science

Sample Paper 2015 Class XII Subject Computer Science Sample Paper 2015 Class XII Subject Computer Science MAX. MARKS: 70 Note (i) (ii) All questions are compulsory. (ii) Programming Language : C++ TIMES: 3 HOURS Q1. (a) Write a macro using #define directive

More information

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

COMMON 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 information

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

2 SEMESTER EXAM CLASS : 12 DECEMBER 2016 TIME : 3 Hrs MAX MARKS : 70 SEMESTER EXAM CLASS : DECEMBER 06 TIME : Hrs MAX MARKS : 70. a) A D array MAT[40][0] is stored in memory as row wise. If the address of MAT[4][8] is 9 and width (W) is bytes find the address of MAT[0][9].

More information

Computer Science 2006 (Outside Delhi)

Computer Science 2006 (Outside Delhi) Computer Science 6 (Outside Delhi) General Instructions: Q... All questions are compulsory.. Programming Language: C++ a. Name the header file to which the following belong: () i. pow( ) ii. random( )

More information

UNIT- 3 Introduction to C++

UNIT- 3 Introduction to C++ UNIT- 3 Introduction to C++ C++ Character Sets: Letters A-Z, a-z Digits 0-9 Special Symbols Space + - * / ^ \ ( ) [ ] =!= . $, ; : %! &? _ # = @ White Spaces Blank spaces, horizontal tab, carriage

More information

void display(){ cout << trainno.<< :>>Description<<endl; }; void main() {TRAIN T; Entry.(); Display.(); d) 410 e) i) south:east:south f) temttoe

void 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 information

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

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

More information

CLASS-XI COMPUTER SCIENCE

CLASS-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 information

COMPUTER SCIENCE Paper 1

COMPUTER SCIENCE Paper 1 COMPUTER SCIENCE Paper 1 (THEORY) (Three hours) Maximum Marks: 70 (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) -----------------------------------------------------------------------------------------------------------------------

More information

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

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

More information

Downloaded from

Downloaded from DATA FILE HANDLING IN C++ Key Points: Text file: A text file stores information in readable and printable form. Each line of text is terminated with an EOL (End of Line) character. Binary file: A binary

More information

KENDRIYA VIDAYALAYA PANGODE MONTHLY TEST AUGUST 2015

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

More information

CBSE 12th Computer Science Question Papers

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

More information

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

Sample 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 information

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

KUWAIT 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 information

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

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE. CLASS- XII Time Allowed: 3 hours Max. KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS- XII Time Allowed: 3 hours Max.Marks : 70 1. (a)why main() so special in C++. Give at least two reasons.

More information

SAMPLE PAPER-2015 Class-XII SUB:-COMPUTER SCIENCE

SAMPLE PAPER-2015 Class-XII SUB:-COMPUTER SCIENCE SAMPLE PAPER-2015 Class-XII SUB:-COMPUTER SCIENCE MAX.MARKS: 70 DURATION : 3 Hrs. 1. a) Observe the program segment given below carefully, and answer the question that follows. [1] class Book { int Book_no

More information

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

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

More information

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

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

More information

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat Ch - 7. Data File Handling

Kapil 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

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

COMPUTER 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 information

Convenient way to deal large quantities of data. Store data permanently (until file is deleted).

Convenient 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 information

POINTERS - 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 information

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

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

More information

1. Answer the following : a) What do you mean by Open Source Software. Give an example. (2)

1. Answer the following : a) What do you mean by Open Source Software. Give an example. (2) THE AIR FORCE SCHOOL Class XI First Terminal Examination 2017-18 Computer Science (083) Time: 3 hrs. M. Marks : 70 General Instructions : (i) All the questions are compulsory. (ii) Programming Language

More information

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each. I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK 70. a) What is the difference between Hardware and Software? Give one example for each. b) Give two differences between primary and secondary memory.

More information

Padasalai.Net s Model Question Paper

Padasalai.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 information

SBOA 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 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 information