单选题A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /

题目
单选题
A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /test:/home/bob/downloads/*.jar games. Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
A

/test/Chess.class

B

/home/bob/Chess.class

C

/test/games/Chess.class

D

/usr/lib/games/Chess.class

E

/home/bob/games/Chess.class

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

AUNIXusernamedBobwantstoreplacehischessprogramwithanewone,butheisnotsurewheretheoldoneisinstalled.BobiscurrentlyabletorunaJavachessprogramstartingfromhishomedirectory/home/bobusingthecommand:java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to:/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhatisapossiblelocationfortheChess.classfile?()

A./test/Chess.class

B./home/bob/Chess.class

C./test/games/Chess.class

D./usr/lib/games/Chess.class

E./home/bob/games/Chess.class


参考答案:C

第2题:

Bob, a user, reports that his computer is running slower since he viewed an online training presentation. Bob is also receiving an increased amount of spam email. Which of the following is the MOST likely cause of Bob’s issue?()

  • A、Virus
  • B、Worm
  • C、Network bandwidth
  • D、Malware

正确答案:D

第3题:

4 Assume today’s date is 15 May 2005.

In March 1999, Bob was made redundant from his job as a furniture salesman. He decided to travel round the world,

and did so, returning to the UK in May 2001. Bob then decided to set up his own business selling furniture. He

started trading on 1 October 2001. After some initial success, the business made losses as Bob tried to win more

customers. However, he was eventually successful, and the business subsequently made profits.

The results for Bob’s business were as follows:

Period Schedule D Case I

Trading Profits/(losses)

1 October 2001 – 30 April 2002 13,500

1 May 2002 – 30 April 2003 (18,000)

1 May 2003 – 30 April 2004 28,000

Bob required funds to help start his business, so he raised money in three ways:

(1) Bob is a keen cricket fan, and in the 1990s, he collected many books on cricket players. To raise money, Bob

started selling books from his collection. These had risen considerably in value and sold for between £150 and

£300 per book. None of the books forms part of a set. Bob created an internet website to advertise the books.

Bob has not declared this income, as he believes that the proceeds from selling the books are non-taxable.

(2) He disposed of two paintings and an antique silver coffee set at auction on 1 December 2004, realising

chargeable gains totalling £23,720.

(3) Bob took a part time job in a furniture store on 1 January 2003. His annual salary has remained at £12,600

per year since he started this employment.

Bob has 5,000 shares in Willis Ltd, an unquoted trading company based in the UK. He subscribed for these shares

in August 2000, paying £3 per share. On 1 December 2004, Bob received a letter informing him that the company

had gone into receivership. As a result, his shares were almost worthless. The receivers dealing with the company

estimated that on the liquidation of the company, he would receive no more than 10p per share for his shareholding.

He has not yet received any money.

Required:

(a) Write a letter to Bob advising him on whether or not he is correct in believing that his book sales are nontaxable.

Your advice should include reference to the badges of trade and their application to this case.

(9 marks)


正确答案:
(a) Evidence of trading
[Client address]
[Own address]
[Date]
Dear Bob,
I note that you have been selling some books in order to raise some extra income. While you believe that the sums are not
taxable, I believe that there may be a risk of the book sales being treated as a trade, and therefore taxable under Schedule D
Case I. We need to refer to guidance in the form. of a set of principles known as the ‘badges of trade’. These help determine
whether or not a trade exists, and need to be looked at in their entirety. The badges are as follows.
1. The subject matter
Some assets can be enjoyed by themselves as an investment, while others (such as large amounts of aircraft linen) are
clearly not. It is likely that such assets are acquired as trading stock, and are therefore a sign of trading. Sporting books
can be an investment, and so this test is not conclusive.
2. Frequency of transactions
Where transactions are frequent (not one-offs), this suggests trading. You have sold several books, which might suggest
trading, although you have only done this for a short period - between one and two years.
3. Length of ownership
Where items are bought and sold soon afterwards, this indicates trading. You bought your books in the 1990s, and the
length of time between acquisition and sale would not suggest trading.
4. Supplementary work and marketing
You are actively marketing the books on your internet website, which is an indication of trading.
5. Profit motive
A motive to make profit suggests trading activity. You sold the books to raise funds for your property business, and not
to make a profit as such, which suggests that your motive was to raise cash, and not make profits.
6. The way in which the asset sold was acquired.
Selling assets which were acquired unintentionally (such as a gift) is not usually seen as trading. You acquired the books
for your collection over a period of time, and while these were intentional acquisitions, the reasons for doing so were for
your personal pleasure.
By applying all of these tests, it should be possible to argue that you were not trading, merely selling some assets in
order to generate short-term cash for your business.
The asset disposals will be taxed under the capital gain tax rules, but as the books are chattels and do not form. part of
a set, they will be exempt from capital gains tax.
Yours sincerely
A N. Accountant

第4题:

A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command:java games.cards. Poker What allows the user to do this?()

  • A、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
  • B、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
  • C、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
  • D、put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java

正确答案:C

第5题:

A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()

  • A、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java
  • B、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar
  • C、Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar
  • D、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java
  • E、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar
  • F、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar

正确答案:C

第6题:

A class games.cards.Poker is correctly defined in the jar file Poker.jar.  A user wants to execute the main method of Poker on a UNIX system using the command:  java games.cards.Poker  What allows the user to do this?() 

  • A、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
  • B、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
  • C、 Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
  • D、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
  • E、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jar
  • F、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar

正确答案:C

第7题:

A UNIX user named Bob wants to replace his chess program with a new one,but he is hot sure where the old one is in stalled.Bob is currently able to run a Java chess program starting from his home directory/home/bobusingthecommand: java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

  • A、/test/Chess.class
  • B、/home/bob/Chess.class
  • C、/test/games/Chess.class
  • D、/usr/lib/games/Chess.class
  • E、/home/bob/games/Chess.class
  • F、inside jarfile/opt/java/lib/Games.jar(withacorrectmanifest)
  • G、inside jarfile/home/bob/downloads/Games.jar(withacorrectmanifest)

正确答案:C

第8题:

AUNIXusernamedBobwantstoreplacehischessprogramwithanewone,butheishotsurewheretheoldoneisinstalled.BobiscurrentlyabletorunaJavachessprogramstartingfromhishomedirectory/home/bobusingthecommand:java-classpath/test:/home/bob/downloads/*.jargames.ChessBob?sCLASSPATHisset(atlogintime)to:/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhatisapossiblelocationfortheChess.classfile?()

A./test/Chess.class

B./home/bob/Chess.class

C./test/games/Chess.class

D./usr/lib/games/Chess.class

E./home/bob/games/Chess.class

F.insidejarfile/opt/java/lib/Games.jar(withacorrectmanifest)

G.insidejarfile/home/bob/downloads/Games.jar(withacorrectmanifest)


参考答案:C

第9题:

A UNIX user named Bob wants to replace his chess program with a new one, but he is hot sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command:  java -classpath /test:/home/bob/downloads/* .jar games.Chess  Bob‟s CLASSPATH is set (at login time) to:  /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/* .jar  What is a possible location for the Chess.class file?() 

  • A、 /test/Chess.class
  • B、 /home/bob/Chess.class
  • C、 /test/games/Chess.class
  • D、 /usr/lib/games/Chess.class
  • E、 /home/bob/games/Chess.class
  • F、 inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
  • G、 inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

正确答案:C

第10题:

A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /test:/home/bob/downloads/*.jar games. Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

  • A、/test/Chess.class
  • B、/home/bob/Chess.class
  • C、/test/games/Chess.class
  • D、/usr/lib/games/Chess.class
  • E、/home/bob/games/Chess.class

正确答案:C

更多相关问题