Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 19-09-2011, 11:16 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2011
Location: mumbai
Posts: 23
Post Need help shell programing


Q1.Write a shell program to generate the first 25 prime numbers

Q2.Write a shell program to cipher all the text/content in any text document in the current working directory and also use another shell program to decipher it to read. Use any scheme for ciphering.

Q.3Consider the following set of processes:

Process Burst time (ms)

P1 10
P2 29
P3 3
P4 7
P5 12

Evaluate the performance of FCFS, SJF and RR (Quantum = 10 ms) algorithms for scheduling the above processes



plzzzz tell me the answer of this questions plzzz its urgent
Bhav is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 19-09-2011, 02:17 PM   #2 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: Need help shell programing

There is nothing called as Shell *Program*. It is called as Shell *script*.

Anyways, for your first question, I google for you. And I guess this should work for you - Shell Scripting: Shell Script To Produce Prime Numbers Within A Range
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2