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

Similar documents
CBSE 12th Computer Science Question Papers

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

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

[Time allowed : 3hours] [Maximum Marks: 70] Instructions (i) All questions are compulsory (ii) Programming Language: C++


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

Sample Paper, 2015 Subject: Computer Science Class 12 th

Model Sample Paper 2015

COMPUTER SCIENCE (083)

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

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

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

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

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

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

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

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

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

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

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

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

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

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

KENDRIYA VIDYALAYA IIT CAMPUS CHENNAI 36 COMPUTER SCIENCE. Half Yearly

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

COMPUTER SCIENCE

KendriyaVidyalayaSangathan Kolkata Region

Arrays. int Data [8] [0] [1] [2] [3] [4] [5] [6] [7]

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

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

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

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

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max 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

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

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

KENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE ( ) HOMEWORK SUMMER VACATION

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

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

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

CBSE Sample Paper for Computer Science Class XII.

Question Bank Class XII Subject : Computer Science

Data Types. 9. Types. a collection of values and the definition of one or more operations that can be performed on those values

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

2016 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


QUESTION BANK SUB: COMPUTER SCIENCE(083)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

CLASS-XI COMPUTER SCIENCE

Programming Fundamentals II (C++ II) Final Exam June 17 th, Sun, 2007

LAB 4.1 Relational Operators and the if Statement

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

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.

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

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

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

Come and join us at WebLyceum

2. Distinguish between a unary, a binary and a ternary operator. Give examples of C++ operators for each one of them.

Definition: Data Type A data type is a collection of values and the definition of one or more operations on those values.

SET 4. Series : GBM/C COMPUTER SCIENCE. Code No. 91. Candidates must write the Code on the title page of the answer-book. Roll No.

Sample Paper 2012 Class XII Subject Computer Science

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

Concepts Review. 2. A program is the implementation of an algorithm in a particular computer language, like C and C++.

Sample Examination. Family Name:... Other Names:... Signature:... Student Number:...

CHAPTER 3 Expressions, Functions, Output

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

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

General Instructions:

C++ PROGRAMMING SKILLS Part 4: Arrays

Part 1 (80 points) Multiple Choice Questions (20 questions * 4 points per question = 80 points)

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

Sample Paper Class XI Subject Computer Sience UNIT TEST II

Computer Science XII Important Concepts for CBSE Examination Questions

KENDRIYA VIDYALAYA NO.02 AFS HINDAN G.BAD Holiday Homework Class XII Computer Science

COMPUTER SCIENCE (083)

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

C++ Basics. Brian A. Malloy. References Data Expressions Control Structures Functions. Slide 1 of 24. Go Back. Full Screen. Quit.

2009 Academic Challenge

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:

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

C++ Basic Elements of COMPUTER PROGRAMMING. Special symbols include: Word symbols. Objectives. Programming. Symbols. Symbols.

INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION

Computer Science 2006 (Outside Delhi)

Laboratory 0 Week 0 Advanced Structured Programming An Introduction to Visual Studio and C++

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

CSCE 2004 Final Exam Spring Version A

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

THE INDIAN COMMUNITY SCHOOL, KUWAIT

C++ Basics. Data Processing Course, I. Hrivnacova, IPN Orsay

Introduction to Programming using C++

Transcription:

r--- - -"" -.!':,c', I Series 50S I Code No. 91. I I I I I I I I Candidates must write the Code on Roll No. I I I I I I I I the title page of the answer-book.. Please check that this question paper contains 12 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 by the candidate.. Please check that this question paper contains 7 questions.. the Serial Number of the question before attempting it.. 15 minutes time has been allotted to read this question paper. The question paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer script during this period. Instructions: (i) All questions are compuls9ry. 1. (a) What is the difference between Type Casting and Automatic Type (b) Write the names of the header files, which is/are essentially void main() char CH,Text[]="+ve Attitude"; for (int 1=O;Text[1]!='\O';1++) i.f (Text [I] ==' ') cout«endl; else CH=toupper(Text[1]); cout«ch; 91 1 P.T.D.

