1) What would be printed if the user inputs 30? a) Syntax error b) Your are a child c) You are an adult d) Nothing 2) What are lines 1 and 5 an example of? a) Loops b) Comments c) Variables d) Subroutines 3) What would be printed if the user inputs "john" (without the quotation marks). a) We don't have the same name b) We have the same name c) Nothing d) Error 4) What is the variable called in this program? a) John b) if c) print d) name 5) What would be printed is the user types num1 = 10 and num2 = 2 a) 20 b) 12 c) 5.0 d) 5 6) What are lines 6 to 13 an example of? a) Loop b) Selection c) Input d) Output

Selection Questions

Ledertavle

Visuell stil

Alternativer

Bytt mal

Gjenopprett automatisk lagring: ?