ARMY PUBLIC SCHOOL NO.2, JABALPUR Important Questions SUBJECT: COMPUTER SCIENCE(XII)

Size: px
Start display at page:

Download "ARMY PUBLIC SCHOOL NO.2, JABALPUR Important Questions SUBJECT: COMPUTER SCIENCE(XII)"

Transcription

1 ARMY PUBLIC SCHOOL NO.2, JABALPUR Important Questions SUBJECT: COMPUTER SCIENCE(XII) Q.1 (a) Explain conditional operator with suitable example? (b) Will the inline function be complied as the inline function always? justify (c) Explain in brief the purpose of function prototyping with the help of a suitable example. Q.2 (a) Write the type of C++ Operators (Arithmetic, Logical, and Relational Operators) from the following: (b) (i)!(ii)!=(iii) &&(iv) % Write a function SWAP2CHANCE (int p [],int n) in c++ to modify the content of the array in such a way that the elements, which are multiples of 10 swap with the value present in the very next position in the array. For example: In the content of array p is 91,50,54,22,30,54 The content of array p should become 91,54,50,22,54,30 Q.3 (a) Find and write the output of the following C++ program code: Note: Assume all required header files are already being included in the program. void main( ) int Ar[ ] = 6, 3, 8, 10, 4, 6, 7 ; int *Ptr = Ar, I ; cout<<++*ptr++ << '@' ; I = Ar[3] - Ar[2] ; cout<<++*(ptr+i)<<'@'<<"\n" ; cout<<++i + *Ptr++ << '@' ; cout<<*ptr++ <<'@'<< '\n' ; for( ; I >=0 ; I -=2) cout<<ar[i] << '@' ; 1 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

2 (b) Find and write the output of the following C++ program code: Note: Assume all required header files are already being included in the program. #define Diff(N1,N2) ((N1>N2)?N1-N2:N2-N1) void main() int a,b,num[]=10,23,14,54,32; for(int cnt=4;cnt>0;cnt++) A=num[cnt]; B=num[cnt-1]; cout<<diff(a,b)<< # ; (c) What is difference between Local Variable and Global Variable? Also give a suitable c++ Code to illustrate both. Q.4 Observe the following program very carefully and write the name of those header file(s), wh are essentially needed to compile and execute the following program successfully: void main() char text[20], newtext[20]; gets(text); strcpy(newtext,text); for(int i=0;i<strlen(text);i++) if(text[i]== A ) text[i]=text[i]+2; puts(text); Q.5 What is a copy constructor? Illustrate with a suitable C++ example. Q.6 Which C++ header file(s) are essentially required to be included to run/execute the following C++ code: void main () char *word1="hello, *word2="friends"; strcat(word1, word2); cout<<word1; Q.7 Rewrite the following program after removing the syntactical errors (if any). Underline each correction. #include<conio.h> #include<iostream.h> 2 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

3 #include<string.h> #include<stdio.h> class product Int product_code, qty, price; char name [20]; public: product () product_code=0; qty=0; price=0; name=null; void entry () cout<<"\n Enter code,qty,price"; cin>>product_code>>qty>>price; gets(name); void tot price () return qty*price; ; void main () p product; p. entry(); cout<<tot price (); Q.8 Write the output of the following C++ program code: Note: Assume all required header files are already being included in the program. class seminar char topic[30]; int charges; public: seminar() strcpy(topic,"registration"); charges=5000; seminar(char t[]) strcpy(topic,t); charges=5000; seminar(int c) strcpy(topic,"registration with Discount"); charges=5000-c; 3 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

