Let us worry about your assignment instead!

We Helped With This Python Programming Homework: Have A Similar One?

SOLVED
CategoryProgramming
SubjectPython
DifficultyCollege
StatusSolved
More InfoPython Project Help
85391

Short Assignment Requirements

Attached document contains all of what is needed. We are doing a quiz program and there needs to be three different files. One containing what would be called the "main" file with most of the code, then have two different other files, one for questions, and another file for the answers. If you want, I can send a list of questions that i've already come up with. Important reminder is that we need to use functions, the coding itself doesn't have to be too fancy itself since this is a beginners level programming course.

Assignment Description

Final Project Implementation

1 December 2017

Use of Functions

It is expected that there will be at least two distinct functions defined for this project, as specified for Homework 6.   Each function's purpose should be summarizable in one or two sentences.   The lecture slides indicated that a function should be fewer than 30 lines of code (or not much more than that), not counting documentation and blank linles.

Each function should have a meaningful name and meaningful parameters.   Each should have a docstring (using triple quotes) at minimum describing what the function does.   The complete interface should be clear from the function heading and its documentation.

The function certainly may define additional local variables to complete its task.  The parameter list should only contain values and variables that must be shared with its caller, and no other hidden communications (such as no global variables).

If your submitted project design seems insufficient to these expectations, you are certainly permitted (and encouraged) to improve upon it, since that will help you to complete the program on time.

In any case, any program that has _no_ functions defined, but does everything without functions (as Homeworks 1-4) will not earn full credit, even if it does otherwise work correctly.

Use of Data Files

The data files are intended to allow a great deal more flexibility in the application areas without having to modify the program code.   Each program is expected to get all of the content data from the data files.   The content is not to be hard-coded into the Python code itself.

To be more specific for the recommended projects:
-- quiz program: data file has all questions and all answers 
-- hangman: data file consists of the possible words to be guessed at 
-- madlib: data file consists of all the text and prompt words for the madlib

No other projects were fully confirmed before Halloween, so no other examples will be given here. For those who still were not aware that this was not a completely open-ended design-your-own project, you may still need to find a way to assure that the program code is as unaware of data content as possible.

The program should prompt the user for the name of the data file.   Whether you require the user to type an extension (such as ".txt") or whether the program automatically adds the extension is up to you.   You may assume that the user running the program knows the name of an existing data file in that same folder.

If you wish to remove that assumption, and give a user a list of choices of available files, you may do so, for 10% Extra Credit.  This would require getting a list of files from the Operating System (which is in the 'os' module).  ZyBooks says a few things about the 'os' module; there are help files for the rest.

Your program should not make any particular assumptions about the exact size of the data file.  It should just be able to read to the end of the file (the for loop can do that).  A recent recitation demonstrated that it is rather easy to identify how many file lines were actually found, and the program can then make use of that number.

Special Hints

Here are a few things that would make the assigned projects a little interesting, with some hints about how to go about them.

Quiz Program:

The Overview already suggested that this should be able to supply the questions in a random order, and the Blackjack recitation referred to a function that would be very helpful for that.

If there are a large number of questions, it might be appropriate to just pick a subset.  For example, a quiz about US state capitals should not ask about all 50 states, but maybe 10 or 15 of them.   You can use whatever means you wish to pick as a subset (such as 10, or 1/3 of the total, or some combination).   If there is a very short list of questions, however, it might make sense to ask them all.

 

Submission Details

Submitting for this assignment will be sliglhtly different from the other assignments.  You may or may not have noticed a "+ Add Another File" when submitting that you must make use of this time, so that three files will be submitted instead of just one.

Include at least these three items in your submission on Canvas:

·         The Python file (.py) containing your program solution

·         A data file of at least 10 lines (may be more), which would be representative of a typical input to your program

·         A 'small' data file (perhaps fewer than 6 lines) that would also be acceptable to your program

There are a couple reasons for requesting multiple data files:

·         It demonstrates the ability to read the data from any named file

·         It demonstrates that the program does not rely too much on hardcoded data

·         It shows that the program can flexibly react to files of different sizes

·         It allows the grader to run your program very quickly, using the small file, to improve grading time

Your program should, of course, not be aware of the exact content of the files you submit.   The graders should be free to make any change to the data file that might help them evaluate your program.

 

Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta


Paypal supported