Model Sample Paper 2015

Similar documents
Sample Paper, 2015 Subject: Computer Science Class 12 th

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

Computer Science 2006 (Outside Delhi)

Computer Science[083]

BRAIN INTERNATIONAL SCHOOL. Computer Science Assignment CLASS XII OCTOBER 2018 Chapter-7. Data File Handling in C++ Text Files

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

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

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

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

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

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

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

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

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

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

COMPUTER SCIENCE

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

KendriyaVidyalayaSangathan Kolkata Region

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

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE

(Structured Query Language)

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

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

(1)Given a binary file PHONE.DAT, containing records of the following structure type class Phonlist { char Name[20]; char Address[30]; char

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

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:

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

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

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

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

KENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70

CBSE 12th Computer Science Question Papers

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

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

Code No. 91. (i) All questions are compuls9ry. 1. (a) What is the difference between Type Casting and Automatic Type

Downloaded from

DATA FILE HANDLING FILES. characters (ASCII Code) sequence of bytes, i.e. 0 s & 1 s

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

COMPUTER SCIENCE 1998 (Delhi Board)

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

Sample Paper 2012 Class XII Subject Computer Science

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

THE INDIAN COMMUNITY SCHOOL, KUWAIT

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 TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

91/1 COMPUTER SCIENCE. Series SHC/1. dksm ua- jksy ua- Code No. Roll No. Candidates must write the Code on the title page of the answer-book.

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

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

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

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

COMPUTER SCIENCE (083)

Question Bank Class XII Subject : Computer Science

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

AISSCE COMMON MODEL EXAMINATION Subject Computer Science [083] Time Allotted: 3 Hours Maximum Marks: 70

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

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

Computer Science 2006 (Delhi)

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

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

Downloaded from

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

Please check that this question paper contains 11 printed pages. Please write down the serial number of the question before attempting it.


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

QUESTION BANK SUB: COMPUTER SCIENCE(083)

Computer Science, Class XII ( ) (Summer Vacation-2015) (Holiday H.W) Chapter No.1 to 3

KENDRIYA VDYALAYA SANGATHAN ERNAKULAM REGION MODEL PAPER - SET-I SUB: INFORMATICS PRACTICES CLASS: XII Time: 3 Hrs Max.Mark: 70

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

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

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

include<iostream.h> #define PI=3.14 void main( ) { float r;a; cout<< enter any radius ; cin>>r; a=pi*pow(r,2); cout<< Area= <<a }

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

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

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

Sample Paper 2015 Class XII Subject Computer Science

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

SUB: INFORMATICS PRACTICES CLASS: XII ANSWER KEY SET-2. Time: 3 Hrs Max.Mark: 70 1.

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

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

EAS 230 Fall 2002 Section B

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

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


CPT101- Principles of Programming

2016 COMPUTER SCIENCE

Downloaded from

THE INDIAN COMMUNITY SCHOOL, KUWAIT

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

Transcription:

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 Parameter and Formal Parameter? Also, give a suitable C++ code to illustrate both. 2 (b) Write the name of the header files which is/are essentially required to run/execute the following C++ code: 1 char ch, word[ ] = Magic Box ; For(int i= 0; word[i]! = \0 ; i++) If (word[i] == ) cout<<endl ; else ch = tolower(word[i]); cout<<ch; (c) Rewrite the following program code after removing all syntax error (if any). Underline each correction: 2 #include<iostream.h> CLASS User long UserId; char Gender; public void Authorize( ) cin>>userid; cin>>gender; void Show( ) Cout<<UserId << : << Gender << endl;

; User U; Authorize. U( ); Show( ); (d) Find the output of the following program: 2 #include<iostream.h> struct THREE_D int X,Y,Z; ; void MoveIn(THREE_D &T,int Step=1) T.X+=Step; T.Y-=Step; T.Z+=Step; void MoveOut(THREE_D &T,it Step=1) T.X-=Step; T.Y+=Step; T.Z-=Step; THREE_D T1=10,20,5, T2=30,10,40; MoveIn(T1); MoveOut(T2,5); cout<<t1.x<<","<<t1.y<<"," <<T1.Z<<endl; cout<<t2.x<<","<<t2.y<<"," <<T2.Z<<endl; MoveIn(T2,10); cout<<t2.x<<","<<t2.y<<"," <<T2.Z<<endl; (e) Find the output of the following program: 3 #include<iostream.h> void FunCode (char msg [ ], char CH) for (int C = 0 ; msg[c]! = \0 ; C ++ ) if (msg[c] > = B && msg[c] <= G ) msg[c] = tolower (msg [C ] ); else if (msg[c] == A msg[c] == a )

(f) msg[c] = CH; else if (C % 2 = =0) msg[c] = toupper (msg[c]); else msg[c] = msg[c 1]; char Code [ ] = BluERayDiSK ; FunCode ( Code, @ ); cout<< New Text: <<Code <<endl; Go through the C++ code shown below, and find out the possible output or outputs from the suggested output options (i) to (iv). Also write the minimum and maximum value, which can be assigned to the variable YourNum. 2 #include<iostream.h> #include<stdlib.h> randomize( ); int YourNum, Max = 5; YourNum = 20 + random (Max ); for (int N = YourNum ; N < 25 ; N++ ) cout<< N << * ; (i) 20 * 21 * 22 * 23 * 24 * 25 (ii) 22 * 23 * 24 * 25 * (iii) 23 * 24 (iv) 21 * 22 * 23 * 24 * 25 2. (a) What do you understand by Data Encapsulation and Data Hiding? Also, give an example in C++ to illustrate both. 2 (b) Give the output of the following C++ code. Also write the name of the feature of Object Oriented Programming used in the following program jointly illustrated by the function [i] to [iv]. 2 #include<iostream.h> void Row( ) // Function [ i ] for( int J = 1 ; J<=80 ; J++) cout << ; cout<<endl;

void Row( int N) // Function [ ii ] for( int J = 1 ; J<=N ; J++) cout << * ; cout<<endl; void Row (char Ch, int N) // Function [ iii ] for( int J = 1 ; J<=N ; J++) cout <<Ch; cout<<endl; void Row( int M, int N) // Function [ iv ] for( int J = 1 ; J<=N ; J++) cout <<M*J; cout<<endl; int X = 9, Y = 4, Z = 3; char C = # ; Row(C, Y); Row(X, Z); (c) Define a class CARRENTAL in C++ with following description: 4 Private Members: CarId of type integer AboutCar of type string CarType of type string Rent of type float A Function Assign_Rent( ) to calculate Rent of Car as per the following rules: CarType Rent Small 1000 Van 800 SUV 2500 Public Members: A function GetCar( ) to allow user to enter values for CarId, AboutCar, CarType, and call function Assign_Rent ( ) to calculate the Car Rent. A function ShowCar( ) to allow user to view the content of all the data members. (d) Answer the question (i) to (iv) based on the following: 4 class Organization

char Address[20]; double Budget, Income; protected: void Compute( ); public: Organization( ); void Get( ); void Show( ); ; class WorkArea : public Organization char Address[20]; int Staff; protected: double Pay; void Calculate( ); public: WorkArea( ); void Enter( ); void Display( ); ; class ShowRoom : private Organization char Address[20]; flat Area; double Sale; public: ShowRoom( ); void Input( ); void Show( ); ; (i) Name the type of inheritance illustrated in the above C++ code. (ii) Write the name of data members, which are accessible from member function of class ShowRoom. (iii) Write the name of all the member function, which are accessible from objects belonging to class WorkArea. (iv) How many bytes will be required by an object of class ShowRoom? 3. (a) Write a function Swap2Change( int p[ ], int N) in C++ to modify the content of the array in such a way that elements, which are multiples of 10 swap with the values present in the very next position in the array.3 For Example:

(b) (c) (d) (e) If the content of the array P is: 91, 50, 54, 22, 30, 54 Then the content of the array should become: 91, 54, 50, 22, 54, 30 An array S[10][30] stored in the memory along the column with each of the elements occupying 2 bytes. Find out the memory location of S[5][10], if the element S[2][15] is stored at the location 8200. 3 Write a function in C++ to perform Insert operation in a dynamically allocated Queue containing name of students. 4 struct Student int RNo; char Name[20]; Student *Next; ; Write a function in C++ to find the sum of both left and right diagonal elements from a two dimensional array MAT[3][3]. 2 For Example: If the array MAT contents the elements: 5 9 4 6 7 8 2 5 3 Then the output should be: Sum of left diagonal : 15 Sum of right diagonal : 13 Evaluate the following POSTFIX notation. Show status of stack after every step of evaluation. 2 False, NOT, true, AND, true, false, OR, AND 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 Ino;char Item[20]; 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 RecNo) fstream File; File.open( STOCK.DAT,ios::binary ios::in); //Statement 1 File.read((char*)this,sizeof(Item)); cout<<ino<< ==> <<Item<<endl; File.close(); void Item::Modify(int RecNo) fstream File; File.open( STOCK.DAT,ios::binary ios::in ios::out); cout>>ino;cin.getline(item,20); //Statement 2 File.write((char*)this,sizeof(Item)); File.close(); (b) Write a function in C++ to read the content of a text file Place.TXT and display all those lines on screen which are either starting with P or starting with S. 2 (c) Write a function in C++ to search for the details (Numbers & Calls) of those Mobiles, which have more than 100 calls from a binary file Mobile.DAT. Assuming that the binary file contains the records of the following class Mobile: 3 class Mobile char Number[20]; int Calls; public: void Enter( ) gets(number) ; cin>>calls ; void Billing( ) cout<< Number << # << Calls << endl; int GetCall( ) return Calls ; ; 5. (a) Give a suitable example of a table with simple data illustrate Primary and Candidate Keys in it. 2 (b) Consider the following table FLIGHT and FARES. Write the SQL commands for the statements (i) to (iv) and output from (v) to (viii). 6

