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
Tentamen (uitwerkingen)

IB Computer Science Option D Practice Exam Questions And Answers Rated A+.

Beoordeling
-
Verkocht
-
Pagina's
7
Cijfer
A+
Geüpload op
31-01-2025
Geschreven in
2024/2025

Constructor - Answer In OOP a special type of method which has the same name as the class and is used to create objects. This creation process is known as instantiation. Instantiate - Answer The creation of an instance or particular realisation of an abstraction or template such as a class. The product of this is an object of the class type. In OOP this is done by using a particular method called a constructor. Object - Answer When a class is instantiated the product is one of these. In OOP it is normally what is returned from the constructor. Class - Answer An extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods). Method - Answer A procedure associated with an object class. These procedures should be logical in terms of scope and function and written to encourage re-use. Variable - Answer A storage location paired with an associated symbolic name (an identifier), which contains some known or unknown data referred to as a value. In many computer languages the data type is defined and fixed. Static - Answer A Java keyword. It can be applied to a variable, a method or an inner class. The variables, methods or classes defined by this keyword have a single instance for the whole class and all it's associated objects. It can be accessed when no Object has been instantiated. Final - Answer A Java keyword. It can be applied to a variable, a method or class and indicates that it cannot be changed , derived from over ridden or extended. Member - Answer Belonging to an object, normally applied to variables that have an object wide scope.

Meer zien Lees minder
Instelling
IB Computer Science
Vak
IB Computer Science

Voorbeeld van de inhoud

IB Computer Science Option D Practice
Exam Questions And Answers Rated A+.
Constructor - Answer In OOP a special type of method which has the same name as the class and is
used to create objects. This creation process is known as instantiation.



Instantiate - Answer The creation of an instance or particular realisation of an abstraction or template
such as a class. The product of this is an object of the class type. In OOP this is done by using a particular
method called a constructor.



Object - Answer When a class is instantiated the product is one of these. In OOP it is normally what is
returned from the constructor.



Class - Answer An extensible program-code-template for creating objects, providing initial values for
state (member variables) and implementations of behavior (member functions or methods).



Method - Answer A procedure associated with an object class. These procedures should be logical in
terms of scope and function and written to encourage re-use.



Variable - Answer A storage location paired with an associated symbolic name (an identifier), which
contains some known or unknown data referred to as a value. In many computer languages the data
type is defined and fixed.



Static - Answer A Java keyword. It can be applied to a variable, a method or an inner class. The
variables, methods or classes defined by this keyword have a single instance for the whole class and all
it's associated objects. It can be accessed when no Object has been instantiated.



Final - Answer A Java keyword. It can be applied to a variable, a method or class and indicates that it
cannot be changed , derived from over ridden or extended.



Member - Answer Belonging to an object, normally applied to variables that have an object wide
scope.

, Public - Answer An access modifier. A class, method, constructor or interface that is declared like this
can be accessed from any other class.

All methods, and variables declared like this are inherited by subclasses.



Private - Answer An access modifier. Variables, methods and constructors that are declared like this can
only be accessed from within the class.

It is the most restrictive access level. Classes cannot be declared like this.

It is the main way that an object encapsulates itself and hides data from outside the class.



Protected - Answer An access modifier. Variables, methods and constructors that are declared like this
can only be accessed by subclasses in other packages or from other classes within the same package.



Cast - Answer A reference to one object or data type can be changed to a reference to another object
or data type by this process. The objects in the class need to be related by inheritance or in the case of
primitives have a defined way of changing available.



Subroutine - Answer Another word for method.



Inheritance - Answer In this coding construct a class that is derived from another class is called a
subclass (also a derived class, extended class, or child class). The class from which the subclass is derived
is called a superclass (also a base class or a parent class).

Subclasses gain access to the public and protected members and methods of the superclass directly but
not the private members and methods. Hence the Objects of the subclass become hybrids of the super
and sub classes.



Polymorphism - Answer In simple terms it is the ability to define a method of the same name that
operates differently depending on the class in which it is defined not the data type of the object from
which it is referenced.



Encapsulation - Answer This is used to refer to one of two related but distinct notions, and sometimes
to the combination thereof:

A language mechanism for restricting access to some of the object's components.

Geschreven voor

Instelling
IB Computer Science
Vak
IB Computer Science

Documentinformatie

Geüpload op
31 januari 2025
Aantal pagina's
7
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.59
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


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
COCOSOLUTIONS Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
192
Lid sinds
2 jaar
Aantal volgers
16
Documenten
8204
Laatst verkocht
4 dagen geleden
COCO SOLUTIONS ACADEMIC STORE

COCO SOLUTIONS ACADEMIC STORE YOU GET ALL KIND OF EXAMS,STUDYGUIDES,ASSIGNMENTS,FLASHCARDS,NOTES,SUMMARIES,REVIEWS .ALL YOUR ACADEMIC SOLUTIONS WE GOT YOU COVERED.WE ARE YOUR STUDY SOLUTION ,MAKING YOUR EDUCATION JOURNEY SMOOTH AND EFFICIENT FOR MORE ENQUIRIES FEEL FREE TO REACH US OUT.

4.2

32 beoordelingen

5
17
4
6
3
7
2
1
1
1

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