Laman Utama Tanya Wiki English Artikel Komuniti E-Mel Ringtones Search

Bantuan | Carian | Ahli | Kalendar

Google

Selamat Datang ( Log In | Daftar )

 
Reply to this topicStart new topic
Boleh Tolong Selesaikan?, assignment...
sape_ntah
post Aug 16 2008, 04:12 PM
Kiriman #1


Ahli Baru


Grup: Learning
Kiriman: 3
Penyertaan: 24-November 07
Ahli ke- 38,829



nak mintak tolong otai2 kat sini...ni soklan assignment

s1:A simple code can be developed by replacing each character by another character that is a fix number of positons away in the collating sequence.Write a program that reads the text in a file,and then generates a new file the coded text using this scheme.Do not change the newline characters or the EOF character.

s2:Write a program that reads data file and determines the number of occurences of each characters in the file.Then,print the characters and the number of times that they occured.if a character does not occur,do not print it.(hint:use an array to store the occurences of the characters,based on their ASCII codes)

s3:Another simple code encodes a message in text such that the rue message is represented by the first letter of each word.there are no space between words but the decoded stirng of characters can easily be seperated into words by a person.write a program to read a data file and determine the secret message stored by the sequence of first letter of the word.

s4:Assume that the true secret message in problem above is stored in the second letter of each word.write a program to read a data file and determine the secret message stored in the file


s5:write a program that encodes the text in a data file using an integer array named key that contains 26 characters.This key is read from the keyboard;the first letter contains the character that is to replace the letter in the data file ,the second letter contains the letter that is to replace the letter b in the data file,and so on.Assume that all punctuations is to be replaced by spaces .Check to be sure that the key does not map two different characters to the same one during the encoding.
Go to the top of the page
 
+Quote Post
otai_g
post Aug 17 2008, 12:28 AM
Kiriman #2


Ahli
***

Grup: Members
Kiriman: 176
Penyertaan: 31-August 04
Dari: spaceworld
Ahli ke- 2,191



hehe kalo mcm ni punya gaya org nak tlng pun susah.
kami bukan student nak buatkan assignment utk ko 100%.
lain la kalo bg $$$.

tunjukkan hasil keje yg telah ko buat setakat mn dulu.
br kitaorg blh bantu..


--------------------
Pentium 4 Northwood 2.4GHz
Asrock P4VM800
Infineon DDR400 2GB (2x1GB)
WD 80GB Sata + WD 80GB IDE
Nvidia MMX440 64MB
IBM T 541 (Black) 15" LCD

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

RSS Lo-Fi Version Time is now: 2nd December 2008 - 12:45 PM

© 1998-2008 Khazanah Maya Computer Systems