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

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

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

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

Government of Karnataka SYLLABUS FOR SECOND PUC - COMPUTER SCIENCE (41) SUB-UNITS

Computer Science 2006 (Outside Delhi)

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SPLITUP SYLLABUS FOR COMPUTER SCIENCE CLASS XII

5. (a) What is secondary storage? How does it differ from a primary storage? (b) Explain the functions of (i) cache memory (ii) Register

CBSE Sample Paper for Computer Science Class XII.

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

Answer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 15 min Max. marks : 70

4. BOOLEAN ALGEBRA 8 5. NETWORKING AND OPEN SOURCE SOFTWARE 10

vinodsrivastava.com Constructor and Destructor

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

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

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

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

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

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

KENDRIYA VIDYALAYA SANGATHAN


KENDRIYA VIDYALAYA SANGATHAN

(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 Class XII Subject : Computer Science

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

Fundamental of I.T. (c) Application of computer *************

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

Solved MCQ on fundamental of DBMS. Set-1

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII

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

KENDRIYA VIDYALAYA SANGATHAN, KOLKATA REGION SPLIT-UP SYLLABUS ( ) CLASS XII : COMPUTER SCIENCE (THEORY)

COMPUTER SCIENCE

Computer Science 2006 (Delhi)

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) 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

Basant Group of Institution

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL

Mahathma Gandhi University

Databases - 4. Other relational operations and DDL. How to write RA expressions for dummies

Session Chapter 4: Classess & Object

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

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

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

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language

SQL: Concepts. Todd Bacastow IST 210: Organization of Data 2/17/ IST 210

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


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

Assignment 3 Class XII (Computer Science 083) Topic Array

An Object Oriented Programming with C

Name :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM

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

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

COMPUTER APPLICATION

Introduction to Programming Using Java (98-388)

Padasalai.Net s Model Question Paper

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS

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

B.Sc. (Hons.) Computer Science I B.Sc. (Hons.) Electronics. (i) Runtime polymorphism and compile time polymorphism

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


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

HOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science