Table: FLIGHT FL_NO DEPARTURE ARRIVAL NO_FLIGHTS NOOFSTOPS IC301 MUMBAI DELHI 8 0 IC799 BANGALORE DELHI 2 1 MC101 INDORE MUMBAI 3 0 IC302 DELHI MUMBAI 8 0 AM812 KANPUR BANGALORE 3 1 IC899 MUMBAI KOCHI 1 4 AM501 DELHI TRIVANDRUM 1 5 MU499 MUMBAI MADRAS 3 3 IC701 DELHI AHMEDABAD 4 0 Table: FARE FL_NO AIRLINES FARE TAX% 1C701 Indian Airlines 6500 10 MU499 Sahara 9400 5 AM501 Jet Airways 13450 8 IC899 Indian Airlines 8300 4 1C302 Indian Airlines 4300 9 1C799 Indian Airlines 10500 10 MC101 Deccan Airlines 3500 4 (i) Display Flight No, No of Flights arriving to the DELHI (ii) Display all the airlines that have maximum no of flights. (iii) Display total fare of all the airlines. (iv) To display departure and arrival points of flight no 1C302 and MU499. Give the Output: (v) SELECT COUNT(DISTINCT FL_NO) FROM FLIGHT; (vi) SELECT MIN(NOOFSTOPS) FROM FLIGHT WHERE FL_NO = IC899 ; (vii) SELECT AVG(FARE) FROM FARE WHRE AIRLINES = Indian Airlines ; (viii) SELECT FL_NO, NO_FLIGHTS FORM FLIGHT WHERE DEPARTURE= MUMBAI ; 6. (a) Verify the following using truth table: 2 (i) X + 0 = X (ii) X + X = 1 (b) Write the equivalent Boolean expression for the following Logic Circuit: 2

