Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Instructions Download the input _ file.txt file into your PC ' s working directory ( or the folder ) . The file is available in
Instructions Download the inputfile.txt file into your PCs working directory or the folder The file is available in Programming Assignment instructions and submission section. You need to read the data from the input file named as inputfile The data consists of multiplechoice questions. You Must save data in a dictionary data structure You should randomly reorder the choices for each question. You should write the reordered data into a new file, named as newfile. For example, the first question in the input file is What is the capital of Australia? a Canberra, b Perth, c Sydney, d Melbourne And here is what it might look like, for example, after reordering the choices for each question What is the capital city of Australia? a Sydne
Instructions Download the inputfile.txt file into your PCs working directory or the folder The file is available in Programming Assignment instructions and submission section. You need to read the data from the input file named as inputfile The data consists of multiplechoice questions. You Must save data in a dictionary data structure You should randomly reorder the choices for each question. You should write the reordered data into a new file, named as newfile. For example, the first question in the input file is What is the capital of Australia? a Canberra, b Perth, c Sydney, d Melbourne And here is what it might look like, for example, after reordering the choices for each question What is the capital city of Australia? a Sydne
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started