4 void regis(char t[],int c) strcpy(topic,t); charges=charges+c; void regis(int c=2000) charges=charges+c; void subject(char t[],int c) strcpy(topic,t); charges=charges+c; void show() ; void main() seminar s1,s2(1000),s3("genetic Mutation"),s4; s1.show(); s2.show(); s1.subject("ict",2000); s1.show(); s2.regis("cyber Crime",2500); s2.show(); s3.regis(); s3.show(); s4=s2; s4.show(); getch(); Q.9 Observe the following program and find out, which output(s) out of (i) to (iv) will be expected from the program? What will be the minimum and the maximum value assigned to the variable Alter? Note: Assume all required header files are already being included in the program. void main( ) randomize(); int Ar[]=10,7, N; int Alter=random(2) + 10 ; for (int C=0;C<2;C++) N=random(2) ; cout<<ar[n] +Alter<< # ; 4 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

5 (i) 21#20# (ii) 20#18# (iii) 20#17# (iv) 21#17# Q.10 Define Macro with suitable example. Q.11 (a) Define a class Ele_Bill in C++ with the following descriptions: Private members: Cname of type character array Pnumber of type long No_of_units of type integer Amount of type float. Calc_Amount( ) This member function should calculate the amount asno_of_units*cost. Amount can be calculated accordingto the following conditions: No_of_units Cost : First 50 units Next 100 units Next 200 units Remaining units Free unit unit unit (b) Public members: * A function Accept( ) which allows user to enter Cname, Pnumber, No_of_units and invoke function Calc_Amount(). * A function Display( ) to display the values of all the data members on the screen. Write the definition of class BOX in C++ with the following Description: Private members: BOXNUMBER //DATA MEMBER OF INTERGER TYPE SIDE //DATA MEMBER OF FLOAT AREA //DATA MEMBER OF FLOAT EXECAREA() // MEMBER FUNCTION TO CALCULATE AND ASSIGN AREA AS SIDE*SIDE PUBLIC MEMBERS GETBOX() SHOWBOX() //A FUNCTION TO ALLOW USER TO ENTER VALUES OF BOXNUMBER AND SIDE.ALSO,THIS FUNCTION SHOULD CALL EXECAREA()TO CALCULATE AREA //A FUNCTION TO DISPLAY BOXNUMBER,SIDE AND AREA Q.12 Answer the questions (i) and (ii) after going through the following class : class Exam int Rollno; char Cname[25]; float Marks ; public : Exam( ) //Function 1 Rollno = 0 ; 5 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

6 Cname= ; Marks=0.0; Exam(int Rno, char candname) //Function 2 Rollno = Rno ; strcpy(cname,candname); ~Exam( ) //Function 3 cout << Result will be intimated shortly << endl ; void Display( ) //Function 4 cout << Roll no : <<Rollno; cout<< Name : <<Cname; cout << Marks: <<Marks; ; (i)which OOP concept does Function 1 and Function 2 implement Explain? (ii)what is Function 3 called? When will it be invoked? Q.13 Define a class Candidate in C++ with the following specification : Private Members : A data members Rno(Registration Number) type long A data member Cname of type string A data members Agg_marks (Aggregate Marks) of type float A data members Grade of type char A member function setgrade () to find the grade as per the aggregate marks obtained by the student. Equivalent aggregate marks range and the respective grade as shown below. Aggregate Marks Grade >=80 A Less than 80 and >=65 B Less than 65 and >=50 C Less than 50 D Public members: A constructor to assign default values to data members: Rno=0,Cname= NA, Agg_marks=0.0 A function Getdata () to allow users to enter values for Rno. Cname, Agg_marks and call function setgrade () to find the grade. A function dispresult( ) to allow user to view the content of all the data members. Q.14 Consider the following C++ program code and choose the option(s) which are not possible as output. Also, print the minimum & maximum value of variable Pick during complete execution of the program.(assume all necessary header files are included in program): 6 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

7 Q.15 Give the following class definition answer the question that is follow: class University char name [20]; protected : char vc[20]; public : void estd(); void inputdata(); void outputdata(); class College : protected University int regno; protected char principal() public : int no_of_students; void readdata(); void dispdata ( ); ; class Department : public College char name[20]; char HOD[20]; public : void fetchdata(int); void displaydata( ); i). Name the base class and derived class of college. ii) Name the data member(s) that can be accessed from function displaydata. 7 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

