对于File Input Stream类,下列哪一项是不正确的()?
A.从Input Stream类继承
B.不支持Input Stream的有些方法
C.不适合读取字符文件,适合读取字节文件
D.能实现文件的倒序读取
A.从Input Stream类继承
B.不支持Input Stream的有些方法
C.不适合读取字符文件,适合读取字节文件
D.能实现文件的倒序读取
A.longlength()
B.StringgetName()
C.booleandelete()
D.StringgetAbsolutePath()
A.OutputStream
B.File
C.InputStream
D.BufferedOutputStream
A.一个File对象代表了操作系统中的一个文件或者文件夹
B.可以使用File对象创建和删除一个文件
C.当一个File对象被垃圾回收时,系统上对应的文件或文件夹也被删除
D.可以使用File对象创建和删除一个文件夹
A.http
B.https
C.ftp
D.file
对于下方代码段的叙述中,正确的是()。
importturtle
n=int(input())
t=turtle.Turtle()
foriinrange(n):
t.fd(120)
t.rt(60)
turtle.done()
A.输入3时,输出的图形是正三角形
B.输入4时,输出的图形是正三角形
C.输入5时,输出的图形是正六边形
D.输入6时,输出的图形是正六边形
Hummingbird Scents Co (Hummingbird) manufactures and sells luxury toiletries; they have been trading for over 20 years and the company’s year end is 30 September 2014. Hummingbird sells products to trade customers via its own website; this represents 60% of revenue. Remaining revenue is generated by contracts to supply toiletries to hotels. Below is a description of the sales system.
Hotel revenue
The hotel revenue is made up of four key customers. Hummingbird has one sales clerk, Brenda, who maintains all aspects of this revenue stream; Brenda receives customer orders, raises sales invoices and processes payments. In raising invoices, the sales system automatically inserts the online trade customer prices for products. However, each hotel customer has contracted prices which are lower than the online prices and hence Brenda manually edits the invoices prior to despatch.
Online revenue
New trade customers are set up in the sales ledger master file upon passing suitable credit checks, and a credit limit is set at this stage by the finance director. Customers place online orders up to their pre-set credit limit; they receive an email confirmation and the sales order interfaces into the despatch system. The order number is linked to the customer account number. Goods are despatched daily with a goods despatched note which is referenced to the sales order number but are not sequentially numbered. Hummingbird used to despatch goods via a reliable national courier company. However, to reduce costs they have changed to a cheaper local courier and some orders have been delivered to customers late.
Trade customers’ sales invoices are automatically generated by the system on the day the online order is placed. The prices are inserted in accordance with the website rates. Occasionally Hummingbird makes special offers or discounts sales; when this occurs the master file data has to be amended to ensure that the correct prices are used on invoices. This task is usually performed by a senior sales ledger clerk.
Revenue and receivables records
On a monthly basis statements are sent to the hotel customers; a number of trade customers have been requesting monthly statements and Hummingbird is considering this request. The company only reconciles the sales ledger control account at the end of September in order to verify the year-end balance.
Required:
(a) As the external auditor of Hummingbird Co, write a report to management in respect of the sales system described above which:
(i) Identifies and explains SEVEN deficiencies in the sales system; and
(ii) Provides a recommendation to address each of these deficiencies.
A covering letter IS required.
Note: Up to two marks will be awarded within this requirement for presentation and the remaining marks will be split equally between each part. (16 marks)
(b) Describe substantive procedures the auditor should perform. to confirm Hummingbird Co’s revenue. (4 marks)
A.file=open(filename,‘rb’)表示以只读、二进制方式打开名为filename的文件
B.对已经关闭的文件进行读写操作会默认再次打开文件
C.对于非空文本文件,read()返回字符串,readlines()返回列表
D.对文件操作完成后即使不关闭程序与不会报错,所以可以不关闭文件