exam questions

Exam 98-381 All Questions

View all questions & answers for the 98-381 exam

Exam 98-381 topic 1 question 40 discussion

Actual exam question from Microsoft's 98-381
Question #: 40
Topic #: 1
[All 98-381 Questions]

HOTSPOT -
You create a function to calculate the power of a number by using Python.
You need to ensure that the function is documented with comments.
You create the following code. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
http://www.pythonforbeginners.com/comments/comments-in-python https://www.w3resource.com/python/python-string.php

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sudarchary
3 years, 8 months ago
Yes,No,Yes. I tested
upvoted 1 times
...
gangstfear
3 years, 9 months ago
This question is having one more part, if the comment on line 7 is going to be an inline comment
upvoted 3 times
...
Shw7
3 years, 11 months ago
Its correct
upvoted 2 times
...
Nalya
4 years, 2 months ago
It's correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...