Object-Oriented Programming Foundations Flashcards (12 cards)

All cards

1Question

What is a programming language used for?

Answer

To write instructions and tell a computer how to perform tasks.

2Question

What is procedural programming?

Answer

An approach writing programs as sequences of steps executing top to bottom.

3Question

What is object-oriented programming?

Answer

A programming approach using classes and objects combining data and functions into one object.

4Question

What do attributes and methods represent in an object?

Answer

Attributes describe data and methods describe behavior of a real-world entity.

5Question

Programming Paradigm

Answer

Approach to solving problems with code

6Question

Procedural Programming Limits

Answer

Hard to reuse, error-prone, data insecure

7Question

Object-Oriented Programming

Answer

Uses classes/objects to combine data and functions

8Question

Object Attributes

Answer

Describe data, e.g., color, speed

9Question

Class Definition

Answer

Blueprint for creating objects with data/methods

10Question

Object Instance

Answer

Specific entity created from a class

11Question

Encapsulation Role

Answer

Hides data details and access

12Question

Polymorphism Use

Answer

Allows methods to process objects differently

Test yourself with the quiz

Answer 11 questions on Object-Oriented Programming Foundations.

1. What is the defining execution pattern of procedural programming?

2. Which situation best illustrates a major limitation of procedural programming?

Take the quiz →

Read the study guide

Go over the full study guide for Object-Oriented Programming Foundations.

Read the study guide →

Related classes

Make your own flashcards

Upload your class notes and Revizly writes your flashcards in about a minute.

Flashcard maker