Provide a written discussion of your code

Assignment Help Computer Engineering
Reference no: EM131846616

Assignment

Given a directory containing say a few thousand files, please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.

func(a_directory_name) output -> {"matches": [[fn1, fn2 ...], [fn3, fn4 ...] ... ]}

e.g. func("/home/my/files") where the directory /home/my/files might contain foo.txt, foo.iso, foo.jpeg, bar.txt, bar.doc, baz.csv, baz.ppt etc. and say the file foo.txt is the same as bar.doc and foo.iso is the same as baz.csv and baz.ppt then the output would be:

{

"matches": [

[

"foo.txt",

"bar.doc"

],

[

"foo.iso",

"baz.csv",

"baz.ppt"

]

]

}

You may code the response in any programming language you like, however our primary languages are:

· Bash

· Perl

· Python

· Groovy

Provide a written discussion of your code, what are its strengths and weaknesses, what are the boundary conditions where it will fail and where could it be improved

Reference no: EM131846616

Questions Cloud

Valid considerations in corporate america : Discuss Job Security and Seniority. Do they both continue to be valid considerations in Corporate America?
Explain principles of psychological reasoning : Find two media claims about psychology on the Internet and list which of the above six principles of psychological reasoning should be applied.
What are the essential elements needed at any negotiation : What are the essential elements needed at any negotiation and how would you ensure everyone involved continues to remain in line with the elements? give example
What term reflect the highest legitimate authority of nation : .What document identifies both the powers of government and rights of the individual.What term reflects the highest legitimate authority of a nation?
Provide a written discussion of your code : Provide a written discussion of your code, what are its strengths and weakness, what are boundary conditions where it will fail and where could it be improved.
Examine the relation between a leader mindset : Examine the Relation Between a Leader's Mindset, Critical Thinking Skills, and Decision-Making. What is the relation between a person's mindset
Effectiveness of the style : Obviously, there are no "good" or "bad" decision styles -- just different ones. And the effectiveness of the style will depend on the situation.
What role should government have in actually securing : What role should government have in actually securing private sector networks?Should it be limited to sharing information with industry?
Describe the specific type of research design : Describe the specific type of research design that was used and discuss why it is considered experimental or quasi-experimental.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd