Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Best Computer Revision guide for a Boards Covers all indepth detail along with pyqs and examiners remark.

Beoordeling
-
Verkocht
-
Pagina's
106
Geüpload op
25-05-2024
Geschreven in
2023/2024

It is an interactive smart e-book designed to provide students with comprehensive coverage of all essential topics for ICSE board examinations. This all-in-one resource is tailored to meet the specific requirements of ICSE syllabi, ensuring students are well-prepared for their exams. Tailored for ICSE: Specifically designed to meet the needs and standards of the ICSE board, ensuring relevance and accuracy Innovative Learning: Combines traditional learning methods with modern technology to provide an engaging and effective educational experience.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

,
, ICSE CLASS 10

COMPUTER NOTES

LESSON 1
Concept of OOPs
Object-oriented programming: Object-Oriented Programming or OOPs refers to languages that uses objects
in programming. Object-oriented programming aims to implement real-world entities like abstraction ,
inheritance, encapsulation , polymorphism etc in programming. Java is an example of object oriented
language.

Ques What are the basic OOP (object oriented programming) concepts? OR Name OOPs principles Ans
: The basic OOP concepts are Abstraction, Encapsulation, Inheritance, Polymorphism

Ques What is an object ? Give eg.
Ans An object is an identifiable entity with some characteristics and behaviour. For e. g. Orange is an object.
Its characteristics are its spherical shape and its orange colour. Its behaviour is that it is citrus in nature
and tastes sweet and sour.

Ques What is an abstraction? Give example .
Ans Abstraction is an act of representing essential features without including background details or
explanations. For Eg If a person is driving a car he is required to know the essential features like use
of gear, clutch, brakes, accelerator and steering handling etc. He is not required to know the internal
details like wiring , functioning of engine etc.

Ques What is Encapsulation ? Give eg
Ans The wrapping up of data and functions in a single unit is called encapsulation.
For eg . a group of car’s part (such as seats, steering ,engine ,brakes etc.) does not make a car ; they have
to be connected in proper way in one unit in order to have proper functionality i.e behaviour. ; then only
it may be termed as a car.

Ques What is Polymorphism?
Ans: Polymorphism is the ability of an object to behave differently in different circumstances.
For eg operation move behaves differently when applied to MS windows than when applied to a
chess game.

Ques What is inheritance ?
Ans: Inheritance is the capability of one class to inherit the properties from another class .A class from which
another class is inheriting the properties is Base/ Super class and the class that inherits the properties is known
as Derived / Sub class

Ques Can there be multiple abstractions of a real world entity?
Ans Yes, There can be multiple abstractions of a real-world entity as an abstraction is relative to the purpose or
user e. g., If we talk about student , we talk about anything belong to him like his name, brothers ,sisters,
parent’s profession, address etc. but in terms of result tracking system the abstraction would be – his roll
ICSEIMPNOTES

, no, name, marks obtained etc, for extra curricular activities , the abstraction would be – her roll no ,
talents and awards etc.



Ques How are objects implemented in software terms? Ans
The objects are implemented in software terms as
(i) Characteristics (attributes ) are implemented through member variables . (ii)
Behaviour is implemented through member functions called methods.
(iii) The values of these member variables defines the state of an object
(iv) Data and methods are encapsulated into one unit and given a unique name to give it identity.




Ques What is state of object?
A In software objects , the values of the characteristics(member variables) determine the state of object.
For eg the switch may be in two state either on or off.

Ques How do object encapsulate state and behavior?
Ans An object binds together the characteristics and behaviour which cannot be separated i.e. The
state and behaviour are encapsulated by the object as the state is nothing but the set of values of
the characteristics at a certain time.

Ques What is message passing among object ?
Ans The interaction between objects by means of function calls is termed as message passing

Ques What is information hiding?
Ans. Information hiding means restricting the accessibility of data associated with an object in such a way that it can be
used only through the member methods of the object.

Ques Why methods are so important for the description of objects?
Ans All the real world entities do have behaviour associated with them, so the objects, which basically represent these
entities, must have methods that implements this behaviour..

Ques How are classes and abstraction interlinked?
Ans. An Abstraction is a named collection of characteristics and behaviour required to represent an entity or concept for
some particular domain . And a class is logical implementation of an abstraction. When it comes to represent an
abstraction in software terms, it is represented through a class.

Ques How do you map an abstraction into software?
Ans . Abstractions are mapped into software terms by means of classes. A class wraps up characteristics and behavior of an
abstraction into one unit by representing characteristics(attributes) through data members and behaviour through
methods.

Ques What is class ?
Ans A class represents a set of objects that share common characteristics and behaviour.
For eg Student is a class but the students JOHN , RAM are objects.


ICSEIMPNOTES

Geschreven voor

Instelling
Middelbare school
Vak
School jaar
4

Documentinformatie

Geüpload op
25 mei 2024
Aantal pagina's
106
Geschreven in
2023/2024
Type
College aantekeningen
Docent(en)
E-book
Bevat
Alle colleges

Onderwerpen

$5.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
akshatkumar

Maak kennis met de verkoper

Seller avatar
akshatkumar
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
2 jaar
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen