ExamVeda
Login
Home
61
Which of the following features does the 2.0 version of ruby supports?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
62
Which of the following is the valid string method?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
The .length method is used to check number of characters.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
64
What is the size of an integer data type in ruby?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
65
What is the output of the given code?
Ans=Ruby
    puts "#{Ans} is an oop language"
    puts "It is very efficient langauge"
    puts "#{expr} is used on rails platform"
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
66
This the right way to comment a single line.
“Ruby”.length # I’m a single line comment!
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
67
Which of the following is supported by Ruby?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
68
Space between 2+5 or 2 + 5 is valid but =begin and = begin is not valid.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
69
first_name,Last_name=gets.chomp,gets.chomp is the correct way to get the input from the user.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
70
Ruby can be used for developing internet and intranet applications.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board