Đã hoàn thành

prime number application

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.

Kĩ năng: Python, Kiến trúc phần mềm, Kiểm tra phần mềm

Xem nhiều hơn: use of prime numbers in architecture, prime numbers in nature, prime numbers list, why are prime numbers important in cryptography, composite numbers, what are prime numbers, is 1 a prime number, how to find prime numbers, text sms number application, webcam application software development tools, pro tools free lance, free wish list javascript commerce, prime number program assembly language, prime number code assembly language, number application blackberry iphone symbian, free download windowbase application automation testing tools, cutting tools free ebooks, french canadian translation tools free, fake number application mobilecaller, prime number code assembly

Về Bên Thuê:
( 4 nhận xét ) melbourne, Australia

ID dự án: #18769411

Được trao cho:

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 Thêm

$170 AUD trong 7 ngày
(53 Đánh Giá)
6.0

25 freelancer đang chào giá trung bình $131 cho công việc này

renardpaul

Hello, expert in Python programming here. I can implement for you a Python program that will receive as input a comma delimited file (CSV) with two columns. The code will remove all lines for which the number in the Thêm

$120 AUD trong 3 ngày
(121 Nhận xét)
7.0
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 Thêm

$150 AUD trong 1 ngày
(74 Nhận xét)
6.9
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 Thêm

$155 AUD trong 3 ngày
(70 Nhận xét)
6.6
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 trong 3 ngày
(71 Nhận xét)
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. Thêm

$250 AUD trong 4 ngày
(44 Nhận xét)
6.1
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 trong 3 ngày
(57 Nhận xét)
5.6
codedancer3

Hi bro. I have read your description and i am so interested in your project. I am confident in your project and I can finish it clearly on time. I am well experienced and skillful python programmer. I have many y Thêm

$120 AUD trong 3 ngày
(33 Nhận xét)
5.0
qunzhuang323

***Python*** Hi I have read your project description very carefully so I am confidence to complete your project I have finished lots of such projects successfully. I am an experienced and skillful python develop Thêm

$155 AUD trong 3 ngày
(29 Nhận xét)
4.9
gurpreetchahal93

Hi employer I have hands-on experience in working with Python and I believe this task suits well for me. I'll implement a solution in Python that will perform as per the instructions. One query: I am not sure wh Thêm

$61 AUD trong 1 ngày
(20 Nhận xét)
4.4
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 trong 3 ngày
(4 Nhận xét)
3.0
makhmudnasirov

hi there, i've read your requirements. Let me write a python script 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. I will consider Thêm

$65 AUD trong 2 ngày
(6 Nhận xét)
4.0
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 Thêm

$55 AUD trong 1 ngày
(8 Nhận xét)
3.2
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 Thêm

$277 AUD trong 4 ngày
(1 Nhận xét)
3.2
KongHyanJa

Dear Client!!. I'm an expert of programming Thank you for your attention I am a Programmer with 7 years of experience in full circle of software development. I am interesting in Python and Web Crawling,Scrapin Thêm

$55 AUD trong 3 ngày
(4 Nhận xét)
2.4
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 Thêm

$250 AUD trong 10 ngày
(3 Nhận xét)
2.5
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 trong 2 ngày
(1 Nhận xét)
1.3
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 Thêm

$222 AUD trong 1 ngày
(1 Nhận xét)
1.4
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 Thêm

$30 AUD trong 2 ngày
(1 Nhận xét)
1.2
whitehorse1989

Hello! I am glad to place a bid on your project. I am Good at Python and its modules. I have read your description and I’m filled with the confidence to build your project wonderful. If you trust me, I will compl Thêm

$100 AUD trong 3 ngày
(1 Nhận xét)
1.0
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 trong 5 ngày
(0 Nhận xét)
0.0