Chapter 2: Variable Declarations

 

Results

QUIZ START

#1. _______ have to be declared at the beginning of a code block and before any statements are given.

Next

#2. _______ are declared on first assignment.

Previous
Next

#3. The _____ statement removes a single reference to an object.

Previous
Next

#4. A ____ block starts with indentation.

Previous
Next

#5. ______ can be ignored in line continuation.

Previous
Next

#6. ________ are very important while writing a program.

Previous
Next

#7. _______ describes what’s going on inside a program so that a person looking at the source code does not have a hard time figuring it out.

Previous
Next

#8. We use the ______ symbol to start writing a comment.

Previous
Next

#9. A _________ is a location in memory used to store some data.

Previous
Next

#10. We use the ________ operator to assign value to a variable.

Previous
Next

#11. Every value in python has a _____

Previous
Next

#12. _______ are actually classes and variables are instance of these classes.

Previous
Next

#13. _______ types of interest are the python long and complex types.

Previous
Next

#14. ______ numbers are not supported in many languages and perhaps are implemented only as class.

Previous
Next

#15. ________ are identified as a contiguous set of characters in between quotation marks.

Previous
Next

#16. ______ allows for either pairs of single or double quotes.

Previous
Next

#17. We can use the ______ function to know which class a variable or a value belongs to.

Previous
Next

#18. _________ function to check if an object belongs to a particular class.

Previous
Next

#19. _______ can be of any length, it is only limited by the memory available.

Previous
Next

#20. A _______ number is accurate up to 15 decimal places.

Previous
Next

#21. _______ numbers are written in the form, x+yj.

Previous
Next

#22. If x+yj, where x is the _____ part.

Previous
Next

#23. If x+yj, where y is the _______ part.

Previous
Next

#24. ______ is an ordered sequence of items.

Previous
Next

#25. ______ is an ordered sequence of items same as list.

Previous
Finish