Job offers
Companies
Tests
Blog
I'm an employer
Sign up
Log in
Group 2@2x
Created with Sketch.
Home
>
IT Tests
>
Questions
>
Ruby: what is the output of the following code?
Question from the Ruby (legacy) test
Ruby: what is the output of the following code?
Start test
See the Ruby (legacy) test
Easy
Look at the image
i == 10
j == 10
k.length == 10
View the correction
Author: Olivier Milla
Status: Published
Question passed 28 times
Edit
-2
Community Evaluations
Kalai selvi
09/09/2022
NO OPTIONS TO CHOOSE :(
Auteur anonyme
13/09/2022
Hi Kalai, this is a bug with the english version. I ask a fix from the tech team today. Sorry for this.
Incorrect answer
Auteur anonyme
16/07/2024
the problem is i == 10 its true
Similar Questions
More questions about Ruby
1
What is the output of the following Ruby code? `1..5.to_a`
0
How to add a method to a class in Ruby
0
How to declare a variable in Ruby
0
How to add a getter and setter method to a class in Ruby
0
How to concatenate a string and an integer in Ruby
Load 5 more similar questions