Home / MCQ Bank / Computer
Computer Methods In Ruby Difficulty: Medium

What is the purpose of the `alias` keyword in Ruby?

Select the correct option to test your answer:

More Computer Questions

Which browser does not support MP4 H.264 format? What will be the output of the following Python code? def f(): global a print(a) a = "hello" print(a) a = "world" f() print(a) How do you filter rows where a specific variable is not equal to a given value using filter() in dplyr? Which of the following is not included in the framework? Which of the following errors will occur when the below code is executed? #include<stdio.h> int cat_number(int n) { int i,j,arr[n],k; arr[0] = 1; for(i = 1; i < n; i++) { arr[i] = 0; for(j = 0,k = i - 1; j < i; j++,k--) arr[i] += arr[j] * arr[k]; } return arr[n-1]; } int main() { int ans, n = 100; ans = cat_number(n); printf("%d\n",ans); return 0; }