Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Chapter-Wise SolutionsQUESTION BANK
Computer Science
OSWAAL BOOKS“Oswaal House” 1/11, Sahitya Kunj, M.G. Road, AGRA-282002Ph.: 0562-2857671, 2527781, Fax : 0562-2854582, 2527784
email : [email protected], website : www.oswaalbooks.com
Published by :
Strictly Based on the Latest Syllabus issued by CBSE Board for 2015 Examination
(Based on C++)
Our Distributors
© Publisher
Typeset by : Sagar Graphics (Rajkumar)Printed by : Aadhya Printers
09
09
CONTENTS
Syllabus v - vii
Solved Paper 2014 9 - 15
Unit 1 : Computer Fundamentals
1. Computer Basics 1 - 13
2. Software Concepts 14 - 20
3. Microsoft Disk Operating System (MS-DOS and MS-Windows) 21 - 33
4. Software Application and Number System 34 - 41
5. Computer Organization 42 - 46
Unit 2 : Introduction to C++
6. Basics in C++ 47 - 51
7. Operators and Advance C++ 52 - 63
Unit 3 : Programming Methodology
8. General OOP Concepts 64 - 78
Unit 4 : Programming in C++
9. Flow of Control 79 - 113
10. Header File and Library function 114 - 124
11. Procedural Programming (Functions) 125 - 138
12. Derived Data Type-Array 139 - 161
13. Structure 162 - 167
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 increases 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, solutions to important NCERT questions and questions from Kendriya
Vidyalaya Sangathan makes 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 helps in continuous improvement of this book
and makes this book stand in the category of “One of the Best”. Wish you all Happy
Learning.
–Publisher
PREFACE
( v )
( vi )
( vii )
SOLVED PAPER 2014 SUBJECT : COMPUTER SCIENCE (C++) Class-XI
Time : 3 Hours] [Maximum Marks : 70
1. (a) Give the full form of EEPROM. [1] (b) Write the full form of ASCII. [1] (c) Draw the diagram for computer memory hierarchy. [2] (d) Write the differences between SIMD and MIMD. [2] (e) What do you mean by Operating system, also describe its characteristics and types ? [4]2. (a) Which header file is required to use cout and cin operator ? [1] (b) Explain Types of Logical Operators. [3] (c) Why # is used in header file declaration in C Programming ? [2] (d) Write any eight rules on choosing variable name. [4]3. (a) Explain Loops and its need in C++. [4] (b) What do you mean by Complexity and Simplicity of program ? [2] (c) Why Optimizing a program required ? [2] (d) What do you mean by Debugging a program ? [2]4. (a) Write the header file for the following function : [3] gets( ), isalnum( ), strcpy( ), fabs( ), randomize( ), puts( ). (b) How to define a Structure in C++ ? [3] (c) Write the output of the following code : [4] #include <iostream> using namespace std; #include <iomanip> using std::setw; int main ( ) { int n[ 10 ]; // n is an array of 10 integers // initialize elements of array n to 0 for ( int i = 0; i < 10; i++ ) { n[ i ] = i + 100; // set element at location i to i + 100 } cout << “Element” << setw( 13 ) << “Value” << endl; // output each array element's value for ( int j = 0; j < 10; j++ ) { cout << setw( 7 )<< j << setw( 13 ) << n[ j ] << endl; } return 0; }5. (a) Write the syntax error if any, in the following program and rewrite program after removing
error. [3] include<iostream.h> void main( ) { int r ; w = 90; while w > 60 r = w - 50; switch(w)
Note : * Memory based Paper .
cont inue
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
PRODUCT NOT FOUND!
Product not found!
Products By Alphabet
School BooksOswaal BooksClass 10th BooksClass 12th Books
Engineering BooksRGPV Books & NotesVT U Books & NotesFree Engineering Books
Competitive ExamsBank PO ExamGate BooksT eaching Exams Books
Professional CoursesICSI Books & Study Materials
Login | Register 0
Search by T itle / Author / ISBN / Description
Chartered Accountant BooksCompany Secretary Books
About KopyKitab.com
Kopykitab is Ind ia's 1st d igital & multiple publishers platform. Kopykitab has largest co llection o f e-textbooks& branded d igital content in Higher & School education. We have strong foundation o f lead ing publishers &tutorials as content partners.
We offer e-textbook, T est Preparation, Notes & LMS for various curriculam to Students, Pro fessionals &Institutes. T hese are same textbooks, way smarter. Our goal is to make education affordable & accessible.A user can access the content in all electronic devices e.g. Mobile, PC & T abs
Informat ion
About Us
FAQ
Privacy Policy
T erms & Conditions
Payment Information
Links
ICSI eLibrary
KopyKitab eBook Reader
Contact Us
Site Map
My Account
Refer & Earn
My Account
Order History
Wish List
Newsletter
My Library
Verified By
© 2015 DigiBook T echnologies (P) Ltd , All Rights Reserved. An ISO 9001:2008 Certified Company