QUESTION BANK. with Complete Solutions CLASS 11. Computer Science C++ Strictly Based on the Latest Syllabus issued by CBSE Board. For.

Similar documents
SPLIT UP SYLLABUS SUBJECT : COMPUTER SCIENCE (083) SESSION: Class XI (Theory) C++ Duration: 3 hours Total Marks: 70

AIR FORCE SCHOOL,BAMRAULI COMPUTER SCIENCE (083) CLASS XI Split up Syllabus (Session ) Contents

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

OSWAAL CBSE SAMPLE QUESTION PAPERS INFORMATICS PRACTICES. Published by :

Split up Syllabus (Session )

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION Split up syllabus Computer Science (083)

COMPUTER SCIENCE (Code No. 083) (For the session only)

Appendix 08: Details of Location under Each Category

UNIT- 3 Introduction to C++

CBSE CLASS 12 Published by :

State-wise Gross State Domestic Product by Industry of Origin (at Prices) % Share to Total State GSDP at Constant Prices

List of PNB Bank Branches for Sale of Information Brochure of All India SLIET Entrance Test (SET)-2013 of SLIET Longowal, District Sangrur (Punjab)

Smart Cities & Urban Development

AHLCON PUBLIC SCHOOL, MAYUR VIHAR I, DELHI ASSIGNMENT CLASS XI Session Chapter 1: Computer Overview

CANARA BANK NRI CELL, CIRCLE OFFICE 1ST FLOOR, RED CROSS BHAVAN SACHIVALAYA MARG BHUBANESWAR : ODISHA, INDIA E MAIL ID:

FUNDAMENTALS OF COMPUTER PROGRAMMING AND IT


BRAIN INTERNATIONAL SCHOOL. Term-I Class XI Sub: Computer Science Revision Worksheet

COMPUTER SCIENCE (083)

CALL LOGGING PROCESS

Address and Tel.No. of the Director, Legal Metrology GOI

An Object Oriented Programming with C

Syllabus for Computer Science General Part I

