Download Introduction to Programming Using Python.PracticeTest.98-381.2018-05-20.1e.19q.vcex


Download Exam

File Info

Exam Introduction to Programming Using Python
Number 98-381
File Name Introduction to Programming Using Python.PracticeTest.98-381.2018-05-20.1e.19q.vcex
Size 1.37 Mb
Posted May 20, 2018
Downloads 170



How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase
Coupon: EXAMFILESCOM

Coupon: EXAMFILESCOM
With discount: 20%


 
 



Demo Questions

Question 1
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. 




Question 2
Match the data type to the type operations. 
To answer, drag the appropriate data type to the correct type operation. Each data type may be used once, more than once, or not at all. 
 




Question 3
The ABC company needs a way to find the count of particular letters in their publications to ensure that there is a good balance. It seems that there have been complaints about overuse of the letter e. You need to create a function to meet the requirements.  
How should you complete this code? To answer, select the appropriate code segments in the answer area. 
NOTE: Each correct selection is worth one point.
 




Question 4
The ABC Video company needs a way to determine the cost that a customer will pay for renting a DVD. The cost is dependent on the time of day the DVD is returned. However, there are also special rates on Thursdays and Sundays. The fee structure is shown in the following list:
The cost is $1.59 per night. 
If the DVD is returned after 8 PM, the customer will be charged an extra day. 
If the video is rented on a Sunday, the customer gets 30% off for as long as they keep the video. 
If the video is rented on a Thursday, the customer gets 50% off for as long as they keep the video. 
You need to write code to meet the requirements. 
How should you complete the code? To answer, select the appropriate code segments in the answer area.   




Question 5
The ABC company is converting an existing application to Python. You are creating documentation that will be used by several interns who are working on the team. 
You need to ensure that arithmetic expressions are coded correctly. 
What is the correct order of operations for the six classes of operations ordered from first to last in order of precedence? To answer, move all operations from the list of operations to the answer area and arrange them in the correct order.  
 




Question 6
You are writing a Python program. The program collects customer data and stores it in a database. 
The program handles a wide variety of data.  
You need to ensure that the program handles the data correctly so that it can be stored in the database correctly. 
Match the data type to the code segment. To answer, drag the appropriate data type from the column on the left to its code segment on the right. Each data type may be used once, more than once, or not at all. 
 




Question 7
You are creating a Python program that shows a congratulation message to employees on their service anniversary. 
You need to calculate the number of years of service and print a congratulatory message. 
You have written the following code. Line numbers are included for reference only. 

 
 
You need to complete the program. 
Which code should you use at line 03? 

  • A: print(“Congratulations on” + (int(end)-int(start)) + “years of service!”
  • B: print(“Congratulations on” + str(int(end)-int(start)) + “years of service!”
  • C: print(“Congratulations on” + int(end - start) + “years of service!”
  • D: print(“Congratulations on” + str(end - start)) + “years of service!”



Question 8
You are developing a Python application for your company. 
You write the following code:

  

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.  




Question 9
You are writing a Python program to perform arithmetic operations. 
You create the following code:

  

What is the result of each arithmetic expression? To answer, drag the appropriate expression from the column on the left to its result on the right. Each expression may be used once, more than once, or not at all.  




Question 10
You are writing a Python program that evaluates an arithmetic formula.  
The formula is described as b equals a multiplied by negative one, then raised to the second power, where a is the value that will be input and b is the result. 
You create the following code segment. Line numbers are included for reference only. 

  

You need to ensure that the result is correct. 
How should you complete the code on line 02? To answer, drag the appropriate code segment to the correct location. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. 
NOTE: Each correct selection is worth one point. 









ProfExam
PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount..

Get Now!


HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen



HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset