1) Variables name can only contain letters, numbers and underscores. a) True b) False 2) Which of the following statement is incorrect? a) Each variable has a name and a value b) You have to choose a meaningful name for your variable c) Variable 3) What is the error in the following code:  Ellipse width = 150 a) The variable nam has a space. b) It contains an equal sign c) The variable name contains capital letters 4) To assign a value for a variable you should use the equal sign(=). a) True b) False 5) Assume that you have two variable ellipseWidth, how to use them inside adding ellipse command? a) ellipse is Ellipse(width : ellipsewidth, height : ellipseheight) b) ellipse is Ellipse(width = ellipseWidth, heigh = ellipseHeight)  6) What is the output of the following code: Width1 =250 , heigh1 = 250 , rectangle1 is Ellipse(width:width1, height:height1) a) A circle with radiuse 250 b) A square with height 250 and width 250 c) Error

Tabela

Vizuelni stil

Postavke

Promeni šablon

Vrati automatski sačuvano: ?