Introduction to Programming Using Python Free Practice Exam Questions

7 real Introduction to Programming Using Python exam questions with answers and AI explanations. Microsoft certification prep — page 1 of 1.

  1. Question 3: You develop a Python application for your school. You need to read and write data to a text file. If the file does not exist, it must be created. If the file h…
  2. Question 5: You are writing code that generates a random integer with a minimum value of 5 and a maximum value of 11. Which two functions should you use? Each correct answ…
  3. Question 11: The ABC company has hired you as an intern on the coding team that creates e-commerce applications. You must write a script that asks the user for a value. The…
  4. Question 17: You are creating a function that manipulates a number. The function has the following requirements: ✑ A float is passed into the function ✑ The function must t…
  5. Question 31: You develop a Python application for your company. A list named employees contains 200 employee names, the last five being company management. You need to slic…
  6. Question 32: You are writing an application that uses the sqrt function. The program must reference the function using the name squareRoot. You need to import the function.…
  7. Question 38: You develop a Python application for your company. You want to add notes to your code so other team members will understand it. What should you do?