Giter Club home page Giter Club logo

code-labs-ruby-exercises's Introduction

Ruby Exercises and Terminology

Link to exercises
Here is a list of ruby terms and definitions used in class.

Part 1

Layer of Abstraction - A way of hiding the working details of a subsystem, allowing the separation of concerns to facilitate interoperability and platform independence.
Data Type - An attribute of data which tells the compiler or interpreter how the programmer intends to use the data.
Variable - A symbolic name associated with a value and whose associated value may be changed
What's the difference between a local variable, constant variable, and a global variable? - The scope and where they are available to be used within a given program.
What does scope mean? - The availability of an object in regards to a program.
Constant Variable - A variable that is stored and not changed.
Method - Computer function or subroutine that is tied to a particular instance or class.
IRB - Interactive ruby shell.
Operators - Constructs defined within programming languages which behave generally like functions, but which differ syntactically or semantically.
Class - In object-oriented programming, a definition that specifies how an object works.
Gem - RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries.

Part 2

Conditional - expression checked allowing code logic to happen
The difference between if, elseif and else. - If executes if condition is true, elsif only if condition was false and other condition true, and else if other conditions were false.
**What are Case/When statements? - statments which can check multiple conditions. Similar to switch statements in other languages.
**What is a data structure? - Data organization or storage that allows efficient access and modification of data. Arrays - A group of data or information
What is meant by 'built-in' methods? - Methods part of the language that don't need to be defined.
Loops - Sequence of instructions that are moved through or repeated.
What are infinite loops? - Loops that are continually evaluated.

Part 3

Part 4

code-labs-ruby-exercises's People

Contributors

mattriney avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.