KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

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

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

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

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

KENDRIYA VIDYALAYA SANGATHAN- ERNAKULAM REGION MODEL PAPER - CLASS XII COMPUTER SCIENCE (083)

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

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

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

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065)

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

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

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

Downloaded from

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:

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

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

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

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

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

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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

KendriyaVidyalayaSangathan Kolkata Region

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

COMPUTER SCIENCE

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

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

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

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

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

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

Question Bank Class XII Subject : Computer Science

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

Computer Science 2006 (Delhi)

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

Model Sample Paper 2015

CBSE Sample Paper for Computer Science Class XII.

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

Sample Paper, 2015 Subject: Computer Science Class 12 th

Q2) Define a class candidate in C++ with following Description: Private Members 4 Number) of type long

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

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

CLASS XII GUESS PAPER COMPUTER SCENCE (083)


COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS

MOCK PRE-BOARD EXAMINATION 2017_18 Class : XII Computer Science ( Answer Key)

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

Computer Science 2006 (Outside Delhi)

VIDYA BHARATI SCHOOL

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

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

KENDRIYA VIDYALAYA PICKET : SECUNDERABAD :09 CLASS XII HOLIDAY HOME WORK

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

CLASS-XI COMPUTER SCIENCE

(4) Find the syntax error(s), if any, in the following program: #include main() int x[5],*y,z[5]; for(i=0;i<5;i++) x[i]=i; z[i]=i+3; y=z; x=y; (5) Rew

KENDRIYA VIDYALYA CLRI CHENNAI AUTUMN BREAK HOLIDAY HW MARKS QUESTIONS : DATA STRUCTURE

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

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Sample Paper 2012 Class XII Subject Computer Science

CHAPTER 10 SQL 6 MARKS QUESTIONS

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

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

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

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

Chapter 1. Computer Overview

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

2016 COMPUTER SCIENCE

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

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

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

SBOA SCHOOL & JUNIOR COLLEGE, CHENNAI 101 COMPUTER SCIENCE CLASS: XI HALF YEARLY EXAMINATION MAX MARKS:70 CODE - A DURATION : 3 Hours

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

Chapter-11 POINTERS. Important 3 Marks. Introduction: Memory Utilization of Pointer: Pointer:

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

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

Computer Science[083]

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

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

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

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

COMPUTER SCIENCE (083)

General Instructions:

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION SECOND PRE BOARD EXAMINATION CLASS XII

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

Sample Paper 2015 Class XII Subject COMPUTER SCIENCE. Some Important Questions Networking

COMPUTER SCIENCE 2002 (Delhi Board)

Downloaded from

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Time allowed: 3 hr. MM: 70

