[問題] 程式設計

看板Programming作者 (看屁阿!!!)時間18年前 (2007/03/14 00:55), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/7 (看更多)
Q1.Use the following sample data to trace your program step-by-step. 13,20,5,8,97,16,80,27,32,45 Q2.Write a Quick sort program to process a given setof data with N elements. Q3.Write down a computer program, in any programming language , which can (a)Read in data file of 1000 items from a secondary storage. (b)Have these items be sorted in descreasing order. (c)Store the sorted data into the secondary storage. (d)Describe and analyze your approach. Q4.Write a computer program , in any programming language , that can (a)Read a set of data from a data file named "test.dat". (b)Count the number of each digit in the set of extraced data. Give brief comments about your method. Q5.Write a program, in any programming language or pseudo codes , that can read in an English text file "text950312.dat"from data of this drive A. (a)Number of characters in this file. (b)Number of words in this file. (c)Number of lines in this file. write down proper comments in your program. 其實我不太清楚難易度是怎樣,因為研究所考計概時常會出這一類的題型,而我又沒程式 基礎,只是因為考的科系多考一科計概,只好硬著頭皮上去考囉 XD 希望能有程式強者解救我一下,不管會哪一題都可以,我只想先把答案硬記下來, 有時間在自己摸索看看,在此先謝謝囉!!! 我也可以獻出所有的P幣來當作一點點的獎賞(雖然真的很少..就當是一點心意囉) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.117.161.81
文章代碼(AID): #15zjT-nM (Programming)
討論串 (同標題文章)
文章代碼(AID): #15zjT-nM (Programming)