Save
Computer Science
Programming
Programming paradigms
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
willow
Visit profile
Cards (18)
What is the purpose of classes in object-oriented languages?
To define
objects
modeling a
problem
View source
What are the four main principles of object-oriented programming?
Encapsulation
Abstraction
Inheritance
Polymorphism
View source
What does encapsulation mean in object-oriented programming?
Object state is
private
;
public
methods interact
View source
What is abstraction in object-oriented programming?
Hiding
complexities
of how an object
works
View source
What is inheritance in object-oriented programming?
Subclasses inherit
properties
from
parent
classes
View source
What does polymorphism allow in object-oriented programming?
Objects to take on many different
forms
View source
What do declarative languages describe?
What should be achieved, not
how
View source
What are domain-specific languages (DSL)?
Languages designed for
specific
tasks
View source
What does SQL allow programmers to do?
Define desired results without
implementation
details
View source
What are the characteristics of procedural and object-oriented programming paradigms?
Procedural: Focus on
procedures
and
functions
Object-oriented: Focus on
objects
and
classes
View source
What is a programming paradigm?
An
overall
approach
to
writing
program
code
View source
What do imperative languages specify?
How the
problem
should be solved
View source
What is a characteristic of procedural languages?
Programs can be split into
procedures
View source
What is FORTRAN known for?
Designing
scientific
and
mathematical
problems
View source
What defines functional languages?
No
mutable
data structures, uses
math
expressions
View source
How do functions operate in functional languages?
Functions can call other functions as
inputs
View source
What are the advantages of functional languages for data processing?
Ideal for processing
big data
No
mutable data structures
View source
What is the main focus of functional programming?
Processing
big data
efficiently
View source