8 iii) What type of inheritance is depicted in the above class definition? iv) What will be the size of an object (in bytes) of class Department? Q.16 An integer array A [30][40] is stored along the column in the memory.if the element A[20][25] is stored at 50000, find out the location of A[25][30]. Q.17 (a) Write the definition of functions for the linked implemented queue containing passenger informationas follows: struct NODE int Ticketno; char PName[20]; NODE * NEXT; ; (b) class Queueofbus NODE *Rear, *Front; public: Queueofbus() Rear = NULL; Front = NULL; ; void Insert(); void Delete(); ~Queueofbus() cout<<"object destroyed"; ; Write a function in C++ to perform insert operation in a static circular queue containing Book s information. struct BOOK long accno; char[title]; ; Q.18 Write a function to sort any array of n elements using insertion sort. Array should be passed as argument to the function. Q.19 Write the definition of function named Array_Swap() that will accept an integer array & its size as arguments and the function will interchange/swap elements in such a way that the first element is swapped with the last element, second element is swapped with the second last element and so on, only if anyone or both the elements are odd. E.g. if initially array of seven elements is: 5, 16, 4, 7, 19, 8, 2 After execution of the above function, the contents of the array will be: 2,16, 19, 7, 4, 8, 5 Q.20 Write a function in C++ to search and display details, whose destination is Chandigarh from Binary file Flight.Dat. Assuming the binary file is containing the objects of the following 8 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

9 class: class FLIGHT int Fno; // Flight Number char From[20]; // Flight Starting Point char To[20]; // Flight Destination public: char * GetFrom ( ); return from; char * GetTo( ); return To; void input() cin>>fno>>; gets(from); get(to); void show( ) cout<<fno<< : <<From << : <<To<<endl; ; Q.21 Write the definition of a user-defined function REPEAT_ROW(int A[][3],int R, int C) in C++ that will store the elements in the following manner 1. All row elements except the 1st element replaced by the 1st element, 2. All row elements except the 1st & 2nd element replaced by the 2nd element, 3. All row elements except the 1st, 2nd & 3rd element replaced by the 3rd element and so on. For example: if initially the array was:- Then, the contents of the array after execution of the above function will be:- Q.22 What do you understand by Function overloading or Functional polymorphism? Explain with suitable example. Q.23 Write the output of the following C++ code. Also, write the name of feature of Object Oriented Programming used in the following program jointly illustrated by the Function 1 to Function 4. void My_fun ( ) // Function 1 for (int I=1 ; I<=50 ; I++) cout<< "-" ; cout<<end1 ; void My_fun (int N) // Function 2 for (int I=1 ; I<=N ; I++) cout<<"*" ; cout<<end1 ; void My_fun (int A, int B) // Function 3 9 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

10 for (int I=1. ;I<=B ;I++) cout <<A*I ; cout<<end1 ; void My_fun (char T, int N) // Function 4 for (int I=1 ; I<=N ; I++) cout<<t ; cout<<end1; void main ( ) int X=7, Y=4, Z=3; char C='#' ; My_fun (C,Y) ; My_fun (X,Z) ; Q.24 Write any four differences between Constructor and Destructor function with respect to object oriented programming. Q.25 Answer the questions(i) and (ii) after going through the following class: class planet char name[20]; char distance[20]; public: planet() //Function 1 strcpy(name, "Venus"); strcpy(distance,"38 million km"); void display(char na[],char d[]) //Function 2 cout<<na<<"has "<<d<<" distance from Earth"<<endl; planet(char na[], char d[]) //Function 3 strcpy(name,na); strcpy(distance,d); ~planet() //Function 4 cout<<"planetarium time over!!!"<<endl; ; (i) (ii) What is function 1 referred as? When will it be executed? (ii (iv) Write suitable c++ Statement to invoke function 2. Q.26 What is link list? Write a c++ program to implement the concept of link list. 10 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

