Title: Microsoft Introduction to Programming Using Python MB6-896 Test Preparation
1IT Certification leaders in simulated test
engines guides
Fravo
Get Certified Secure your Future
Introduction to Programming Using Python Exam
98-381 Demo Edition
2QUESTION 1 HOTSPOT During school holidays, you
volunteer to explain some basic programming
concepts to younger siblings. You want to
introduce the concept of data types in Python.
You create the following three code segments
You need to evaluate the code segments. For each
of the following statements, select Yes if the
statement is true. Otherwise, select No. NOTE
Each correct selection is worth one point.
3Answer Exhibit
Explanation Exhibit
References https//www.w3resource.com/python/pyth
on-data-type.php QUESTION 2 HOTSPOT You are
designing a decision structure to convert a
students numeric grade to a letter grade. The
program must assign a letter grade as specified
in the following table
4For example, if the user enters a 90, the output
should be, Your letter grade is A. Likewise,
if a user enters an 89, the output should be
Your letter grade is B. How should you complete
the code? To answer, select the appropriate code
segments in the answer area.
5Answer Exhibit
6Explanation Exhibit
7(No Transcript)
8References https//www.w3resource.com/python/pyth
on-if-else-statements.php QUESTION 3 You
develop a Python application for your company.
You need to accept input from the user and print
that information to the user screen. You have
started with the following code. Line numbers
are included for reference only.
- Which code should you write at line 02?
- name input
- input(name)
- input(name)
- name input()
- Answer B
- QUESTION 4
- The ABC company is creating a program that allows
customers to log the number of miles biked. The
program will send messages based on how many
miles the customer logs. You create the
following Python code. Line numbers are included
for reference only.
You need to define the two required functions.
Which code segments should you use for line 01
and line 04? Each correct answer presents part of
the solution? (Choose two.)
9- 01 def get_name()
- 01 def get_name(biker)
- 01 def get_name(name)
- 04 def calc_calories()
- 04 def calc_calories(miles, burn_rate)
- 04 def calc_calories(miles, calories_per_mile)
- Answer B, E
- References
- https//www.w3resource.com/python/python-user-defi
ned-functions.php - QUESTION 5 HOTSPOT
- You are developing a Python application for an
online product distribution company. You need
the program to iterate through a list of products
and escape when a target product ID is found.
How should you complete the code? To answer,
select the appropriate code segments in the
answer area. NOTE Each correct selection is
worth one point.
10Answer Exhibit
Explanation Exhibit
11References https//www.w3resource.com/python/pyth
on-while-loop.php
12Thank You
For Choosing our Quality Product 98-381 PDF Demo
For our 98-381 Exam Material as PDF and Simulated
Test Engine Please visit our Website http//www.
fravo.com/98-381-exams.html
Purchase This Exam on 15 discount Use our
Discount voucher "fravo15off" to get 15 discount
on this Product.
For more details and 24/7 help please visit our
Website http//www.fravo.com/