RUBY EXAM 2024 WITH 100% CORRECT ANSWERS
RUBY EXAM 2024 WITH 100% CORRECT ANSWERS What is Ruby? - correct answer An object-oriented, cross-platform, interpreted language Where does Ruby draw its inspiration? - correct answer Lisp, Smalltalk and perl Who created Ruby? - correct answer Yukihiro Matsumoto (Matz) in 1995 What is Rails? - correct answer A web development framework made for Ruby How do objects communicate with one another? - correct answer By calling their methods What are the differences between classes and modules? - correct answer A module is a collection of methods to be used across multiple classes, and a class is a collection of related methods that manipulate and inform on the state of an object Where is the state of an object accessed? - correct answer Through variables *Name the different types of variables and their respective scopes - correct answer Instance variables within a class, class variables with scope of class, global variables with scope of main, local variables with scope of a particular methods How is the va
Written for
- Institution
- RUBY
- Course
- RUBY
Document information
- Uploaded on
- April 17, 2024
- Number of pages
- 4
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ruby exam 2024 with 100 correct answers