11 Q.27 Write a user-defined function AddEnd4(int A[][4],int R,int C) in C++ to find and display the sum of all the values, which are ending with 4 (i.e., unit place is 4). For example if the content of array is: The output should be 42 Q.28 Write a user defined function in C++ to find the sum of both left and right diagonal elements from a two dimensional array. Q.29 Answer the questions (i) to (iv) based on the following: class indoor_sports int i_id; char i_name[20]; char i_coach[20]; protected: int i_rank,i_fee; void get_ifee(); public: indoor_sports(); void ientry(); void ishow(); ; class outdoor_sports int o_id; char o_name[20]; char o_coach[20]; protected: int orank,ofee; void get_ofee(); public: outdoor_sports(); void oentry(); void oshow(); ; class sports:public indoor_sports,protected outdoor_sports char rules[20]; public: sports(); void registration(); void showdata(); ; (i) Name the type of inheritance illustrated in the above C++ code. (ii) Write the names of all the members, which are accessible from the objects belonging to class outdoor_sports. (iii) Write the names of all the member functions, which are accessible from the member function of class sports. 11 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

12 Q.30 Define a class DanceAcademy in C++ with following description: Private Members Enrollno of type int Name of type string Style of type string Fee of type float A member function chkfee( ) to assign the value of fee variable according to the style entered by the user according to the criteria as given below: Public Members: A function enrollment () to allow users to enter values for Enrollno, Name, Style and call function chkfee() to assign value of fee variable according to the Style entered by the user. A function display () to allow users to view the details of all the data members. Q.31 Write a user-defined function named Count() that will read the contents of text file named Report.txt and display the count of the number of lines that start with either I or M. E.g. In the following paragraph, there are 3 lines starting with I or M : India is the fastest growing economy. India is looking for more investments around the globe. The whole world is looking at India as a great market. Most of the Indians can foresee the heights that India is capable of reaching. Q.32 Find the output of the following : #include<iostream.h> void switchover(int A[ ],int N, int split) for(int K = 0; K<N; K++) if(k<split) A[K] += K; else A[K]*= K; void display(int A[ ],int N) for(int K = 0; K<N; K++) (K%2== 0)?cout<<A[K]<<"%" : cout<<a[k]<<endl; 12 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

13 Q.33 void main( ) int H[ ] = 30,40,50,20,10,5; switchover(h,6,3); display(h,6); (i) (ii) Write a function named Change_Item(int Id, float Pr) to modify the price of the item whose Itemid & new price are passed as an argument. Q.34 Write a function display () in C++ to display all the students who have got a distinction(scored percentage more than or equal to 75) from a binary file stud.dat, assuming the binary file is containing the objects of the following class: class student int rno; char sname [20]; int percent; public: int retpercent() return percent; void getdetails() 13 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

14 cin>>rno; gets(sname); cin>>percent; void showdetails() cout<<rno; puts(sname); cout<<percent; ; Q.35 Consider the following relations MobileMaster & MobileStock:-. Write the SQL query for questions from (i) to (v) & write the output of SQL command for questions from (vi) to (viii) given below:- (i) Write a SQL command for creating above tables where M_Id is primary key in 1 st table and M_Id is foreign key in 2 nd table in mobile stock. (ii) Display the Mobile company, Mobile name & price in descending order of their manufacturing date. (iii) List the details of mobile whose name starts with S. (iv) Display the Mobile supplier & quantity of mobiles whose M_ID MB003. (v) To display the name of mobile company having price between 3000 & (vi) SELECT M_Id, SUM(M_Qty) FROM MobileStock GROUP BY M_Id; (vii) (viii) SELECT MAX(M_Mf_Date), MIN(M_Mf_Date) FROM MobileMaster; SELECT M1.M_Id, M1.M_Name, M2.M_Qty, M2.M_Supplier FROM MobileMaster M1, MobileStock M2 WHERE M1.M_Id=M2.M_Id AND 14 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

