Byron is a partner in the Dowdy Group. At the close of the current year, Byron's basis in the partnership is $34,000. At that time, the partnership distributes cash of $8,000 and property with a basis of $9,000 and a fair market value of $13,000 to each p

题目

Byron is a partner in the Dowdy Group. At the close of the current year, Byron's basis in the partnership is $34,000. At that time, the partnership distributes cash of $8,000 and property with a basis of $9,000 and a fair market value of $13,000 to each partner. What is Byron's basis in the partnership after the distribution?()

A.$13,000

B.$17,000

C.$26,000

D.$34,000


相似考题
更多“Byron is a partner in the Dowdy Group. At the close of the current year, Byron's b ”相关问题
  • 第1题:

    当第一次打开窗体时,下述事件发生的顺序是( )。

    ①Current

    ②Load

    ③Open

    ④Resize

    ⑤Close

    ⑥Unload

    A.①-②-③-④-⑤-⑥

    B.③-④-②-①-⑥-⑤

    C.②-①-③-④-⑤-⑥

    D.③-②-④-①-⑥-⑤


    正确答案:D
    解析:当第一次打开窗体叶,事件以下列顺序发生:Open→Load→Resize→Current→unload→Close。正确的顺序应该是:③-②-④-①-⑥-⑤。

  • 第2题:

    有以下定义和语句

    Struct Workers

    { int num;char name[20];char c;

    struct

    { int day;int month;int year;}s;

    };

    Struct Workers W,*pe;

    PW=&W;

    能给W中yeaR成员赋1980的语句是

    A.*pW.yeaR=1980;

    B.W.yeaR=1980;

    C.pW->yeaR=1980;

    D.W.s.yeaR=1980;


    正确答案:D
    解析:结构体structure workers中的成员s是结构体类型,给w中成员year赋值的语句是w.s.year=1980,故选D。

  • 第3题:

    下列Moore型状态机采用Verilog语言主控时序部分正确的是:

    A.always@(posedge clk or negedge reset) begin if(!reset) current_state<=s0; else current_state<=next_state; end

    B.always@(posedge clk ) begin if(!reset) current_state<=s0; else current_state<=next_state; end

    C.always@(posedge clk t) if(reset) current_state<=s0; else current_state<=next_state;

    D.always@(posedge clk or negedge reset) if(reset) current_state<=s0; else current_state<=next_state;


    always@(posedge clk or negedge reset) begin if(!reset) current_state<=s0; else current_state<=next_state; end

  • 第4题:

    本题的功能是监听鼠标的操作。鼠标置于窗口中单击时(左键或右键),在单击的地方会画一个小矩形,如果将鼠标置于小矩形上,则鼠标光标状态改为小十字,按下鼠标左键可拖曳,双击鼠标左键(或右键)时,小矩形消失。 import java.awt.*; import java.awt.event.*; import java.util.*; import java.awt.geom.*; import javax.swing.*; public class java3 { public static void main(String[]args) { MouseFrame. frame=new MouseFrame: frame.setDefaultCloseOperation(JFrame.EXIT_ oN_CLOSE); frame.show; } } class MouseFrame. extends JFrame { public MouseFrame { setTitle("java3"); setSize(DEFAULT WIDTH, DEFAULT HEIGHT): MousePanel panel=new MousePanel; Container contentPane=getContentPane; contentPane.add(panel); } public static final int DEFAULT_WIDTH=300; public static final int DEFAULT_HEIGHT=200; } class MousePanel extends JPanel { public MousePanel { squares=new ArrayList; current=null: addMouseListener(new MouseHandler); addMouseMotionListener(new MouseMotionHan- dler); } public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2=(Graphics2D)g; for(int i=0;i<squares.size;i++) g2.draw((Rectangle2D)squares.get(i)); } public void find(Point2D p) { for(int i=0;i<squares.size;i++) { Rectangle2D r=(Rectangle2D)squares.get(i); if(r.contains(p))return r; } return null: } public void add(Point2D p) { double x=P.getX; double Y=P.getY: current=new Rectangle2D.Double( x-SIDELENGTH/2. y-SlDELENGTH/2. S1DELENGTH, SIDELENGTH); squares.add(current); repaint; } public void remove(Rectangle2D s) { if(S= =null)return: if(S= =current)current=null; squares.remove(s): repaint; } private static final int SIDELENGTH=10: private ArrayList squares; private Rectangle2D current; private class MouseHandter extends MouseAction- Listener { public void mousePressed(MouseEvent event) { current=find(event.getPoint); if(current= =null) add(event.getPoint); } public void mouseClicked(MouseEvent event) { current=find(event.getPoint); if(current!=nullevent.getClickCount >=2) remove(current); } } private class MouseMotionHandler implements Mouse- MotionListener { public void mouseMoved(MouseEvent event) { if(find(event.getPoint)= =null) setCursor(Cursor.getDefaultCursor); else setCursor(Cursor.getPredefinedCursor (Cursor.CROSSHAIR_CURSOR)); } public void mouseDragged(MouseEvent event) { if(current!=null) { int x=event.getX: int Y=event.getY; 、 current.setFrame( x-SIDELENGTH/2, Y-SlDELENGTH/2. SIDELENGTH, SIDELENGTH); repaint; } } } }


    正确答案:
    第1处:public Rectangle2D find(Point2D p)
    第2处:private class MouseHandler extends MouseAdaopter
    第3处:find(event.getPoint)= =null
    【解析】第1处定义一个返回类型为Rectangle2D的find函数且有一个Point2D型的形参;第2处定义了继承鼠标适配器MouseAdapt的MouseHandler;第3处判断find函数的返回值是否为空。

  • 第5题:

    有以下定义和语句: struct workers {int num;char name[20];char C; struct {int day;int month;int year;)S; }; struct workers w,*pw; pw=&w; 能给w中year成员赋1980的语句是( )。

    A.*pw.year=1980;

    B.w.year=1980;

    C.pw->year=1980

    D.w.S.year=1980;


    正确答案:D
    结构workers中的成员s是一个嵌套的结构类型定义,因此在给year赋值时,要用“.”运算在深入一层访问到最基本的成员year,只有D项反映出了这一点。