which of the following has ‘one imput argument,which the program will call x and will calculate one output argument,which the program will call output?
a.fucntion output =my_function(x)
b.function output[x1,y2]=my_function(x)
c.fucntion output=my_fucntion(x1,y1)
d.none of the above
2) which one of the following is false about ‘fprintf’
a.cannot control how many digits to display.and their position
b.more control over your output than the disp fucntion
c.can combine text and number
d.can specify when skip toa new line
3)If the following statement is executed,output in the cammand window would be x=input(‘Enter your city’)
a. ‘Enter your city’
b. Enter your city
c.Error using input
d.None
4) If the following statment is execuated,output would be
disp(‘The moon’s gravity is 1/6th that of the earth’);
a. ‘the moon’s gravity is 1/6th that of the earth’
b.Error:Unexpected expression
c.”the mmon gravity is 1/6th that of the earth”
d.none