Exampractice

98-381 Write Practice Questions

The free 98-381: Introduction to Programming Using Python questions that deal with write, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.

Question #2

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 has content, the content must be removed. Which code should you use?

Question #5

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 value must be used as a whole number in a calculation, even if the user enters a decimal value. You need to write the code to meet the requirements. Which code segment should you use?

Continue with 98-381: Introduction to Programming Using Python

Unlock the full question bank

You have read the first 10 questions. A subscription opens every question in 98-381: Introduction to Programming Using Python, the full timed practice test, and your progress and weak-topic reporting.

  • Single exam

    $19.99for 30 days

    Full question bank and practice test for one exam, for 30 days.

  • Single exam

    $49.99for 1 year

    One exam for a full year. Nothing renews and nothing to cancel.

  • Full access

    $39.99/mo

    Every exam in the catalogue, month to month.

  • Full access

    $199.99/yr

    Every exam in the catalogue for a year.

Already subscribed? Sign in to pick up where you left off.

All 98-381: Introduction to Programming Using Python practice questions →