Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

Which of the following are valid floating point literal?

(a) .5

(b) 2

(c) 0.5

(d) None of the mentioned

This question was posed to me during an interview for a job.

This intriguing question comes from Basics in section Ruby Basics of Ruby

  • RUBY
  • August 21, 2023 at 5:06 am

What is the extension used for saving the ruby file?

(a) .ruby extension

(b) .rb extension

(c) .rrb extension

(d) None of the mentioned

The question was posed to me during a job interview.

This interesting question is from Basics in portion Ruby Basics of Ruby

  • RUBY
  • August 29, 2023 at 5:06 am

Which of the following languages syntax matches with the Ruby’s syntax?

(a) Perl

(b) PHP

(c) Java

(d) Jquery

This question was addressed to me during an interview for a job.

My query is from Basics in portion Ruby Basics of Ruby

  • RUBY
  • October 5, 2023 at 5:06 am

Which of the following features does the 2.0 version of ruby supports?

(a) Method keyword arguments

(b) New literals

(c) Security fixes

(d) All of the mentioned

This question was addressed to me in an online quiz.

This intriguing question originated from Basics topic in section Ruby Basics of Ruby

  • RUBY
  • November 2, 2023 at 5:06 am

Which of the following is supported by Ruby?

(a) Multiple Programming Paradigms

(b) Dynamic Type System

(c) Automatic Memory Management

(d) All of the Mentioned

I had been asked this question in an interview for internship.

This interesting question is from Basics in portion Ruby Basics of Ruby

  • RUBY
  • October 8, 2023 at 5:06 am

Ruby is an object oriented general purpose programming language.

(a) True

(b) False

I had been asked this question in exam.

My question comes from Basics topic in portion Ruby Basics of Ruby

  • RUBY
  • October 17, 2023 at 5:06 am

What does the 1..10 indicate?

(a) Inclusive range

(b) Exclusive range

(c) Both inclusive and exclusive range

(d) None of the mentioned

I have been asked this question in an interview.

I’d like to ask this question from For Loop in portion Mathematic Operations and Loops of Ruby

  • RUBY
  • October 10, 2023 at 5:06 am

What does the 1…10 indicate?

(a) Inclusive range

(b) Exclusive range

(c) Both inclusive and exclusive range

(d) None of the mentioned

The question was posed to me by my school principal while I was bunking the class.

The doubt is from For Loop topic in portion Mathematic Operations and Loops of Ruby

  • RUBY
  • October 26, 2023 at 5:06 am

Ruby does not support ++ operator, it only supports += operator.

(a) True

(b) False

The question was asked by my school principal while I was bunking the class.

My question comes from Assignment Operators topic in chapter Mathematic Operations and Loops of Ruby

  • RUBY
  • October 24, 2023 at 5:06 am

The complement of while loop is until loop.

(a) True

(b) False

The question was posed to me at a job interview.

The question is from Until Loop in section Mathematic Operations and Loops of Ruby

  • RUBY
  • October 16, 2023 at 5:06 am

Viewing 13 topics - 61 through 73 (of 73 total)

1 2 3 4 5
  • You must be logged in to create new topics.