Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

Objects of which class does the integer from the range -2^30 to 2^(30-1) belong to?

(a) Bignum

(b) Octal

(c) Fixnum

(d) Binary

This question was addressed to me in an interview for internship.

I’d like to ask this question from Data Types and Variables in section Ruby Basics of Ruby

  • RUBY
  • September 18, 2023 at 5:06 am

Ruby can deal with both numbers and floating point values.

(a) True

(b) False

This question was addressed to me in an interview for job.

This question is from Data Types and Variables topic in portion Ruby Basics of Ruby

  • RUBY
  • September 14, 2023 at 5:06 am

Ruby is a case-sensitive language.

(a) True

(b) False

I had been asked this question in an online interview.

Question is taken from Data Types and Variables topic in division Ruby Basics of Ruby

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

What is the size of an integer data type in ruby?

(a) -2^30 to 2^30

(b) -2^30 to 2^(30-1)

(c) -2^29 to 2^30

(d) -2^60 to 2^61

I got this question by my school teacher while I was bunking the class.

I want to ask this question from Data Types and Variables topic in chapter Ruby Basics of Ruby

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

Why can not we use quotation marks (‘ or “) with boolean?

(a) It indicates that we are talking about a string

(b) It indicates that we are assining a value

(c) It indicates that that we are replacing boolean data type with string data type

(d) None of the mentioned

I had been asked this question in an internship interview.

Asked question is from Data Types and Variables in section Ruby Basics of Ruby

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

What will any variableevaluate to if it is of Boolean data type?

(a) True

(b) Nil

(c) False

(d) Either True or False

This question was addressed to me in an interview for job.

My question is based upon Data Types and Variables in portion Ruby Basics of Ruby

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

Ruby can be used for developing internet and intranet applications.

(a) True

(b) False

I got this question in an internship interview.

I’m obligated to ask this question of Basics in chapter Ruby Basics of Ruby

  • RUBY
  • September 27, 2023 at 5:06 am

Which of the following datatypes are valid in Ruby?

(a) Numbers

(b) Boolean

(c) String

(d) All of the mentioned

The question was posed to me in an interview for internship.

The query is from Data Types and Variables topic in chapter Ruby Basics of Ruby

  • RUBY
  • September 9, 2023 at 5:06 am

It is must for Ruby to use a compiler.

(a) True

(b) False

This question was posed to me at a job interview.

My question is from Basics in portion Ruby Basics of Ruby

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

Ruby can be embedded into Hypertext Markup Language(HTML).

(a) True

(b) False

The question was asked in an interview for job.

This interesting question is from Basics topic in section Ruby Basics of Ruby

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

Viewing 15 topics - 46 through 60 (of 73 total)

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