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,000B.$17,000C.$26,000D.$34,000
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
相关考题:
( 38 )有以下定义和语句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 = 198O;B ) w.year=1980;C ) pw-year=1980;D ) w.s.year=1980;
当第一次打开窗体时,事件以哪一个顺序发生的( )。①Current②Load③Open④Resize⑤Close⑥UnloadA.①—②—③—④—⑤—⑥B.③—④—②—①—⑥—⑤C.②—①—③—④—⑤—⑥D.③—②—④—①—⑥—⑤
已知学生记录描述为: struct student { int no; char name[20],sex; struct { int year,month,day; } birth; }; struct student s; 设变量s中的“生日”是“1984年11月12日”,对“birth”正确赋值的程序段是( )。A.year=1984;month=11;day=12;B.s.year=1984;s.month=11;s.day=12;C.birth.year=1984;birth.month=11;birth.day=12;D.s.birth.year=1984;s.birth.month=11;s.birth.day=12;
当第一次打开窗体时,事件是以下列哪一个顺序发生的( )。①Current②Load③Open④Resize⑤Close⑥UnloadA.①→②→③→④→⑤→⑥B.③→④→②→①→⑥→⑤C.②→①→③→④→⑤→⑥D.③→②→④→①→⑥→⑤
当第一次打开窗体时,下述事件发生的顺序是( )。①Current②Load③Open④Resize⑤Close⑥UnloadA.①-②-③-④-⑤-⑥B.③-④-②-①-⑥-⑤C.②-①-③-④-⑤-⑥D.③-②-④-①-⑥-⑤
本题的功能是监听鼠标的操作。鼠标置于窗口中单击时(左键或右键),在单击的地方会画一个小矩形,如果将鼠标置于小矩形上,则鼠标光标状态改为小十字,按下鼠标左键可拖曳,双击鼠标左键(或右键)时,小矩形消失。 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;isquares.size;i++) g2.draw((Rectangle2D)squares.get(i)); } public void find(Point2D p) { for(int i=0;isquares.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; } } } }
有以下定义和语句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;
有以下定义和语句: 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=1980D.w.S.year=1980;
下列Moore型状态机采用Verilog语言主控时序部分正确的是:A.always@(posedge clk or negedge reset) begin if(!reset) current_state<=s0; else current_state<=next_state; endB.always@(posedge clk ) begin if(!reset) current_state<=s0; else current_state<=next_state; endC.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;