Programming Quiz

Results

#1 When existing( ) function call is executed, what is the result of the print statement within the existing() function call?

#2 What will be the output of the following code segment?

#3 What will be the output of each of the code fragments?

#4 What is the result of the above code segment when executed?

#5 What is the value of z at the end of the loop where x is an integer that has been initialized.

#6 What are the values of i and j at the end of the code fragment?