Transcription:

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 Language : C++. (a) What is the difference between Local Variable and Global Variable? Also, give a suitable C++ code to illustrate both. (b) Name the header files to which the following belong:. isalnum ( ). strcat( ) (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. #include [iostream.h] class MEMBER int Mno;float Fees; PUBLIC: void Register()cin>>Mno>>Fees; void Displaycout<<Mno<<" : "<<Fees<<endl; ; void main() MEMBER M; Register(); M.Display();

(d) Give the output of the following program (e) #include<iostream.h> #include<conio.h> void Execute(int &B, int C = 50) int TEMP = B+C; B += TEMP; if(c!= 50) cout << " "<<TEMP<<" " <<" "<< B <<" "<< C << endl; void main ( ) clrscr(); int M = 0, N = 0; Execute(M); cout <<" "<< M<< " "<<" "<< N << endl; Execute(M, N); cout <<" "<<M <<" "<< N << endl; getch(); Find the output of the following Program. #include <iostream.h> #include <ctype.h> void Encrypt(char T[]) for (int i=0;t[i]!='\0';i+=) if (T[i]=='A' T[i]=='E') T[i]='#'; else if (islower(t[i])) T[i]=toupper(T[i]); else T[i]='@'; void main() char Text[]="a WeB SeRVEr";//The two words in the string Text //are separated by single space Encrypt(Text); cout<<text<<endl;

(f) Find the correct possible output(s) #include<stdlib.h> #include<iostream.h> void main() randomize(); char city[ ][5]= DEL, CHN", KOL, BOM, BNG ; int ZEN; for(int i=0;i<;i++) ZEN=random()+; cout<<city[zen]<< @ ; (i) DEL@ CHN @KOL@ (ii) CHN@KOL@CHN@ (iii) KOL@BOM@BNG@ (iv) KOL@ CHN @BNG@. (a) Differentiate between private and protected visibility modes in context of object oriented programming using suitable example illustrating each. (b) (c) Answer the questions (i) and (ii) after going through the following class: class Cattle char category[0]; Cattle( char xname[] ) // function strcpy(category, xname) Cattle(Cattle &t); //function ; (i) Create an object, such that it invokes function. (ii) Write complete definition for function. Define a class Show in C++ with the description given below: Private Members: name_of_show of type character array(string) date_of_release of type character array(string) name_of_director of type character array(string) star of type int total_print_release of type int

Public Members: A constructor to assign initial values as follows: name_of_show NULL date_of_release 007 name_of_director NULL star total_print_release 00 A function calculate_star() which calculates and assigns the value of data member Star as follows: Total Print Release Star >= 000 5 < 000 & >=500 < 500 & >=00 < 00 & >=00 < 00 A function EnterShow() to input the values of the data members name_of_show, date_of_release, name_of_director and total_print_release and which invokes the function calculate_star( ). A function DisplayShow() which displays the contents of all the data members for a play. (d) Answer the question (i) to (iv) based on the following code: Class Medicines Medicines(); char Category[0]; char Dateofmanufacture[0]; char Company[0]; void entermedicinedetails(); void showmedicinedetails(); ; class Capsules : public Medicines protected: char capsulename[0]; char volumelabel[0];

float Price; Capsules(); void entercapsuledetails(); void showcapsuledetails(); ; class Antibiotics : public Capsules int Dosageunits; char sideeffects[0]; int Usewithindays; Antibiotics(); void enterdetails(); void showdetails(); ; (i) How many bytes will be required by an object of class Medicines and an object of class Antibiotics respectively? (ii) Write names of all the member functions accessible from the object of class Antibiotics. (iii)write names of all the members accessible from member functions of class Capsules. (iv) Write names of all the data members which are accessible from objects of class Antibiotics. (a) An array E containing elements of structure Employee is required to be arranged in descending order of salary. Write a C++ function to arrange the same with the help of Selection sort. The array and its size is required to be passed as parameters to the functions. Definitions of the structure is as follows: struct Employee int empno; char Ename[0]; float salary; ; (b) An array S[0][0] is stored in the memory along the row with each of the element occupying bytes, find out the memory location for the element S[0][0], if the Base Address of the array is 5000. (c) Write a function in C++ to perform Insert operation in a dynamically allocated Queue containing names of students. Assume the following definition of NODE for the same is struct NODE char Name[0]; NODE *Link; ; 5

(d) (e) Write a function in C++ to find the sum of diagonal elements from a dimensional array of type float. Use the array and its size as parameters with float as its return type. The function should count middle element of array only once. Evaluate the following postfix expression using a stack and show the contents of the stack after each operation. 00, 0, 8, +, 0, 0, -, +, * (a) Observe the program segment carefully and fill in the blanks marked as statement & #include<fstream.h> class MATERIAL ; int Mno;char Mname[5]; int qty; void ModifyQty(); void MATERAIL::ModifyQty() fstream File; File.open("MATERIAL.DAT",ios::binary ios::in ios::out); int Mpno; cout<<"materail no to modify Qty :"; cin>>mpno; while(file.read((char*)this,sizeof(material))) if(mpno==mno) cout<<"present Qty :" <<qty<,endl; cout<"changed Qty :"; cin>>qty; int Position= ; //(Statement ) : //(Statement ) File.write((char * this,sizeof (MATERIAL)); // Re-writing the record File.close(); 6

(b) Assume a text file coordination.txt is already created. Using this file create a C++ function to count the number of words having second character as small case vowel. (c) Example: Do less Thinking and pay more attention to your heart. Do Less Acquiring and pay more Attention to what you already have. Do Less Complaining and pay more Attention to giving. Do Less criticizing and pay more Attention to Complementing. Do less talking and pay more attention to SILENCE. Output will be : Total words are Given a binary file SPORTS.DAT, containing records of the following structure type : struct Sports char Event[0]; char Participant[0][0]; ; Write a function in C++ that would read contents from the file SPORTS.DAT and creates a file named SWIMMING.DAT copying only those records from SPORTS.DAT where the event name is Athletics. 5. (a) Differentiate between candidate key and alternate key in context of RDBMS (b) Consider the following tables EMPLOYEES and EMPSALARY. Write SQL commands for the statements(i) to (iv) and give outputs for SQL queries (v) to (viii). Books Bookid BookName AuthorName Publisher Price Type Qty C000 Fast Cook Lata Kapoor EPB 55 Cookery 5 F000 The Tears William First Publ 650 Fiction 0 T000 My First C++ Hopkins Brain & Brooke EPB 50 Text 0 T000 C++ A.W. Rossaine TDH 50 Text 5 F000 Brainworks Thunderbolts Anna Roberts First publ 750 Fiction 50 Issued Bookid QtyIssued T000 C000 5 F000 7

(c) i) To display Book name, author name and price of First publishers books. (ii) To display the names and price of books in ascending order of their price. (iii) To display bookid, bookname, type and qtyissued (iv) To increase the price of all books of EPB publishers by 50. v. SELECT Count(*) FROM Books; vi. SELECT BookName, AuthorName FROM Books WHERE Publisher = "EPB"; vii. SELECT COUNT(DISTINCT Publishers ) FROM Books WHERE Price>=00; viii. SELECT MAX(Price) From Books WHERE Qty > 5; 6 (a) State and Verify DeMorgan s Law algebraically in Boolean algebra. (b) Write the equivalent Boolean Expression F for the following circuit diagram : A B (c) C Convert the following Boolean expression into its equivalent Canonical Product of Sum form: (d) Obtain a simplified form for the following Boolean Expression using Karnaugh s Map F(a,b,c,d)=Σ(0,,,,5,7,8,9,0,,) 7 (a) Distinguish between website and web browser. (b) What are the cookies? (c) What is difference between computer virus and computer worm? (d) Expand the following terms in respect of networking: i. FTP ii. PAN (e) What is the significance of Cyber Law? 8

(f) Define : (i) FLOSS (ii) OSI: (g) A company has to set up the network connection between the wings as per information given below: Wing A to Wing S 00 meters Wing A to Wing J Wing A to Wing H Wing S to Wing J Wing S to Wing H Wing J to Wing H 00 meters 00 meters 00 meters 00 meters 50 meters Number of computers: Wing A 5 Wing S 00 Wing J 5 Wing H 50 i. Suggest the most suitable topology for networking the computers of all the wings. ii. iii. iv. Name the wing where the server should be installed. Justify your answer. Suggest the installation place for Hub/Switch in the network. Mention the most economical internet connectivity accessible to all the wings 9