15 M2.M_Qty>=300; Q.36 Write SQL queries for (a) to (f) and write the outputs for the SQL queries mentioned shown in (h1) to (h4) parts on the basis of tables PRODUCTS and SUPPLIERS. (a)to display the details of all the products in ascending order of product names (i.e. P NAME). (b) To display product name and price of all those products, * whose price is in the range of and (both value inclusive). (c) To display the number of products, which are supplied supplier, i.e., the expected output should be: S01 2 S02 2 S03 1 (d) To display the price, product name and quantity (i.e., qty) of those products which have quantity more than 100. (e) To display the names of those suppliers, who are either from DELHI or from CHENNAI? (f) To display the name of the companies and the name of the products in descending order of company names. (g) Obtain the outputs of the following SQL, queries based on the data given in tables PRODUCTS and SUPPLIERS above, (h1) SELECT DISTINCT SUPCODE FROM PRODUCTS; (h2) SELECT MAX(PRICE), MIN(PRICE) FROM PRODUCTS; (h3) SELECT PRICE*QIY AMOUNT FROM PRODUCTS WHERE PID=104; (h4) SELECT PNAME,SNAME FROM PRODUCTS P, SUPPLIERS S Q.37 Write SQL commands for the queries (i) to (iv) and output for (v) to based on the tables Watches and Sale given below. 15 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

16 1) To display all the details of those watches whose name ends with Time. 2) To display watch s name and price of those watches which have price range in between ) To display total quantity in store of Unisex type watches. 4) To display watch name and their quantity sold in first quarter. 5) select max(price), min(qty_store) from watches; 6) select quarter, sum(qty_sold) from sale group by quarter; 7) select watch_name,price,type from watches w, sale s where a. w.watchid!=s.watchid; 8) select watch_name, qty_store, sum(qty_sold), qty_storesum(qty_sold) Stock from watches w, sale s where w.watchid=s.watchid group by s.watchid; Q.38 Draw the equivalent logic circuit for the following Boolean expression:(a.b)+c Q.39 Write the POS form of a Boolean Function F, which is represented in a truth table as follows: P Q R F A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

17 Q.40 Reduce the following Boolean Expression using K Map: F(A,B,C,D)= Q.41 Identify the type of topology on the basis of the following: a. Since every node is directly connected to the server, a large amount of cable is needed which increases the installation cost of the network. b. It has a single common data path connecting all the nodes. Q.42 Write the definition of a member function push() for a class Library in C++ to insert a book information in a dynamically allocated stack of books considering the following code is already written as a part of the program: struct book int bookid; char book_name[20]; book *next; ; class Library book *top; public: Library() top=null; void push(); void pop(); void disp(); ~Library(); ; Q.43 Write a user-defined function swap_row(int ARR[ ][3],int R,int C) in C++ to swap the first row values with the last row values: For example if the content of the array is: Then after function call, the content of the array should be: 17 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

18 Q.44 Evaluate the following POSTFIX expression. Show the status of Stack after execution of each operation separately: 45, 45, +, 32, 20, 10, /, -,* Q.45 Write a user defined function word_count () in C++ to count how many words are present in a text file named opinion.txt. For example, if the file opinion.txt contains following text: Co-education Co-education system system is is necessary necessary for for a a balanced balanced society. society. With With co-education co-education system, system, Girls Girls and and Boys Boys may may develop develop a feeling a feeling of of mutual respect towards each other. mutual respect towards each other. The function should display the following: Total number of words present in the text file are: 24 Q.46 State & prove De-Morgan s law using truth table. Q.47 Ravya Industries has set up its new center at Kaka Nagar for its office and web based activities. The company compound has 4 buildings as shown in the diagram below: Center to center distances between various buildings is as follows: 18 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

19 Number of Computers in each of the buildings is follows: (i) (ii) Suggest a cable layout of connections between the buildings. (iii) Suggest the most suitable place (i.e. building) to house the server of this organization with a suitable reason. (iv) Suggest the placement of the following devices with justification: Internet Connecting Device/Modem Switch (v) The organization is planning to link its sale counter situated in various parts of the same city, which type of network out of LAN, MAN or WAN will be formed? Justify your answer. Q.48 Consider the following tables GAMES and PLAYER and answer (b) and (c) parts of this question: Table: GAMES Table: PLAYER 19 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

