Quiz


Quiz answers:

q1)  D  Functions have nothing to do with client requirements= £

q2)  D because you need the return keyword to activate the function= £

q3)  C because the value of x is 3= X there was no right answer on the selection 3,81

q4)   C because the function name has to be at the start of the line=X answer is A

q5)  A because you have to use a new index and assign a value to it=£

q6)  D because x is smaller than y so it should be returned=£

q7)  A because the second input will not be generated=X answer is D

q8)  C because there is  a syntax error=X answer is A 

q9)  B because the whole statement is true=£

q10)  D there is an error in the second line you cant have apostrophes around a number=£ 

q11)  B you use a hashtag to write a comment that wont affect your code=£

q12)  C because you need to times x by two=X answer is A

q13)  D because it prints the sum of the equation=£

q14)  A because that if half of 14=£

q15)  B because 19 is less than 20=£

q16)  C it has no affect on how fast it runs=£ 

q17)  D you can store integers and character values=£ 

q18)  C because=£

q19)  B it allows you to exit a loop without affecting anything else=£

q20)  D invalid syntax=X answer is B


14/20

Leave a comment

Log in with itch.io to leave a comment.