Terms Flashcards

1
Q

what does API stand for?

A

application programming interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does API refer to?

A

can refer to both how applications talk to each other, as well as documentation.

if someone says “Did you take a look at the Array API?”, they’re talking about the Ruby docs documentation for the Array class.

if someone says “What’s the Twitter API?”,
they’re talking about the programmatic interface to Twitter’s services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are class methods?

A

methods defined only for a class. And don’t work on an object instantiated from a class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are instance methods?

A

methods defined only for an object instantiated from a class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are Public Class Methods?

A

Public Class Methods are called directly from the class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are Public Instance Methods?

A

can be applied to any instance of the clas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a parameter?

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a return value?

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a gem?

A

a collection of Ruby files, or Ruby library, that performs a certain task. The code in a gem is like pre-packaged bundles of code written by someone to solve a useful problem.

It is managed by RubyGems rubygems.org - a publishing system that is behind organizing, listing, and publishing those libraries, or gems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

explain Semantic Versioning

A

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards compatible manner, and
PATCH version when you make backwards compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is abstraction?

A

a concept that ensures that users are far removed from what’s happening “under the hood”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what does DSL stand for?

A

Domain Specific Languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Name examples of Ruby DLSs

A

Rails, Rspec, capybara

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is a Domain Specific Language?

A

Ruby programmers use the Ruby programming language to design and build higher level languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly