1) Python treats nsysu and NSYSU as the same identifier. a) True b) False 2) Given that y = ax3 + 7, which of the following is not a correct statement for this equation? a) y = a * x * x * x + 7 b) y = ax * x * x + 7 c) y = a * (x * x * x) + 7 d) y = a * x ** 3 + 7 3) What is the type of the expression 7.5 * 3 a) float b) string c) int d) double 4) Which of the following expression will produce a runtime error? a) 10 / 3 - 3 b) 10 / (3 + 7) c) 10 / (3 - 3) d) 10 // (3 + 7) 5) What should the expressions "math"*3 evaluate to? a) "mmmaaattthhh" b) "math*3" c) "mathmathmath" d) "math3"

Scorebord

Visuele stijl

Opties

Template wisselen

Automatisch opgeslagen activiteit "" herstellen?