(c) Given the truth table of a function ƒ(a, B, C), write the SOP form. 1 A B C ƒ 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 (d) Reduce the following boolean expresion using K-map: 3 ƒ(p, Q, R, S) = Σ (0, 1, 2, 4, 5, 6, 8, 12) 7. (a) Differentiate between Internet and Intranet? 1 (b) Give the full form of the following: 1 (i) HSPDA (ii) EDGE (c) What is Protocol? Name the protocol that is responsible for carrying addresses of the packets. 1 (d) Name two Server side scripting languages. 1 (e) Global Village University is setting up its Academics blocks at Mathura and planning to setup a network. The University has 3 Academic block and one HR Centre as shown in the diagram below: 4 B-Block T-Block L-Block HR Centre Block to Block distances are shown below: L-Block to B-Block 40 m L-Block to T-Block 80 m L-Block to HR 105 m Centre B-Block to T-Block 30 m B-Block to HR 35 m Centre T-Block to HR 15 m Centre

Number of Computers in each Block: L-Block 15 T-Block 40 HR Centre 115 B-Block 25 (e1) Suggest the most suitable place to install the Server of this university with suitable reason. (e2) Suggest an ideal layout for connecting these blocks for a wired connectivity. (e3) Which device would you suggest to be placed / installed in each block to efficiently connect all Computers within these blocks? (e4) The University is planning to connect its Admission office in the closest big city. Which is more than 200 Km from University. Which type of network out of LAN, MAN, or WAN will be formed? (f) Differentiate between Freeware and Shareware Software? 1 (g) What is Cookies? 1 ANJANI K DUBEY HOD COMPUTR SCIENCE DR. RIZVI LEARNERS ACADEMY, JAUNPUR, UP anjanidubey12@gmail.com + 91 7379633336