Archive for March, 2010

Project… Encryption/Decryption?

You have just been hired by the CIA as a programmer in the encryption department. Your job is
to write a class called Crypto. One method, encrypt, will accept a String that represents the
sentence to be encrypted. It will return a String that is the sentence with all v’s (big or small)
replaced with “ag’,r”, all m’s (big or small) with “ssad”, all g’s (big or small) with “jeb..w”, and
all b’s (big or small) with “dug>?/”.
The class contains another method, decrypt, that accepts a String that represents the sentence to
be decrypted. In this method the reverse process described above is performed. It returns a String
that is the original sentence before encryption.
Use the following Tester class to insure that your methods work.
import java.io.*;
import java.util.*;
public class Tester
{
public static void main(String args[])
{
Scanner kbReader = new Scanner(System.in);
System.out.print(“Enter a sentence that is to be encrypted: ”);
String sntnc = kbReader.nextLine( );
System.out.println(“Original sentence = ” + sntnc);
Crypto myCryptObj = new Crypto( );
String encryptdSntnc = myCryptObj.encrypt(sntnc);
System.out.println(“Encrypted sentence = ” + encryptdSntnc);
String decryptdSntnc = myCryptObj.decrypt(encryptdSntnc);
System.out.println(“Decrypted sentence = ” + decryptdSntnc);
}
}
Test with this sentence: “This is a very big morning.” After running your program, your screen
should appear as follows:
Enter a sentence that is to be encrypted: This is a very big morning.
Original sentence = This is a very big morning.
Encrypted sentence = This is a ag’,rery dug>?/ijeb..w ssadorninjeb..w.
Decrypted sentence = This is a very big morning.

What is different,between them?
My level: I have tried RH9 on my system once, for abt copleof months , though not done anything significant.

Which one should I go for Now. My career path could be Java / J2ee dev

Can anyone please help me.
I like linux for it’s reliability but what a reliability can do if I can’t enjoy it?
I have crashed windows almost for 150 times and linux only twice. So it saves my time so please help me.
And can you suggest any online reading for linux. I am reading fedora core2 by C. Negus.
Please tell me how to install any software using WINE and also how can I attach Linux Programs/Softwares to linux.
what is use of rpm files. Can I delete rpms after I run command rmp -U packagename.rpm
I am thankful to any who can help me.

Linux vs Microsoft Windows 7?

Linux vs Microsoft Windows 7

http://calendar2010.cn/2009/01/15/linux-vs-windows-7/

Like by proxy but without knowing it, and no, I do not mean an Internet Proxy, I mean unwittingly or without my knowledge. Can this occur? If it can, how do I stop Viruses from spreading?

It originally was installed on an HP laptop using Windows Vista.

Are there any open source Linux (free) systems that I don’t have to program wireless connectivity // my drivers into? I’m a little tired of having to re-install my wireless drivers every kernal update on Ubuntu 8.10.

howt to install redhat linux on xp systems?

i have already installed windows xp . now i installed the red hat linux 9. but the error msg has displayed that (No hard device drivers have been found . you probably bneed to manually choose device drivers for the installation to succeed . would u like to sleect drivers now). what is the problem tell me please.

I want to change my OS (Vista) to any Linux OS that supports My Laptop with out any trouble.

I’m writing a 15 page research paper on linux right now, well more like researching right now for the paper. Started searching through google about linux and eventually found out that Novell and Microsoft has teamed up.

Okay theres two parts to this post.

One what do you think i should write the paper on?

Two. I’m leaning on talking about how Novell and Microsoft has teamed up and what that means for the rest of the industry.

I go to school for Internet/Network Engineering and right now I have no idea in what direction I want to go with it. This paper is making me feel as if I should get really good with suse linux, since it’s a cheaper route than windows for companies and with suse and microsoft teaming up the interoperability seems great between the two. I was leaning more as just being a microsoft man since alot of people use microsoft, but if the economy is driving users towards linux and if suse linux is with microsoft Id think the merger would make this version of linux be everywhere as is microsoft is everywhere and it be the most valuable thing to know.

That’s just what assumptions and thoughts that are going through my mind.

I just want to hear what you think I should write the linux paper on and or am I correct about this merger making microsoft and novell suse linux a huge monopoly on the computer world, and would that make a good a paper?

Dear Friends . i new to linux i have installed mandrive linux but i cannot connection BSNL Dataone Broadband connection .there is linux software but it is in text mode so i can see the all c++ programme in the kwrite.i try to get the modem software by search . i con’t get it . the software is not defult in mandrive linux .pls tell me which linux accept BSNL Dataone broadband modem model is UT-300R2U .i have fedora core 6 ,mandriva linux 2007 and Ubuntu .my friends have PClinuxOS live cd, can i install PClinuxos on my system

thank you

how do i run linux based applications (works with redhat) on windows? Is there some sort of software that I can run that emulates the same enivronment so it runs on windows?

I accidentally installed Linux on my external hard drive. I got confused with my other 2 hard drives that I have internally to my pc. The thing now can’t be detected by Windows 7 or any other Windows version for that matter. I want to reformat the hard drive and maybe use it to store some files. Any suggestions on how to make that possible?

When i tried opening the archive downloaded from the Unix section this message appear "Could not open "rh9.ymessenger-1.0.4-1.i386.rpm"

Archive type not supported."

What can i do?

Linux File Share with Windows

Because wikipedia is open source, I can modify anything I want. But what happens if someone deletes, adds bad content, modifies useful content ? What does wikipedia do to prevent that ?

The last question is available for any other open source software: linux, php etc. How do they know which contribution is useful and which is harmful ?
Thank you.

He loves linux but it is so confusing. And I love pivot and I showed my friend and he became addicted and now he is gonna be able to make them and show off and I can’t make them anymore so just tell me can you run pivot on linux?

now i cant do anything. :/
help please

I want the new Ubuntu netbook remix on my new acer but just want to boot it each time from a SD card, to keep my XP OS, but will it still retrieve documents, and things I have DL on to it each time I boot up, or will they be erased. I am very new to this so any information would be useful.

I was using windows xp,by this time i installed Redhat Linux. My xp has become corrupted, as i tried to install xp again, it shows "press any key to boot from cd…" when i press any key it appears a black screen.and my installation part does not start… what should i do. my mother board is ECS intel chipset.

It was a space exploration/battle game that could have multiple players. You would build your ships and send them out to planets to capture them. It was 2-d, turn based, and lots of fun. I would say I played it anywhere from 5 to 10 years ago