题目
4 (a) Router, a public limited company operates in the entertainment industry. It recently agreed with a television
company to make a film which will be broadcast on the television company’s network. The fee agreed for the
film was $5 million with a further $100,000 to be paid every time the film is shown on the television company’s
channels. It is hoped that it will be shown on four occasions. The film was completed at a cost of $4 million and
delivered to the television company on 1 April 2007. The television company paid the fee of $5 million on
30 April 2007 but indicated that the film needed substantial editing before they were prepared to broadcast it,
the costs of which would be deducted from any future payments to Router. The directors of Router wish to
recognise the anticipated future income of $400,000 in the financial statements for the year ended 31 May
2007. (5 marks)
Required:
Discuss how the above items should be dealt with in the group financial statements of Router for the year ended
31 May 2007.
第1题
对下列程序的叙述中,正确的是
1:public class X extends Thread implements Runnable{
2:publ主c void run(){
3: System.out.println(“this is run()”);
4:}
5:public static void main(String args〔〕){
6:Threadt二new Thread(new X());
7:t.start();
8:}
9:}
A.第1行会产生编译错误
B.第6行会产生编译错误
C.第6行会产生运行错误
D.程序正常运行
第2题
对下列程序的叙述中,正确的是()。
1:public class X extends Thread implements Runnable{
2:public void run{
3:system.out.println("this is run");
4:}
5:oublic static void main(String args[]){
6:Thread t=new Thread(new X):
7:t.start;
8:}
9:}
A.第l行会产生编译错误
B.第6行会产生编译错程
C.第6行会产生运行错误
D.程序正常运行
第3题
阅读以下说明和Jrdva代码,将应填入(n)处的字句写在对应栏内。
[说明]
在销售系统中常常需要打印销售票据,有时需要在一般的票据基础上打印脚注。这样就需要动态地添加一些额外的职责。如下展示了Decorator(修饰)模式。SalesOrder对象使用一个SalesTicket对象打印销售票据。图6-1显示了各个类间的关系。以下是Java语言实现,能够正确编译通过。
[图6-1]
[Java代码]
//Component.java文件
public (1) class Component {
abstract publ ic void prtTicket();
}
//salesTicket.java文件
public class SalesTicket extends Component{
public void prtTicket(){
//Sales ticket printing code here
System.out.printin("SalesTicket");
}
}
//Decorator.java文件
publ ic abstract class Decorator extends Component{
public void prtTicket(){
if(myComp!=null)myComp.prtTicket();
}
private (2) myComp;
public Decorator(Component myC){
myComp=myC;
}
}
//Footer.java文件
public class Footer extends Decorator {
public Footer(Component myC){
(3);
}
public void prtTicket(){
(4);
prtFooter();
}
publ ic void prtFooter(){
//place printing footer code here
System.out.println("Footer");
}
}
//salesorder.java文件
public class SalesOrder{
void prtTicket(){
Component myST;
myST=new Footer((5) );
//Print Ticket with footers as needed
myST.prtTicket();
}
}
(1)
第6题
A.4
B.8
C.12
D.16
第7题
【问题4】(3分)
请说明下面这组ACL语句的功能。
Router(config)#access-list 101 permit tcp any host 10.10.1.10 eq www
Router(config)#interface ethernet 0/0
Router(config-if)#ip access-group 101 0ut
第8题
A.2
B.3
C.4
D.6
第9题
【问题2】(3分)
根据图4-1的配置,补充完成下面路由器的配置命令:
Router(config)# interface (3)
Router(config-if)#ip address 10.10.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)# interface (4)
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config)# interface (5)
Router(config-if)# ip address 10.10.2.1 255.255.255.0
第10题
A. This command is applied to the core router facing interface.
B. This command is applied to the customer facing interface.
C. The 4 is locally significant and identifies the layer 2 circuit.
D. The 4 must match exactly on the peer router configuration on the remote end.
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!