DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1

read the entire chapter. Table 4-1 lists the major
headings in this chapter and their corresponding “Do I
Know This Already?” quiz questions. You can find the
answers in Appendix A, “Answers to the ‘Do I Know This
Already?’ Quiz Questions.”


Table 4-1 “Do I Know This Already?” Section-to-
Question Mapping

Foundation Topics SectionQuestions

Python Functions 1–3

Object-Oriented Programming and Python 4–5

Python Classes 6–8

Working with Python Modules 9–10

Caution
The goal of self-assessment is to gauge your mastery of
the topics in this chapter. If you do not know the
answer to a question or are only partially sure of the
answer, you should mark that question as wrong for
purposes of self-assessment. Giving yourself credit for
an answer that you correctly guess skews your self-
assessment results and might provide you with a false
sense of security.

1. Which of the following is the correct syntax for a
Python function?
1. define function (arg):
2. function function(arg);
3. def function(arg):
4. func function(arg):
Free download pdf