100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
COP 3330 Test 1 Questions and answer verified to pass 2024 €12,87
In winkelwagen

Tentamen (uitwerkingen)

COP 3330 Test 1 Questions and answer verified to pass 2024

 0 keer verkocht
  • Vak
  • COP
  • Instelling
  • COP

COP 3330 Test 1 Questions and answer verified to pass 2024 COP 3330 Test 1 What is an object? - correct answer a software bundle of related state and behavior Real world objects share two characteristics: - correct answer They all have state and behavior How is state represented? - cor...

[Meer zien]

Voorbeeld 2 van de 7  pagina's

  • 7 september 2024
  • 7
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • COP
  • COP
avatar-seller
COP 3330 Test 1
What is an object? - correct answer ✔a software bundle of related state and
behavior


Real world objects share two characteristics: - correct answer ✔They all
have state and behavior


How is state represented? - correct answer ✔In the form of attributes called
instance variables


What are instance variables known as? - correct answer ✔member variables
or fields


How is behavior represented? - correct answer ✔form of task performance
called methods


What is a method call? - correct answer ✔telling the program to perform the
tasks defined in the method


Why do we use objects? - correct answer ✔Modularity, info hiding, code re-
use, debugging ease


What is a class? - correct answer ✔the blueprint from which individual
objects are created


The "blueprint" is a(n)_______ of the ______ ________ _______ - correct
answer ✔s that blueprint is an instance of the class of objects.

, A class is like a _______ - correct answer ✔A class is like a struct, with it
multiple variables
Instead of functions being outside of the struct, they would


When defining a class, member variables are included within the class's
open/close curly braces (i.e. {}) and methods are defined outside of the
open/close curly braces. True or False? - correct answer ✔True


Objects can communicate with one another however.... - correct answer
✔how objects are implemented is not made public, in other words the details
are hidden, hence information-hiding


Information-hiding is accomplished via... - correct answer ✔encapsulation


What does "public" mean?
How do we hide details? - correct answer ✔refers to access level modifiers;
private access level modifier


What is an example of instantiation?
What is an instance? - correct answer ✔Dog puppy = new Dog();
the created object is an instance of the class


In the following statement, Dog puppy = new Dog();, what is "Dog()" called? -
correct answer ✔constructor


What is inheritance? - correct answer ✔creating a new class using an
existing class

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, Bancontact of creditcard en je bent klaar. Geen abonnement nodig.

Focus op de essentie

Focus op de essentie

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper flyhigher329. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €12,87. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 71250 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Start met verkopen

Laatst bekeken door jou


€12,87
  • (0)
In winkelwagen
Toegevoegd