prime number application

Completado Publicado hace 5 años Pagado a la entrega
Completado 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.

Python Arquitectura de software Verificación de software

Nº del proyecto: #18769411

Sobre el proyecto

19 propuestas Proyecto remoto Activo hace 5 años

Adjudicado a:

prakash2813

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

$170 AUD en 7 días
(65 comentarios)
6.3

19 freelancers están ofertando un promedio de $140 por este trabajo

matlabxperts

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

$277 AUD en 3 días
(80 comentarios)
7.4
rajdeepa555

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

$150 AUD en 1 día
(78 comentarios)
7.1
schoudhary1553

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

$250 AUD en 4 días
(107 comentarios)
7.1
polarjin2017

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

$155 AUD en 3 días
(108 comentarios)
6.9
utkarshkatiyar19

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..

$100 AUD en 3 días
(75 comentarios)
6.1
fastestJohn

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.

$55 AUD en 3 días
(29 comentarios)
5.5
asifkhan268

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

$55 AUD en 1 día
(30 comentarios)
5.1
aifisolutions

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

$277 AUD en 4 días
(2 comentarios)
4.6
abuakar21

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

$35 AUD en 2 días
(5 comentarios)
3.8
ahmed4499

hi sir i am computer engineer and certified Labview developer , i have great experience using File I/O techniques using Labview with efficient way , as i modified previous solution of National Instruments so thank you Más

$222 AUD en 1 día
(3 comentarios)
3.5
AVKor

Hello, I can do this task using ruby language. I have tested it on my own samples with 10,000,000 lines and another one with 100,000,000 lines. It takes approx 22 sec for every 1,000,000 lines while processing these f Más

$250 AUD en 10 días
(5 comentarios)
3.1
QutubHaider

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

$155 AUD en 3 días
(1 comentario)
2.7
dfotisjr

Ηι, 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.

$55 AUD en 2 días
(1 comentario)
1.9
reujea0

I am a Computer Science student at University. I have been writing python software for four years now. The task which you are asking for is easy to implement hence my low cost. Feel free to ask anything, including a pr Más

$30 AUD en 2 días
(1 comentario)
1.2
fatihuludag

I am PhD student and a mathematician And Python developer i have a solution for your problem it ll be so easy for me

$111 AUD en 3 días
(2 comentarios)
0.4
RupaliTaware

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.

$30 AUD en 5 días
(0 comentarios)
0.0
JMHL94

Good morning I´m an enginer with knoweledge of python and matlab. Specialized in the handling and filtering of data, so i´m able to do the job. I can make the scrip to filter the data in an optimal and simple way Más

$216 AUD en 5 días
(0 comentarios)
0.0