20 Write SQL commands for the flowing statements: (i) To display the name of all GAMES with their GCodes (ii) To display details of those GAMES which are having PrizeMoney more than (iii) To display the content of the GAMES table in ascending order of Schedule Date. (iv) To display sum of PrizeMoney for each Type of GAMES Give the output of the following SQL queries: (i) SELECT COUNT(DISTINCT Number) FROM GAMES; (ii) SELECT MAX(ScheduleDate),MIN(ScheduleDate) FROM GAMES; (ii) SELECT Name, GameName FROM GAMES G, PLAYER P WHERE G.Gcode=P.Gcode AND G.PrizeMoney>10000; (iv) SELECT DISTINCT Gcode FROM PLAYER; Q.49 Write a function in C++ to count the words this and these present in a text file ARTICLE.TXT. 2 [Note that the words this and these are complete words] Q.50 Observe the program segment given below carefully and fill the blanks marked as Statement 1 and Statement 2 using tellg() and seekp() functions for Performing the required task. 1 #include <fstream.h> class Client long Cno; char Name[20], [30] ; public: //Function to allow user to enter the Cno, Name, void Enter() ; //Function to allow user to enter (modify) void Modify() ; long ReturnCno() return Cno; ; void Change () Client C; fstream F; F.open ( INFO.DAT,ios::binary ios::in ios::out); long Cnoc;//Client s no. whose needs to be changed cin>>cnoc; while (F.read((char*)&C, sizeof(c))) if (Cnoc==C.ReturnCno()) C.Modify(); //Statement 1 int Pos = //To find the current position of file pointer // Statement 2 //To move the file pointer to write the //modified record back onto the file //for the desired Cnoc 20 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

21 F.write((char*)&C, sizeof(c)); F.close(); Q.51 What is the difference between Trojan Horse and Virus in terms of computers? Q.52 What term we use for a software/hardware device, which is used to block, Unauthorized access while permitting authorized communications. This term is also used for a device or set of devices configured to permit, deny, encrypt, decrypt, or proxy all (in and out) computer traffic between different security Domains based upon a set of rules and other criteria. Q.53 Learn Together is an educational NGO. It is setting up its new campus at Jabalpur for its web based activities. The campus has 4 compounds as shown in the diagram below: Center to center distances between various Compounds as per architectural drawings (in Metre) is as follows : Expected Number of Computers in each Compound is as follows : 21 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

22 (i) (i) Suggest a cable layout of connections between the compounds. (ii) Suggest the most suitable place (i.e. compound) to house the server for this NGO. Also, provide a suitable reason for your suggestion. (iii) Suggest the placement of the following devices with justification : Repeater Hub/Switch (iv) The NGO is planning to connect its International office situated in Mumbai, Which out of the following wired communication link, you will suggest for very high speed connectivity? 22 A r m y P u b l i c S c h o o l N o 2, J A K R R C J A B A L P U R

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

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

Downloaded from

Downloaded from SQP - Computer Science (Code: 083) Class XII (016-17) Time: 3Hrs. MM: 70 Instructions: i. All Questions are Compulsory. ii. Programming Language : Section A : C++ iii. Programming Language : Section B

More information

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

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

More information

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

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

More information

THE INDIAN COMMUNITY SCHOOL, KUWAIT

THE INDIAN COMMUNITY SCHOOL, KUWAIT THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : I MODEL / 2017-2018 CODE : N 083 TIME ALLOWED : 3 HOURS NAME OF STUDENT : MAX. MARKS : 70 ROLL NO. :.. CLASS/SEC :.. NO. OF PAGES : 10 COMPUTER SCIENCE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More information

1. a) Find the correct identifiers out of the following, which can be 2 used for naming Variable, Constants or Functions in a C++ program:

