Q.1.
It is possible to make array of booleans.
Q.2.
What is the output of the given code? string_array = ["a","e","i","o","u"] print string_array
Q.3.
What is the output of the given code? string_array = ["a","e","i","o","u"] print string_array[3]
Q.4.
What is the output of the given code? string_array = ["a","e","i","o","u"] boolean_array = ["True","False"] puts string_array[puts boolean_array
Q.5.
What is the output of the given code? string_array = ["a","e","i","o","u"] boolean_array = ["True","False"] puts string_array[puts boolean_array[1]
Q.6.
What is the output of the given code? a=[1,2,3,4,b=[1,2,4,6,if a[3]==b[ print "Equal" end
Q.7.
What is the output of the given code? a=[1,2,3,4,b=[1,2,3,4,if a==b print "Equal" else print "Not equal" end
Q.8.
What is the output of the given code? a=["hey", "ruby", "language"] b=["hey", "ruby", "language"] if a==b print "Equal" else print "Not equal" end
Q.9.
What is the output of the given code? a=["hey", "ruby", "language"] b=["hey", "language", "ruby"] if a==b print "Equal" else print "Not equal" end
Q.10.
What is the output of the given code? a=["hey", "ruby", "language"] b=[puts b[puts a[2]