Giter Club home page Giter Club logo

Priya Jain's Projects

chat-server icon chat-server

Chat server implementation that facilitates two-way communication with peer to peer message sending

delegated-linear-search icon delegated-linear-search

Objective: Implementation of Distributed Linear Search using Linux System calls - An array is split up into sub-arrays and searching the sub-arrays for an integer is delegated to other processes. Input: The program should take two arguments as input - an array of integers to be read from a file (first argument is the path to the file) and an integer to be searched (second argument). Output: Print index of the number to be searched if found, or ‘Number not found’. Approach: The main program reads the complete input array as a global array. The main program creates 2 processes and gives one half of the input array to the 2 child processes to search the required number. If the size of the segment is small enough (say <= 5), then it searches the number in the segment by itself. Otherwise, the task is delegated by creating more child processes wherein each process is given a segment of the array to handle and the number to find. If any process finds the required number, then it sends a signal to the main process and also returns the index. After this, the main process kills all the other processes and prints the index. The code should also handle the case when the number is not present in the array. PIPE is chosen as the method of IPC mechanism.

file-system icon file-system

Given path of a directory, read all files and sub-directories in it

phd_form icon phd_form

the project will help to build an online form for phd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.