Example : class Student { int rollno; float marks; public: student( ) //Constructor { rollno=0; marks=0.0; } //other public members };

Bachelor in Information Technology (BIT) O Term-End Examination

JAVA MOCK TEST JAVA MOCK TEST II

PART - I 75 x 1 = The building blocks of C++ program are (a) functions (b) classes (c) statements (d) operations

KRISHNA KANTA HANDIQUI STATE OPEN UNIVERSITY Hiranya Kumar Bhuyan School of Science and Technology

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

For Teacher's Use Only Q No Total Q No Q No

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

ISC 2011 COMPUTER SCIENCE PAPER 1 THEORY

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2

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

OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe

SQL DATA DEFINITION LANGUAGE

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

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

Applied Mathematics [AMT] S.Y. Diploma : Sem. III [CO/CM/IF/CD]

COMPUTER SCIENCE 2002 (Delhi Board)

SQL DATA DEFINITION LANGUAGE

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

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

C++ 8. Constructors and Destructors

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

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

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

Computer Science Paper 1 (Theory) Part I While working questions in this part, indicate briefly your working and reasoning wherever required.

Short Notes of CS201

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

Final exam. Final exam will be 12 problems, drop any 2. Cumulative up to and including week 14 (emphasis on weeks 9-14: classes & pointers)

IBPS SO Examination 2013 IT Officer Professional Knowledge Question Paper

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

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

Writing an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and

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

Transcription:

Autumn Break 2017 Exam Oriented Assignment Class-XII B, Computer Science S.No. 1 Name of Chapter/Topic CLASSES AND OBJECTS HOT Questions 1. What do you understand by member function? 2. Differentiate between local and global class with help of example. 3. 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(); MLP Questions 1. What are static class members? 2. Differentiate between private and public members of a class in context of Object Oriented Programming. Also give a suitable example illustrating accessibility/no accessibility of each using a class and an object in C++. 3. Observe the following C++ code and answer the questions (i) and (ii). Note : Assume all necessary files are included. class EXAM long Code; char EName[20]; float Marks; EXAM() //Member Function 1 Code=100;strcpy(EName,"Noname");Marks=0; EXAM(EXAM &E) //Member Function 2 Code=E.Code+1; strcpy(ename,e.ename); Marks=E.Marks; void main() //Statement 1 //Statement 2 (i) Which Object Oriented Programming feature is illustrated by the Member Function 1 and Member Function 2 together in the class EXAM? (ii) Write Statement 1 and Statement 2 to execute Member Function 1 and Member Function 2 respectively.

2 Constructor and Destructor 1. Write any two similarities between Constructor and Destructor. Write the function headers for constructor and destructor of a class Flight. 2. Define a class Bus in C++ with the following specifications: Data Members Busno - to store Bus No From to store Place name of origin To to store Place name of destination Type to store Bus Type such as O for ordinary Distance to store the Distance in Kilometers Fare to store the Bus Fare Member Functions A constructor function to initialize Type as O and Freight as 500 A function CalcFare() to calculate Fare as per the following criteria: Type Fare O 15*Distance E 20*Distance L 24*Distance A function Allocate () to allow user to enter values for Busno, From, To, Type and Distance. Also, this function should call CalcFare () to calculate Fare. A function Show () to display the content of all the data members on screen. 1. Answer the questions(i) and (ii) after going through the following class: class Race int CarNo, Track; Race(); // Function 1 Race(int CN); // Function 2 Race(Race &R); // Function 3 void Register(); // Function 4 void Drive(); // Function 5 void main() Race R; : (i) Out of the following, which of the option is correct for calling Function 2? Option 1-Race T(30); Option 2-Race U(R); (ii) Name the feature of Object Oriented Programming, which is illustrated by Function 1, Function 2 and Function 3 combined together.

3 Inheritance 1. Answer the questions (i) to (iv) based on the following : class One int A1; protected: float A2; One(); void Get1(); void Show1(); class Two : private One int B1; protected: float B2; Two(); void Get2(); void Show(); Class Three : public Two

int C1; Three(); void Get3(); void Show(); void main() Three T; //Statement 1 ; //Statement 2 (i) Which type of Inheritance out of the following is illustrated in the above example? Single Level Inheritance, Multilevel Inheritance, Multiple Inheritance (ii) Write the names of all the member functions, which are directly accessible by the object T of class Three as declared in main( ) function. (iii) Write Statement 2 to call function Show( ) of class Two from the object T of class Three. (iv) What will be the order of execution of the constructors, when the object T of class Three is declared inside main ( )?

1. 4 File Handling

2.

1. Consider the definition of the following class: class Sample private: int x; double y; public : Sample(); //Constructor 1 Sample(int); //Constructor 2 Sample(int, int); //Constructor 3 Sample(int, double); //Constructor 4 i. Write the definition of the constructor 1 so that the private member variables are initialized to 0. ii. Write the definition of the constructor 2 so that the private member variable x is initialized according to the value of the parameter, and the private member variable y is initialized to 0. iii. Write the definition of the constructors 3 and 4 so that the private member variables are initialized according to the values of the parameters. 5. Write a function in C++ to add new objects at the bottom of a binary file STUDENT.DAT, assuming the binary file is containing the objects of the following class. class STUD int Rno; char Name[20]; void Enter() cin>>rno;gets(name); void Display()cout<<Rno<<Name<<endl;

5 Database and SQL What is DBMS? What is relational database model? Relation Tuples SQL DDL DML Relational Algebra Selection Projection Union Cartesian Product Domain Degree Cardinality Keys Candidate Key: Primary Key: Alternate Key: Super Key Structured Query Language (SQL) Advantages of using SQL: Types of SQL Statements Data Definition Language (DDL) statement Create table Drop table Alter table Data Manipulation Language (DML) statement Select Update Delete Insert Transaction Control Statement

1. Why are NAND and NOR gates called Universal Gates? 2 a) State and verify absorption law in Boolean algebra. b) Verify X.Y+X.Y =(X +Y ).(X+Y) algebraically. c) Write the equivalent Boolean Expression F for the following circuit diagram : 6 Boolean Algebra A B C d) If F(P,Q,R,S) = (3,4,5,6,7,13,15), obtain the simplified form using K-Map. BEST OF LUCK