Home / MCQ Bank / Computer
Computer Data Types And Variables In Ruby

What is the method used to convert a string to lowercase in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • .downcase

Related Computer Questions

What will be the output of the following C code? #include<stdio.h> #define max 100 void main() { #if(max%10) printf("Exam"); #endif printf("Veda"); } What is the function of the memory object? What will be the output of the following C++ code? #include <iostream> #include <vector> using namespace std; int main() { vector<int> v; for (int i = 1; i <= 5; i++) v.push_back(i); cout<<v.size()<<endl; v.resize(4); cout<<v.size()<<endl; return 0; } What is the time complexity of the brute force algorithm used to solve the balanced partition problem? Which Java standard library class is used for implementing a resizable array?