prime number application
$30-250 AUD
Pagado a la entrega
Brief
You have been tasked with writing an application to remove records (lines) in a flat file where
the number in the first column is strictly less than 7500 and is a prime number. The file is in a
comma separated value (CSV) format that has two fields (columns):
A number, which is a long unsigned integer and may be non-unique; and
A string that may contain up to and including 1024 characters.
An example set of inputs and outputs is given in the table below. Note that 7867 is a prime.
Input
1,foo
6,bar
8,baz
211,lorem
7,ipsum
32,!?#
7867,
Output
1,foo
6,bar
8,baz
32,!?#
7867,
The application shall read the file from stdin and write its output to stdout. Examples of
how this application could be used are shown in the table below.
OS Example Usage
Windows type [login to view URL] | python [login to view URL]
Unix cat [login to view URL] | python [login to view URL]
This application will be relied upon by other team members and people outside your team.
The file may contain many records (tens of billions) and thus scalability with respect to run
time and memory usage is important.
Your Solution
We prefer your solution to be written in Python but you may use a different language if you
wish. You are free to use any tools and/or libraries as you see fit. To determine whether a
number is a prime or not, you may: (1) use the sympy Python library, (2) use another library
so long as it easy for us to find – Python packages should be installable via pip or (3) write
your own implementation and provide it as part of your solution.
You should spend less than 1 hour on this exercise.
The deliverable for this exercise is a single source file (.py or equivalent for other languages)
or a Zip file if your solution has multiple source files.
We will be assessing your solution by:
The correctness of your solution;
Whether your scalabe is scalable with respect to running time and memory usage;
and
Whether it adheres to good programming practices that make this application easy to
use and maintain.
Nº del proyecto: #18769411
Sobre el proyecto
Adjudicado a:
Hi there, I am Java developer with 7+ years of experience in web and desktop app development. I have strong expertise in OOP, data structure, trees, graphs, multi threading, cryptography, genetic algorithm implementa Más
19 freelancers están ofertando un promedio de $140 por este trabajo
Hi, I have really good expertise in Python. I have checked your project and believe that I can do it. Please ping me to discuss details. Regards, Sajid
Hello sir, I checked all your requirements and got the idea to filter out the number based on your criteria, like number should be prime, less then 7500 and some more. I can help you with this and write a standalone Más
Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Más
Hello? How are you? I have seen the project - "prime number application." As you can see my profile in these fields((Python, Software Architecture, Software Testing)), I have been working for 7 yrs as a great assis Más
Hi I'm an expert in python programming. I'm sure that I can easily do this project. We can have a about it. Thanks..
Hello. I am python and C++ expert. I can solve your problem. If you hire me, you can get the best result for a short time. I will wait for your response.
Hi there Thank You for reviewing my job proposal. As per your job description I am glad to let you know that I can create a python script to filter out prime numbers from csv file. I have more than 3 years of expe Más
We specialize and have 20 years of experience in Desktop/Web/Mobile application development. We provide our expert service in the following areas: • Artificial Intelligence • Automation Solutions • Data Science • M Más
I am a python programmer specialised in scripting/task automation. Relevant Skills and Experience I will use python for your work and provide you the script in an. Exercise flrmat
Greeting Sir, I read through the job details extremely carefully and I am absolutely sure that I can do the project very well as it match my skills and expertise. I am having a 5+ years of experience in web dsign & d Más
Ηι, I just finished my postgraduate studies at the IT department where we worked a lot on Python programming. I have worked on similar projects, so it will be easy for me to do what you ask for.
I am PhD student and a mathematician And Python developer i have a solution for your problem it ll be so easy for me
hey,.I have experience in python as well as SAS analysis being CSV files can be handled well. Please let me know about your exact expections.