作者raymondlea (看屁阿!!!)
看板Programming
标题[问题] 程式设计
时间Wed Mar 14 00:55:13 2007
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