List containing names and addresses of AD Cat. II licenced by Kanpur Regional Office. Sr /1207, Ansari Road, Sahaaranapur (U.P.

Controllers Address, Phone No., Fax No. &

DESIGN YOUR WORLD WITH YOUNG ENERGY

Chapter1 Overview of computers

Video Door Phone Collection 2017

SMART WIREFREE. Home Automation Solutions

Three Phase UPS Systems

KENDRIYA VIDYALAYA SANGATHAN, GUWAHATI REGION HALF-YEARLY EXAMINATION-2015 CLASS XI : COMPUTER SCIENCE Time Allotted : 3 hrs. Max.

BLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI. Unit Wise Marks

DATA STRUCTURES Using C

Single Phase Industrial UPS System. series. Range: 10 to 300 kva CEMENT POWER STEEL & METAL OIL & GAS

Strictly Based on the Latest Syllabus issued by CBSE Board for 2015 Examination QUESTION BANK. Chapter-Wise Solutions.

NIRMAL XBRL GENERATOR

ACET - Gateway to the World of Actuary - FAQs (ver. 2.00/March 2012)

UNIT-2 Introduction to C++

STATE COUNCIL OF EDUCATIONAL RESEARCH AND TRAINING TNCF DRAFT SYLLABUS.

PART I. Part II Answer to all the questions 1. What is meant by a token? Name the token available in C++.

COURSE OUTLINE & WEEK WISE BREAKAGE

S Y B Voc Software Development Syllabus

Introduction to Programming Using Java (98-388)

Objectives. Chapter 2: Basic Elements of C++ Introduction. Objectives (cont d.) A C++ Program (cont d.) A C++ Program

Computer Programming. Dr. Fahad Computer Science Deptt.

Chapter 2: Basic Elements of C++

CS 1313 Spring 2000 Lecture Outline

Chapter 2: Basic Elements of C++ Objectives. Objectives (cont d.) A C++ Program. Introduction

Programming for Engineers Iteration

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Inspired By Nature List Price w.e.f. 1st July 2017

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

Chapter 2 Basic Elements of C++

Fundamentals of Programming Languages - I

C Programming for Electronic Engineers

For internal circulation of BSNL only 1

15. INFORMATICS PRACTICES (CODE: 065)

Programming Fundamentals (CS 302 ) Dr. Ihsan Ullah. Lecturer Department of Computer Science & IT University of Balochistan

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

Monthly changes in the General Indices and CFPIs are given below: Monthly changes (%) in All India CPI (General) and CFPI: Dec over Nov.

CHAPTER 3 Expressions, Functions, Output

Switching to AQA from Edexcel

Q1. Multiple Choice Questions

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore

College of Engineering, Pune (An autonomous Institute of Government of Maharashtra) Board of Technical Education Delhi

Energy Efficiency Initiatives in Commercial Buildings. Bureau of Energy Efficiency Government of India

Role of MoWR under NHP Avanish Kant, Sr. Hydrogeologist

KENDRIYA VIDYALAYA SANGTHAN PATNA REGION

COMPUTER SCIENCE (083)

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

CS201 Latest Solved MCQs

C H A P T E R 1. Introduction to Computers and Programming

Java Notes. 10th ICSE. Saravanan Ganesh

Practical C++ Programming

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION

Sample Paper Class XI Subject Computer Sience UNIT TEST II

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites:

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

Office Workstations. Collaborate

Preview from Notesale.co.uk Page 6 of 52

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS

6.096 Introduction to C++ January (IAP) 2009

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

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION. Subject- Informatics Practices

Switching to AQA from OCR

Course Title: C Programming Full Marks: Course no: CSC110 Pass Marks: Nature of course: Theory + Lab Credit hours: 3

Programming. C++ Basics

Padasalai s - VIRUDHUNAGAR DISTRICT COMMON FIRST MID TERM TEST, JULY 2018 STANDARD 11 COMPUTER APPLICATION

CSC 126 FINAL EXAMINATION Spring Total Possible TOTAL 100

Objectives. In this chapter, you will:

WT I (SET-I) Date: Class XI Sec. Time: 1 Hr. 10 min. Computer Science M.M.: 30

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Why Learn to Program?

Ahmedabad Amritsar Bangalore Bathinda

Contents. Preface. Introduction. Introduction to C Programming

Institute Subscribing ISST Journals Name of Institute Subscribed Journals

Review: Exam 1. Your First C++ Program. Declaration Statements. Tells the compiler. Examples of declaration statements

Chapter 1: An Overview of Computers and Programming Languages. Objectives. Objectives (cont d.) Introduction

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Transcription:

QUESTION BANK with Complete Solutions CLASS 11 Computer Science C++ Strictly Based on the Latest Syllabus issued by CBSE Board For MARCH 2017 Exam Includes Solved Paper (KVS) 2016 Published by : OSWAAL BOOKS Oswaal House 1/11, Sahitya Kunj, M.G. Road, AGRA-282002 Ph.: 0562-2857671, 2527781, Fax : 0562-2854582, 2527784 email : contact@oswaalbooks.com, website : www.oswaalbooks.com

OUR DISTRIBUTORS ANDAMAN & NICOBAR PORT BLAIR Mitali Enterprises, (03192) 230749 Kumar General Store, 9932082455 ANDHRA PRADESH GUNTOOR Y. Renuka Devi, (0863) 2252308 HYDERABAD Himalaya Book World, (040) 24732057, 66822350 Unique Book World, (040) 40061423 Shri Balaji Book Depot, (040) 27613300 UBS Publisher & Dist., 9951078309 VIJAYAWADA Sri Kanka Durga Book Stall, 09849144007 VISHAKHAPATNAM JBD Educational, (0891) 6666062, 6666068 Sri Rajeshwari Book Link, (891) 6661718 ASSAM GUWAHATI Book Emporium, 9864057226 UBS Publisher, 9401154448 BIHAR BHAGALPUR Sanjay Book Store, (0641) 3202714, 2424830 PATNA Gyan Ganga, (0612) 2268394, 2263011 Nova Publisher & Distributors, (0612) 2666404 UBS Publisher, 9835210136 Shri Durga Pustak Mandir, (0612) 2301704 Vikas Book Depot, (0612) 2304753 Sharda Pustak Bhandar, (0612) 2300600 Bokaro Student Friends, 09334259293 MUNGER New Aman Book & Stationers, (06344) 220757 MUZAFFARPUR Pustak Bhandar, 9097046555 CHATTISGARH DURG Bhagwati Bhawani Book Depot, (0788) 2327620 RAIPUR Shri Ramdev Traders, (0771) 2533465 DELHI DELHI Mittal Books, (011) 23288887 UBS Publisher, (011) 23273601 R.D. Chawla & Sons, (011) 23282360, 23282361 GOA GOA Golden Heart Emporium, (0832) 2725208, 3257383 GUJARAT AHMEDABAD Tushar Book, (079)26578741, 26587103 Agrasen Book & Stationery, (079) 27486239 Abhyas Book, (079) 26766366 Uppal Brothers, (079) 30421199 BALLABH VIDYANAGAR Ajay Book Store, (02692) 238237 NAVSARI College Store, (02637) 258642 VAPI Vinay General Store, 9925817463 SURAT Shopping Point, (0261) 2230097 HARYANA GURGAON Adlakha Stationery, (0124) 2306991 JHARKHAND RANCHI Gyan Ganga Ltd., (0651) 2563570 Bokaro Student Friends, (0651) 221244 DHANBAD Bokaro Student Friends, (0362) 2302493 BOKARO Bokaro Student Friends, (06542) 234706 KARNATAKA BENGALURU Balaji Book Centre (Mahaveer Jain) (080) 23331259 Vasanta Book House, (080)22216342 Madhu Book House, 9845568922 Maruti Book Centre, (080) 40124558 Sri Sai Ram Book House, (080) 22111243 Sri Balaji Books & Stationers, (080) 22117659 Sapna Book House (Gandhinagar, (080) 40114455); (Sadashivnagar, (080)41236271); (Jayanagar, (080) 49066700); (Koramangala, (080) 40839999); (Residency Road, (080) 49166999); (Indiranagar, (080) 40455999); (Bannerghatta Road, (080) 42566299); (Nagavara, (080) 67294151); UBS Publisher & Dist., 9341621469 BELLARY Pragati Book Stall, (08392) 272727 Chaitanya Agency and Books, 8277477778 DAVANGERE Laxmi Agencies, (08192) 231271 HUBLI Renuka Book Depot, (0836) 4257624 Sapna Book House, (0836) 4249999 MANGALORE School Book Co., (0824) 2496938, 4281777 Sapna Book House, (0824) 4232800 MYSORE Sapna Book House, (0821) 4004499 KERALA CALICUT Aman Book Stall, (0495) 3048187, 2721282 ERNAKULAM H & C Store, (0484) 2377235 Orient Book House, (0484) 2370431 Academic Book House, (0484) 2376613 Surya Book House, (0484) 2363721 UBS Publisher & Dist., (0484) 2353901 KOTTAYAM H & C Store, (0481) 2304351 BOOK Centre, (0481) 2566992 KOZHIKODE T.B.S. Publishers, (0495) 2721025, 2720085 THRISSUR Giftalia Book Bhawan, (0487) 2442290 TRIVANDRUM Acedemic Book House, (0471) 2333349 MADHYA PRADESH GWALIOR Krishna Sons, (0751) 2320431 INDORE Arun Prakashan, (0731) 2454372, 2459448, 3244544 Akruti Publishing House, (0731) 2456024, 25 Student Book Depot, (0731) 2535892 S.P. & Sons, (0731) 2452680 Akshar Sansar Publisher & Dist., (0731) 2453161 BHOPAL UBS Publisher & Dist., 97547535412 JABALPUR Sangam General Store, (0761) 2313592, 6538467 Akash Book Distributor, (0761) 4063099 KATNI Agrasen Stationers, (07622) 403377 REWA Siddharth Enterprises, (07662) 404019 UJJAIN Sri Nath Book Depot, (0734) 2556903, 2556902 MAHARASHTRA AHMEDNAGAR Heera Stationers, (0241) 2418774 AKOLA Book Emporium, (022) 2436460 Rathi Paper Traders, (0724) 2452679, 2452979 AURANGABAD Maya Book Centre, (0240) 2360150 BHUSAWAL Anil Book Depot, (02582) 225412 CHANDRAPUR Novelty Book Depot, (07172) 277418 JALGAON Sharma Book Depot, (0257) 6958794 Vidyadhan Book House, (0257) 2225548 KOLHAPUR Jai Book Co., (0231) 2651008 MUMBAI Shivam Book & Stationers, (022) 28381014, 28236000 Reshma Agency, (022) 23070853 NAVI MUMBAI Krishna Book Store, (022) 27744962, 32980838 NAGPUR Novelty Book Depot, (0712) 2534884 Vijay Book Depot, (0712) 2534217, 2520496 Shree Balaji Agency, (0712) 2452361 UBS Publisher & Dist., (0712) 6437909, 2736010 Laxmi Pustakalya, (0712) 2720379 NANDED India Book Agencies, 9890489460 Vijay Book Centre, 9872994436 PUNE Sai Shubham, (020) 69498635, 9975687687 UBS Publisher & Dist., 9860288838 SOLAPUR Mahavir General Store, (0217) 2723405 WARDHA Unique Traders, (07152) 243617, 9960644752 YAVATMAL Dilip Book Agencies, (07232) 245450 ODISHA BHUBANESWAR Sagar Book Store, (0674) 2516040, 2506040 Pragnya Book Store, (0674) 2405757 UBS Publishers & Dist., (0674) 2314446 PUNJAB BARNALA Bhaian Di Hatti, (01679) 2321717 BHATINDA Janta Book Depot, (0164) 2253993 Krishna Book Depot, (0614) 2237611 LUDHIANA Chhabra Book Depot, (0161) 2405427 Amit Book Depot, (0161) 2727038 Bhatia Book Centre, (0161) 2747713 RAJASTHAN BHARATPUR Sunil Book Centre, (05644) 233777, 220650 BHILWARA Nakoda Book Depot, (01482) 239653 JAIPUR Goyal Book Distributors, (0141) 2571673 SIKKIM GANGTOK Kwality Store, (03592) 202992 TAMIL NADU COIMBATORE UBS Publisher & Dist., (0422) 2499914 Sapna Book House, (0422) 4629999 CHENNAI Indian Book House, (044) 24327784 Ruby Books, (044) 26425958 UBS Publisher & Dist., (044) 2374622 TRICHY Rasi Publication, (0431) 2703692 TRIPURA AGARTALA Book Corner, (0381) 2301945 UTTAR PRADESH AGRA Ajay Book, (0562) 2254621 Om Pustak Mandir, (0562) 2464014, 3059218 ALIGARH Shaligram & Sons, (0571) 2421887 ALLAHABAD Mehrotra Book Depot, (0532) 2400129, 2266128 AZAMGARH Sasta Sahitya Sadan, (05462) 224421 BILASPUR Raj Agencies, 9412150750 BALIA Saraswati Shishu, (05498) 221042 Vidya Kendra, 9415281234 LUCKNOW VBS Publication, (0522) 4025144 Rama Book Depot (Retail), (0522) 4080133 MEERUT Mahi Book Palace, (0121) 2541791, 2649644 Ideal Book Depot, (0121) 2660648 NOIDA UBS Publisher & Dist., (0120) 4205516 VARANASI Bokaro Student Friends, (0542) 2401250 Gupta Books, (0542) 2413017 WEST BENGAL KOLKATA Oriental Publishers, (033) 22191591, 22198367 Saha Book House, (033) 22193671 Eureka Book Emporium, (033) 25934001 Katha O Kahani Pvt. Ltd., 22419071, 22196313 Every Book, (033) 22418590 SILIGURI Agarwal Book House, (0353) 2535274 Novelty Books, (0353) 2525445 Publisher Oswaal Books 2004

CONTENTS Syllabus Solved Paper (KVS), 2016 Agra region Solved Paper (KVS), 2016 Guwahati region Solved Paper (KVS), 2016 Mumbai region v - vii ix - xvi xvii - xxiv xxv - xxxii Unit 1 : Computer Fundamentals 1. Computer Overview and its Basics 1-10 2. Software Concepts 11-21 3. Data Representation 22-26 4. Microprocessor and Memory Concepts 27-33 Unit 2 : Programming Methodology 5. Programming Methodology 34-39 6. Algorithms and Flowcharts 40-46 Unit 3 : Introduction to C++ 7. Getting Started with C++ 47-54 8. Data Type, Variables and Constants 55-60 9. Operators and Expression in C++ 61-69 Unit 4 : Programming in C++ 10. Flow of Control 70-85 11. Header Files and Library functions 86-93 12. Introduction to user Defined Function 94-105 13. Structured Data Type : Array 106-122 14. User Defined Data Types : Structure 123-128

PREFACE CBSE always believes in Global Trends of Educational Transformation. The CBSE curriculum gets its lead from National Curriculum Framework 2005 and Right to Free and Compulsory Education Act 2009. The aim of CBSE Curriculum is not just to let learners obtain basic knowledge but to make them life-long learners. CBSE always updates and reviews the syllabus to make it more relevant with educational transformation and in last few years the chapters and topics which CBSE has added are very interesting and increase practical knowledge. Oswaal Question banks are designed to nurture individuality and thus enhance one's innate potentials which help in increasing the self-study mode for students. This book strengthens knowledge and attitude related to subject. It is designed in such a way that students can set their own goals and can improve their problem solving and thinking skills. The journey of this book is never ending as this book is reviewed every year and new questions, previous year's examination questions, new HOTS or any change in syllabus is updated time to time. Also regular review and reader's feedback increase the efficiency of this book gradually. Moreover, every Question Bank strictly follows the latest syllabus and pattern, and contains more than sufficient questions and brief description of chapters, which help students in practicing and completing the syllabus. Higher Order Thinking Skills (HOTS) questions, Value Based Questions, Previous Year Questions and Important Questions from NCERT make this book complete and very efficient. Solutions are always checked twice and tried to make precise as per marking scheme. Practically, this book provides students everything they need to learn. At last we would like to thank our authors, editors, reviewers and specially students who regularly send us suggestions which help in continuous improvement of this book and make this book stand in the category of One of the Best. Wish you all Happy Learning. Publisher (iv)

Latest Syllabus for the Academic Year 2016-17 Computer Science C++ Total Unit-1: Computer Fundamentals (18 Theory+6 Practical) Periods Classification of computers: Basics of computer and its operation; Functional Components and their interconnections, concept of Booting. Software concepts: Types of Software - System Software, Utility Software and Application Software System Software: Operating System, Compiler, Interpreter and Assembler; Operating System: Need for Operating System, Functions of Operating System (Processor Management, Memory Management, File Management and Device Management), Types of Operating System-Interactive (GUI based), Time Sharing, Real Time and Distributed, Commonly used Operating System: UNIX, LlNUX, Windows, Solaris, BOSS (Bharat Operating System Solutions); Mobile OS - Android, Symbian. Utility Software: Anti Virus, File Management tools, Compression tools and Disk Management tools (Disk Cleanup, Disk Defragmenter, Backup). Open Source Concepts: Open Source Software, Freeware, Shareware, and Proprietary Software. Application Software: Office Tools - Word Processor, Presentation Tool, Spreadsheet Package, Database Management System; Domain Specific tools - School Management System, Inventory Management System, Payroll System, Financial Accounting, Hotel Management, Reservation System and Weather Forecasting System. Number System: Binary, Octal, Decimal, Hexadecimal and conversion between different number systems. Internal Storage encoding of Characters: ASCII, ISCII (Indian Scripts Standard Code for Information Interchange), and UNICODE (for multilingual computing) Microprocessor: Basic concepts, Clock speed (MHZ, GHz), 16 bit, 32 bit, 64 bit, 128 bit processors; Types - CISC Processors (Complex Instruction Set Computing), RISC Processors (Reduced Instruction Set Computing), and EPIC (Explicitly Parallel Instruction Computing). Memory Concepts: Units: Byte, Kilo Byte, Mega Byte, Giga Byte, Tera Byte, Peta Byte, Exa Byte, Zetta Byte, Yotta Byte. Primary Memory: Cache, RAM, ROM Secondary Memory: Fixed and Removable storage - Hard Disk Drive, CD/DVD Drive, Pen Drive, Blue Ray Disk. Input Output Ports/Connections: Serial, Parallel and Universal Serial Bus, PS-2 port, Infrared port, Bluetooth, Firewire. Unit-2: Programming Methodology (28 Theory+10 Practical)Periods General Concepts: Modular Approach, Clarity and Simplicity of Expressions, Use of proper names for Identifiers, Comments, Indentation; Documentation and Program Maintenance; Running and Debugging programs, Syntax Errors, Run-Time Errors, Logical Errors Problem Solving Methodologies: Understanding of the problem, Solution for the problem, Identifying minimum number of inputs required for output, Writing code to optimizing execution time and memory storage, step by step solution for the problem, breaking down solution into simple steps (modular approach), Identification of arithmetic and logical operations required for solution; Control Structure- Conditional control and looping (finite and infinite). Problem Solving: Introduction to Algorithms/Flowcharts. ( v )

Unit-3: Introduction to C++ (44 Theory + 36 Practical)Periods Getting Started: C++ character set, C++ Tokens (Identifiers, Keywords, Constants, Operators,) Structure of a C++ Program (include files, main function), Header files iostream.h, iomanip.h, cout, cin; use of I/O operators (<<and>>), Use of endl and setw ( ), Cascading of I/O operators, compilation, Error Messages; Use of editor, basic commands of editor, compilation, linking and execution. Data Types, Variables and Constants: Concept of Data types; Built-in Data types: char, int, float and double; Constants: Integer Constants, Character constants (- \n, \t, \b), Floating Point Constants, String Constants; Access modifier: const; Variables of built-in-data types, Declaration/Initialization of variables, Assignment statement, Type modifier: signed, unsigned, long Operator and Expressions: Operators: Arithmetic operators (-,+,*,/,%), Assignment operator (=), c++ shorthands (+=, -=,*=,/=,%=) Unary operators (-), Increment (++) and Decrement (--) Operators, Relation operator (>,>=,<=,=,!=), Logical operators (!,&&, ), Conditional operator: <condition>?<if false>; Precedence of Operators; Automatic type conversion in expressions, Type casting; UNIT 4: PROGRAMMING IN C++ (50 Theory + 48 Practical) Periods Flow of control Conditional statements: if else, Nested if, switch..case..default, use of conditional operator, Nested switch..case, break statement (to be used in switch..case only); Loops: while, do while, for and Nested loops. Introduction to user-defined function and its requirements. Defining a function; function prototype, Invoking/calling a function, passing arguments to function, specifying argument data types, default argument, constant argument, call by value, call by reference, returning values from a function, calling functions with arrays, scope rules of functions and variables local and global variables. Relating to Parameters and return type concepts in built-in functions. Structured Data Type Arrays: Introduction to Array and its advantages. One Dimensional Array: Declaration/initialization of One-dimensional array, Inputting array elements, accessing array elements, manipulation of array elements (sum of elements, product of elements, average of elements, linear search, finding maximum/minimum value). Declaration / Initialization of a String, string manipulations (counting vowels/ consonants/ digits/ special characters, case conversion, reversing a string, reversing each word of a string) Two-dimensional Array: Declaration/initialization of a two-dimensional array, inputting array elements, accessing array elements, manipulation of Array elements (sum of row element, column elements, diagonal elements, finding maximum / minimum values) User-defined Data Types: Introduction to user defined data types. Structure: Defining a Structure (Keyword Structure), declaring structure variables, accessing structure elements, passing structure to functions as value and reference, argument/parameter, function returning structure, array of structure, passing an array of structure as an argument/ a parameter to a function. Defining a symbol name using typedef keyword and defining a macro using #define preprocessor directive. ( vi )

Practical C++ Duration: 3 hours Total Marks: 30 1. Programming in C++ 10 One programming problem in C++ to be developed and tested on Computer during the examination. Marks are allotted on the basis of following: Logic : 6 Marks Documentation : 2 Marks Output presentation : 2 Marks 2. One logical problem to be solved through flow charts. 04 3. Project Work 06 Problems using String, Number, array and structure manipulation General Guidelines: Initial Requirement, developing an interface for user (it is advised to use text based interface screen), developing logic for playing the game and developing logic for scoring points l Memory game: A number guessing game with application of 2 dimensional arrays containing randomly generated numbers in pairs hidden inside boxes. l Hollywood/Hangman: A word Guessing game l Cows 'N Bulls: A word/number Guessing game l Random Number Guessing Game (High\Low) l A game to check whether a word does not use any of the forbidden letters l Cross N knots game: A regular tic-tac toe game. or Similar projects may be undertaken in other domains. (As mentioned in general guidelines for project, given at the end of the curriculum in a group of 2-4 students) 4. Practical File (5+1)= 6* (a) Record of the configuration of computer system used by the student in the computer lab (by exploring inside computer system in the first 2 lab classes). (b) Must have minimum 20 programs from the topics covered in class XI course. l Programs on Control structures l Programs on String manipulations l Programs on array manipulations(1d & 2D) l Programs on structures. *1 mark is for innovating while developing programmes. 6. Viva Voce 04 Viva will be asked from the syllabus covered in class XI and the project developed by the student(s). *1 mark is for innovating while developing programme. ( vii )

32 OSWAAL CBSE (CCE) Question Bank Term-2, English Communicative-X

KENDRIYA VIDYALAYA SANGATHAN [AGRA REGION] SESSION ENDING EXAMINATION 2015-16 SUBJECT : COMPUTER SCIENCE [083] CLASS XI (SOLVED PAPER) Time : 3 Hrs. M.M. : 70 Instructions : 1. All questions are compulsory. 2. The paper contains 7 Sections 3. Programming Language : C++ 4. While writing programs, prefer to take inputs from the user. 5. Illustrate the concept with the help of an example. 6. 15 minutes time has been allotted to read this question paper. During this time, the student will only read the question paper, he/she will not write on the answer book. SECTION-1 1. Name two commonly used operating system. 1 2. What is known as Volatile Memory? 1 3. Give examples of Non-preemptive Scheduling techniques. 1 4. What is Booting? What are its types? 2 5. Find the eight bit two's complement form of this decimal number : 13 1 6. Convert the following : 2 (i) 72905 10 to hexadecimal (ii) 166 8 to binary 7. What is the difference between RISC and CISC computers? 2 SECTION-2 8. Define Echo-printing. 1 9. Write the stages of Program Development Process. 2 10. How prologues and comments are different from each other? 2 11. What is the difference between Run time error and Logical error? Explain with examples. 3 12. Name two types of compilation errors. 1 13. What is pretty printing? 1 SECTION-3 14. Write two major differences between Object Oriented Programming and Procedural Programming. 2 15. What do you mean by Data Abstraction and Encapsulation? 2 16. Which escape sequences represent the newline character and null character? 1 17. What is the data type in C++? What is the difference between fundamental data types and derived data types? Explain with example. 3 18. Why is function main ( ) special? What would happen if main ( ) is not present in the program? 2 SECTION-4 19. What do you mean by type casting and type promotion? 2 20. Given the following code fragment 2 int ch=20; cout<<++ch<<"\n"<<ch<<"\n"; (i) What output does the above code fragment produce? (ii) What is the effect of replacing ++ch with ch+1. 21. Rewrite the following program after removing the syntactical error(s), if any, Underline each correction. 2 #include<iostream.h> const int Multiple 3; void main ( ) { Value = 15; for (int Counter = 1; Counter =<5; Counter++, Value = 2)

Oswaal CBSE Question Bank With Complete Solutions for Class 11 Computer Science C++ ( For 2017 Exams) 51% OFF Publisher : Oswaal Books ISBN : 9789351278283 Author : Panel Of Experts Type the URL : http://www.kopykitab.com/product/7990 Get this ebook