(c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2 #include <iostream.h> void SwitchOver(int A[], Oint N, int Split) (K%2=:==O)?cout«A [K] cout«a [K]. Display(H,6)i 91 2

(e) Find the output of the following program: 2 #include <iostream.h> void main() int *Queen,Moves[]=11,22,33,44; Queen=Moves; Moves[2]+=22; cout«"queen @"«*Queen«endl; *Queen-=11; Queen+=2; cout«"now @"«*Queen«endl; Queen++; cout«"finally @"«*Queen«endl; cout«"new Origin @"«Moves [0] «endl; #include <iostream.h> #include <stdlib.h> void main() randomize(); int MyNum,Max=5;.MyNum=20+random(Max); t for (int N=MyNum;N<=25iN++) cout«n«"*"i (i) 2 0 * 21 * 2 2 * 2 3 * 2 4 * 2 5 -I (ii) 22 * 2 3 * 2 4 * 2 5 * " f '" i (...) III 23 * 24 * '", (iv) 21*22*23*24*25 91 3 p.t.a.

2. (a) and Destructor fun mming. (b) c++ code. Also, write amming used in the functions [I] to [IV] : *include <iostream.h> void Line() //Function for (int L=1;L<=80;L++) cout«"-"; cout«endl; for (int L=l;L<=N;L++) cout«"*"; cout«endl; void Line(char C,int N) //Function [III] for (int L=l;L<=N;L++) cout«c; cout«endl; cout«endl; lnt A=9, B=4, C=3; ~~j. 'c'. - char K='#';-' Line (A, C) ;

(c) Define a class Applicant in C++ with following description: 4 Aggregate Marks obtained by a student. Equivalent i Public Members.. (d) Answer the questions (i) to (iv) based 'on the following: 4 class Student float Marksl. Student(); f class Teacher i - --:-J'-

r long char TCode; TName[20]; protected: float Salary; public: Teacher(); ':.: void Enter () ; void Show(); ; class Course: public Student, private Teacher long CCode[lO];char CourseName[50]; char StartDate[8],EndDate[8]; public: Course(); void Commence(); void CDetail(); ; (i) Write the names of member functions, which are accessible (ii) Write the names of all the data members, which is/are Course. (iii) Write the names of all.the members, which are accessible from objects of class Teacher. (iv) Which type of Inheritance is illustrated in the above C++ code? 91 6 - -

, And the Even[] array should contain 12,56,89 (b) An array G[50][20] is stored in the memory along the row with each of its elements occupying 8 bytes. Find out the location of i, (d) Write a DSUM() function in C++ to. find sum of Diagonal (e) Evaluate the following postfix notation of expression: 2 P.T.D. I 3. one array ALL[] from even positions (0,2,4, ) of ALL[]. 3 Example: 12,34,56,67,89,90 34,67,90 G[10][15], if G[O][O] is stored at 4200. 3

--,.p:, 11'1111111 --. c:::~; -- -- - class ITEM ; while (File.read((char*)this,sizeof(ITEM») \ '!c;i; ;",.1 ; cout«"changed Prlce:";cln»Prlce; File.write((char*)this, sizeof(item); lire-writing the recqrd

present in a text file "STORY. TXT". playing with her dolls. class CAMERA long ModelNo; int char Zoom; Details[120]; long GetModelNo() return ModelNo; relational algebra? 2 103 John Ken RECEPTIONIST S03 24-Jun-2009 24-Feb-1983

in descending., "" ;c,,', SOl 56000 18000 32000 12000 24000 8000. (b) Write for the following statements: (i) To display the details of all EMPLOYEEs order of DOJ. (ii) (iii) To display the content of all the '08-Aug-2009'. 109, 'Harish Roy','HEAD-IT','S02','09-Sep-20b7','21-Apr-1983' NAME, E.ECODE<103; 6. (a) Verify the following using Truth Table: x+y.z=(x+y). (x+z) (b) Write the equivalent Boolean Expression for the following Logic Circuit: p

l r -,, (c) What is WEB2.0? 1 (d) Out of the following, identify client side script(s) and server side script(s). 1 (i) (iv) javascript JSP (e) Great Sudies University is setting up its Academic schools at r(:::::~~1 91 11 r;::::~~~1 in a truth table as follows: 1 7. 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 F (A, B, C, D) =L (0,1,2,4,5,6,8,10) (d) Reduce the following Boolean Expression using K-Map : 3 8 Technology Business School School

~""::~.II '~~~~-'";III.c_!! Center to center distances between various buildings is as follows:.' : ' Business School to Admin Center Number of Computers in each of the Schools/Center is follows: Technology School 50 Business School 35 (i) (ii) (iii) Suggest the most suitable place (i.e. Schools/Center) to install the server of this university with a suitable reason. Suggest an ideal layout for connecting these schools/center for a wired connectivity. Which device will you suggest to be placed/installed in each of these schools/center to efficiently connect all the computers within these schools/center? (f) Compare Open Source Software and Proprietary Software. 1 (g) What are cookies? 1 91 12 73,000 -