Job offers
Companies
Tests
Blog
I'm an employer
Sign up
Log in
Group 2@2x
Created with Sketch.
Home
>
IT Tests
>
Questions
>
Write a Ruby program that prints the first 100 prime numbers.
Question from the Ruby (legacy) test
Write a Ruby program that prints the first 100 prime numbers.
Start test
See the Ruby (legacy) test
Medium
Which code will not print « New object. » ?
View the correction
Author: Olivier Milla
Status: Published
Question passed 26 times
Edit
0
Community Evaluations
No one has reviewed this question yet, be the first!
Similar Questions
More questions about Ruby
1
What is the output of the following Ruby code? `1..5.to_a`
0
Declare a module and put whatever you want in it.
0
How to use mixins in Ruby
0
How to add a method to an object in Ruby
0
Ruby does not support multiple inheritance.
Load 5 more similar questions