Find Jobs
Hire Freelancers

Creation of simple system in Python

$10-30 AUD

Completed
Posted over 3 years ago

$10-30 AUD

Paid on delivery
In Part 1, I need a program that loops, prompting the user for their full name, subject code, subject name, their exam result (an integer between 1 and 100), and then writes that data out to file called ‘[login to view URL]’. The program should check inputs for validity according to the following rules: First, last names and subject name must use only alphabetical characters. No spaces, hyphens or special characters. Names must be less than 20 characters long. Subject code uses three capital alphabetical characters (no spaces, hyphens or special characters) + three integer numbers. No space between alphabetical characters and integer numbers. Exam result (an integer between 1 and 100 inclusive) The file should record each customers information on a single line and the output file should have the following appearance: Nurke Fred ITC106 Programming Principles 58 Write a second program that opens the ‘[login to view URL]’ file for reading and then reads each record, splitting it into its component fields and checking each field for validity. The rules for validity are as in your first program, with the addition of a rule that specifies that each record must contain exactly 5 fields. Your program should print out each valid record it reads. The program should be able to raise an exception on invalid input, print out an error message with the line and what the error was, and continue running properly on the next line(s). I'll need a flowchart for this code to make it easier to follow and display. Select at least six sets of test data that will show the normal operation of the program; that is, test data that will demonstrate what happens when a VALID input is entered. Also 4 sets of test data to show abnormal operation. Set your test results out in a tabular form as follows: test data type, test data, the reason it was selected, the output expected due to using the test data, and finally the output actually observed when the test data is used. The second part is a different client with a different scenario: To play the PowerBall lottery, you buy a ticket that has five unique numbers in the range of 1–69, and a “PowerBall” number in the range of 1–26. (You can pick the numbers yourself, or you can let the ticket machine randomly pick them for you.) Then, on a specified date, a winning set of numbers is randomly selected by a machine. If your first five numbers match the first five winning numbers in any order, and your PowerBall number matches the winning Pow-erBall number, then you win the jackpot, which is a very large amount of money. If your numbers match only some of the winning numbers, you win a lesser amount, depending on how many of the winning numbers you have matched.
Project ID: 27412959

About the project

15 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Based on your description this project is extremely simple and will require very few lines: - For part A: Perform a basic "input" loop to gather the data into a string. The inputs can be easily checked for format using the regex module. Then just simple file operations to write to the file. - For part B: Depending on the delimiter characters, probably the easiest thing to is use regex again, but if not we can use a parser generator (such as Antlr4) with a very simple grammar to generate a tree. The 5 field rule can be a part of the grammar by design. Then a very simple listener/visitor can check each input for validity and the rest is cake. This sounds like a fun project of a couple hours for somebody with my experience in Python automation. In fact, just for fun I just built the backbone of it on vscode.
$10 AUD in 1 day
5.0 (2 reviews)
0.9
0.9
15 freelancers are bidding on average $38 AUD for this job
User Avatar
Hi there, I'm a Python Expert. I can create this script for you (Please see my reviews for competency). Payment is not required if you are not satisfied with my work. Thanks Duration: within 2 days Regards, KC
$200 AUD in 2 days
5.0 (18 reviews)
4.9
4.9
User Avatar
Hi there I am a senior programmer with practical development experience in various programming languages. I have read your project descriptions and consider myself a best fit for this job. I have excellent programming skills related to your project. I can assure a quality solution of your project. Contact me will all your project details to discuss it further. Thanks
$60 AUD in 2 days
4.9 (22 reviews)
4.4
4.4
User Avatar
hello sir hope you doing well i will do all the parts of code with full perfection. i am proficient programmer in python and know lots of python libraries and modules. i can do your job as fast as possible. lets discuss further. feel free to contact me
$50 AUD in 2 days
5.0 (40 reviews)
4.5
4.5
User Avatar
Hello friend, I can do that for you in 3 days. I have good skills using python I have done and solved many problems and projects
$20 AUD in 7 days
5.0 (5 reviews)
2.4
2.4
User Avatar
Hi, Thank you for this wonderful opportunity. I have excellent experience in Software Development and Big Data Engineering and Analysis. I believe my abilities would be perfect for your venture. I can finish this job within the necessary time frame. I am a professional software developer. I have 13 years of experience in this field. I will be serving you with all my hard work and skills. I am an expert in the following technologies. Python C++ AWS Hadoop Hive Spark SQL Looker Excel I am very energized to provide my solutions for your job. Please you can get in touch with me immediately to talk about this place further. I am mostly on the internet on google messenger and skype. We can talk about there in information in a fast way if you are fascinated. I hope you'd give me this opportunity. Regards, Vijith Vijayan
$20 AUD in 7 days
5.0 (2 reviews)
2.2
2.2
User Avatar
i am the student of software engineer .Can I do this project, made with any charger, why I am freelancing new and I tell you what date you want the project
$10 AUD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 6 years of python programing experience. I will provide you clean code with required validations and documentation with test scripts for each validation success and fail scenarios
$25 AUD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there I can handle the requirements for the program, and deliver the code as required. I'll also perform test sets for the code.
$29 AUD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Respectable sir, I can complete this project . I have made this types of program before and can deliver you this project with in time.
$20 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Good day I read and i understand your proyect i can realize it in python fast and understandable if you want to know more about me contactme!
$30 AUD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm intersted in working on that project as it's simple and interesting one as it provides varied tasks. I'd like to know more about your requirements.
$25 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi sir, I am a software engineer student with a lot of experience on python projects, going through simple games developed with pygame, to college projects and django webpages. My work will be done within 5 days ensuring that it passes all the test cases and it works perfectly. Thank you for the opportunity!
$40 AUD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I'm a Python expert, with over 1 year experience dealing with Python , I can help fix your needs. I've previously worked on the exact similar project. When do you need this finished by? I understand how annoying it is, and can get this fixed for you quickly!
$20 AUD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Penrith, Australia
5.0
1
Payment method verified
Member since Jul 23, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.