1. a) Find the correct identifiers out of the following, which can be 2 used for naming Variable, Constants or Functions in a C++ program: SECOND PREBOARD EXAMINATION (2017 18) CLASS: XII Subject: COMPUTER SCIENCE Date: 24.1.2018 Time Allowed: 3 Hours Maximum Marks: 70 General instructions: (1) All questions are compulsory. (2) Marks are

More information

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

Class XII Computer Science (083) Sample Question Paper Time allowed: 3 Hours Max. Marks: 70

Class XII Computer Science (083) Sample Question Paper Time allowed: 3 Hours Max. Marks: 70 Class XII Computer Science (083) Sample Question Paper 2018-19 Time allowed: 3 Hours Max. Marks: 70 General Instructions: (a) All questions are compulsory. Programming Language with C++ In Question 2(b,

More information

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

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

More information

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

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

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

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

More information

KENDRIYA VIDYALAYA SANGATHAN 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

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

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

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

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

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

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

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

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

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

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

Data File Handling FILL IN THE BLANKS EACH QUESTION CARRY 1 MARK

Data File Handling FILL IN THE BLANKS EACH QUESTION CARRY 1 MARK Data File Handling FILL IN THE BLANKS EACH QUESTION CARRY 1 MARK 1.. Observe the program segment given below carefully, and answer the question that follows: class Labrecord int Expno; char Expriment[20];

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, 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

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

(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

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

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

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

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

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

KENDRIYA VIDYALAYA SANGATHAN,MUMBAI REGION 1 ST PRE-BOARD EXAMINATION TIME- 3 HRS. CLASS-XII SUBJECT-COMPUTER SCIENCE MARKS-70 MARKING SCHEME

KENDRIYA VIDYALAYA SANGATHAN,MUMBAI REGION 1 ST PRE-BOARD EXAMINATION TIME- 3 HRS. CLASS-XII SUBJECT-COMPUTER SCIENCE MARKS-70 MARKING SCHEME KENDRIYA VIDYALAYA SANGATHAN,MUMBAI REGION ST PRE-BOARD EXAMINATION-8-9 TIME- 3 HRS. CLASS-XII SUBJECT-COMPUTER SCIENCE MARKS-7 MARKING SCHEME QUE- [A] Write the type of C++ tokens (keywords and user defined

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

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

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

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

More information

KENDRIYA 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

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

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

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

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

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

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

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

(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

(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

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

SECTION A [Only for candidates, who opted for C++]

SECTION 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 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

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

Rich Harvest Public School Holiday Homework Session: Class -XII

Rich Harvest Public School Holiday Homework Session: Class -XII R.H.P.S HHW XII 017-18 Rich Harvest Public School Holiday Homework Session: 017-18 Class -XII Note: The Holiday Homework should be done as per the instructions given by the teachers. Submit the holiday

More information

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

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

More information

JB ACADEMY HALF-YEARLY EXAMINATION 2016 CLASS XII COMPUTER SCIENCE. Time: 3:00 Hrs. M.M.: 70

JB ACADEMY HALF-YEARLY EXAMINATION 2016 CLASS XII COMPUTER SCIENCE. Time: 3:00 Hrs. M.M.: 70 JB ACADEMY HALF-YEARLY EXAMINATION 2016 CLASS XII COMPUTER SCIENCE Time: 3:00 Hrs. M.M.: 70 Q.1 (a) Explain in brief the purpose of function prototype with the help of a suitable example. (b) Identify

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

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

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

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

More information

Downloaded from

Downloaded from QUARTERLY EXAMINATION, 2013 14 SUBJECT: COMPUTER SCIENCE TIME : 3 hrs CLASS : XII M.M.-70 Instructions: (1) All the questions are compulsory. (2) Programming Language C++ 1 (a) Illustrate the concept of

More information

Computer Science 330 Assignment

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

More information

vinodsrivastava.com Constructor and Destructor

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

More information

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

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

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

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

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

More information

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

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

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

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Degree & Branch : B.E E.C.E. Year & Semester : II / IV Section : ECE 1, 2 &

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

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 (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

MARKING SCHEME Subject: Computer Science Class: XII ( )

MARKING SCHEME Subject: Computer Science Class: XII ( ) Time: 3 Hrs. Instructions: Q. No. (a) All questions are compulsory, (b) wer either Section A or Section B: MARKING SCHEME Subject: Computer Science Class: XII (2017-18) (i) Section A - Programming Language

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION 2018-19 CLASS XII Sub: COMPUTER SCIENCE (083) Time allowed: 3 Hours Max. Marks: 70 General Instructions: (a) All questions are

More information

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

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

More information

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

THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION COMPUTER SCIENCE ( Code : 083) ANSWER KEY

THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION COMPUTER SCIENCE ( Code : 083) ANSWER KEY THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION 05 ---- COMPUTER SCIENCE ( Code : 08) ANSWER KEY. MARK a) Function overloading is implemented in C++ programs when multiple functions are defined

More information

C++ 8. Constructors and Destructors

C++ 8. Constructors and Destructors 8. Constructors and Destructors C++ 1. When an instance of a class comes into scope, the function that executed is. a) Destructors b) Constructors c) Inline d) Friend 2. When a class object goes out of

More 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

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

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

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

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

Guru Gobind Singh Public School Sector : V/B, Bokaro Steel City

Guru Gobind Singh Public School Sector : V/B, Bokaro Steel City Guru Gobind Singh Public School Sector : V/B, Bokaro Steel City 1. a) Write the types of tokens(keywords and user identifiers) from the following : i) case ii) _delete iii) WHILE iv) 21stName b) Which

