Skip to content

Instantly share code, notes, and snippets.

@sean2121
sean2121 / kxsc7-2050.md
Created August 22, 2017 05:09
KXSC7-2050の作成例
K

Ruby Association Certified Ruby Examination Gold Sample Questions

Q1. Assume that the following code must have the stated execution result.

__(1)__
x.each_line { |line| puts line }

[Execution Result]
apple

Ruby Association Certified Ruby Examination Silver Sample Questions

Q1. Which of the following have true values in Ruby? (Choose two.)

  • (a) ""
  • (b) 0
  • (c) false
  • (d) nil