KUNGFU TECH vietnam
6425 câu hỏi phỏng vấn Full-Stack, Coding & System Design Interview
Bộ lọc:
Is everything in Ruby an object?
What is the highest level in the object model?
What are rubygems?
What is a class in ruby?
What is an object in ruby?
Is there an equivalent of “continue” in Ruby?
Which core object includes the "Kernel" module?
What can you say about an identifier that begins with a capital letter?
Why Ruby is known as a language of flexibility?
Explain redo statement in Ruby
What is duck typing and how does it pertain to Ruby?
What is a predicate in the context of Ruby method naming conventions?
Why might you use Hash#fetch over Hash#[] when querying values in a hash?
What are two uses of the splat operator?
Is Ruby a statically typed or a dynamically typed language?
What is a DSL and how does it pertain to Ruby?
Why are symbols typically used as hash keys instead of strings?
Which of the expressions listed below will result in "false"?
Are class variables inherited?
What is the difference between == and === ?
What is the return value for ...
What is the difference between an Instance Variable and a Class Variable?
What does it mean to coerce an object? Why would you do it?
Explain some differences between Ruby and Python
There are three ways to invoke a method in ruby. Can you give me at least two?
Explain each of the following operators and how and when they should be used
What is the difference between a class variable and a class instance variable?
Why might you use #each instead of for/in ?
Is Ruby a strongly typed or a weakly typed language?
What is a module? Can you tell me the difference between classes and modules?
Can you call a private method outside a Ruby class using its object?
What is the difference between private and protected methods?
Are instance methods public or private?
What is the difference between nil and false in Ruby?
How might you specify a default value for a hash?
What will val1 and val2 equal after the code below is executed? Explain your answer.
Why can you safely use a string as a hash key, even though a string is mutable?
Explain redo vs. retry usage
What are two uses of ranges?
What is the main difference between procs and lambdas?
What is the difference between Kernel#require and Kernel#load ?
What is the difference between Module#remove_method and Module#undef_method ?
What is the difference between Array#map and Array#each ?
What is the difference between calling "super" and calling "super()"
What is an iterator?
Why might you want to avoid using string literals within loops?
What does a bang ! at the end of a method signify?
What is the difference between throw/catch and raise/rescue ?
What will be the value of ...
Why might you want to alias a method?
What is the difference between #== and #equal? ?
What is the difference between Proc invocation and lambda invocation?
How is the invocation of a private method different than the invocation of a public method from within its defining class?
When might you use the do / end syntax versus using the curly bracket syntax for a block?
How does block invocation differ from method invocation?
What are some disadvantages of a case statement versus repeated elsif statements?
Which operator must be defined in order to implement the Comparable module?
What is the difference between #== and #eql? ?
Can you tell me the three levels of method access control for classes and modules? What do they imply about the method?
Explain this ruby idiom: a ||= b
What is a Proc?
What does self mean?
Describe a closure in Ruby
What happens if a block is passed two a...
What is the difference betw...
Is a block ...
How exactly ...
When might you encount...
What will be the result of each...
Why doesn't Ruby suppo...
What is the primary differenc...
What happens to a consta...
What is an ...
What is the difference between BasicObject#i...
Is a method...
What is the differnece betwee...