• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/34

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

34 Cards in this Set

  • Front
  • Back

What is a class?

A class is a template or a blueprint for a type of object

What is an object?

An object is an instance of a class

What is inheritance in relation to OOP?

Inheritance enables new objects to take on properties of existing objects

What is abstraction?

The concept of representing important details and hiding away the implementation details.

What is encapsulation?

Protecting the data by marking it private and controlling how it is accessed and modified

What is polymorphism?

Generalizing the code variable, parameter or return types so it can work with objects of many types

What is a constructor?

Used to initialize variables as an object is created

What is a destructor?

Used to free up memory that an object held when that object is no longer needed

What is an abstract class?

A class which cannot be instantiated, used in inheritance, represents only part of an item

What is a concrete class?

A class which can be instantiated, can be used with “new” to create an object

What is object oriented programming?

A programming model based on objects, instead of just functions and procedures

What is a Super class?

A class from which other classes inherit code is called a super class

What is a Sub class?

A class which inherits code from a super class is a sub class

What is instantiation?

The process of creating an object from a class

Name 3 advantages of OOP?

•Code reuse


•Flexibility through polymorphism


•Easier troubleshooting

What is a compiler?

A compiler converts source code to machine code

What is an in interpreter in relation to computer programming?

An interpreter directly executes source code

What is architecture neutral?

Software that is designed without regard to the target platform

What is platform independence?

Software that can run on any hardware platform or software platform

What is an array?

A series of objects of the same type, stored contiguously in memory

What is an advantage of an array?

•Fast input and retrieval of data, •can store a number of elements

What is a disadvantage of an array?

Fixed in size

What is an array list?

A collection similar to an array, but number of elements can be increased

What is a set?

A collection which does not allow duplicate values

What is a map?

A collection that uses key value pairings, where the keys must be unique

What is a queue?

A collection where the first item added to the collection is the first item processed

What is a stack?

A collection where the last item added to the collection is the first item processed

what is the index of the 1st element of an array?

Index 0

What is the index of the last element of an array?

Length of array-1

Name a persistent storage type?

File or a database

How does object oriented programming differ to procedural programming?

Procedural programming relies on prodcedures that operate on data- these are two separate concepts. In object oriented programming, these two concepts are bundled into objects

What is information hiding?

Protects the data from direct modification by other parts of the program

What is a method?

A named block of code to represent behavior or actions of an object

What is a abstract method?

A method that is declared without an implementation



(Whiteout braces and followed by a semi colon)