More 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

List of Practical for Class XII Computer Science

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

OOP THROUGH C++(R16) int *x; float *f; char *c;

OOP THROUGH C++(R16) int *x; float *f; char *c; What is pointer and how to declare it? Write the features of pointers? A pointer is a memory variable that stores the address of another variable. Pointer can have any name that is legal for other variables,

More information

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

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

More information

CBSE 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

Object Oriented Pragramming (22316)

Object Oriented Pragramming (22316) Chapter 1 Principles of Object Oriented Programming (14 Marks) Q1. Give Characteristics of object oriented programming? Or Give features of object oriented programming? Ans: 1. Emphasis (focus) is on data

More information

Questions Bank. 14) State any four advantages of using flow-chart

Questions Bank. 14) State any four advantages of using flow-chart Questions Bank Sub:PIC(22228) Course Code:-EJ-2I ----------------------------------------------------------------------------------------------- Chapter:-1 (Overview of C Programming)(10 Marks) 1) State

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

Assignment 3 Class XII (Computer Science 083) Topic Array

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

KENDRIYA VIDYALAYA SANGATHAN. Regional Office Delhi Split-up Syllabus Session Subject:-Computer Science Subject Code:-083

KENDRIYA VIDYALAYA SANGATHAN. Regional Office Delhi Split-up Syllabus Session Subject:-Computer Science Subject Code:-083 KENDRIYA VIDYALAYA SANGATHAN Regional Office Delhi Split-up Syllabus Session-2017-18 Subject:-Computer Science Subject Code:-083 COMPUTER SCIENCE (083)-Theory CLASS XII Unit wise Weightage of Marks Duration:3

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

DELHI PUBLIC SCHOOL, RUBY PARK, KOLKATA CLASS XII SUBJECT: COMPUTER SCIENCE QUESTION BANK FILE HANDLING:-

DELHI PUBLIC SCHOOL, RUBY PARK, KOLKATA CLASS XII SUBJECT: COMPUTER SCIENCE QUESTION BANK FILE HANDLING:- DELHI PUBLIC SCHOOL, RUBY PARK, KOLKATA CLASS XII SUBJECT: COMPUTER SCIENCE QUESTION BANK FILE HANDLING:- 1. Write a function in C++ to count and display the number of lines not starting with alphabet

More information