Information for Questions 37 to 40 Inter-company Debt Transa…

Information for Questions 37 to 40 Inter-company Debt Transaction On December 31, 20X4, Senn paid $188,000 to purchase $200,000 of the outstanding bonds from a third-party investor issued by Penn. The bonds mature on December 31, 20X8, and were originally issued at par. The bonds pay interest annually on December 31st of each year, and the interest was paid to the prior investor immediately before Senn’s purchase of the bonds. When entering your answers,  round them to the nearest dollar, enter them as numbers with no decimal places and no dollar ($) signs, and enter the numbers with or without the comma separator (e.g., either 28,374 or 28374). If a question is asking about an amount for which there is no entry, you must enter a 0. Blanks are marked as incorrect. For partial credit, do the following: After stating your answers, use the partial credit question that follows to show how you arrived at them (e.g., 13,000 ). Include any explanations or logic you used to arrive at your answers.

Consider the following gdb output: Program received signal S…

Consider the following gdb output: Program received signal SIGSEGV, Segmentation fault.0x000055555555cde5 in get (p=0x5797b6f91c87dac8) at mm.c:7777        return (*(size_t*)(p));(gdb) bt#0  0x000055555555cde5 in get (p=0x5797b6f91c87dac8) at mm.c:77#1  0x000055555555ce46 in get_alloc (bp=0x5797b6f91c87dac8) at mm.c:90#2  0x000055555555d16c in coalesce (bp=0x7efff7c002f0) at mm.c:152#3  0x000055555555d643 in mm_free (ptr=0x7efff7c002f0) at mm.c:296#4  0x000055555555acd7 in eval_mm_valid (trace=0x55555557a500, ranges=0x55555557a4e0) at mdriver.c:1186#5  0x00005555555584f4 in run_tests (num_tracefiles=24, tracedir=0x555555562080 “./traces/”, tracefiles=0x555555573a30,     mm_stats=0x555555574110, speed_params=0x7fffffffdec0) at mdriver.c:278#6  0x0000555555558ced in main (argc=1, argv=0x7fffffffe0b8) at mdriver.c:505(gdb) x/20gx 0x7efff7c002d00x7efff7c002d0:    0xbbcf56d0b26abd59    0x00000000000000200x7efff7c002e0:    0xa868c806db382820    0x00000000000000500x7efff7c002f0:    0x27cbd3e6758d7f64    0xc5e596a23619ba1e0x7efff7c00300:    0x32822deb7c00f30b    0xcb834d67406dc72b0x7efff7c00310:    0x02da0ce4b34110cc    0x952e1e8a6939f3c60x7efff7c00320:    0x862f935bfd112e11    0xb68d49e9c2c69c5a0x7efff7c00330:    0x0000000000000051    0x00000000000000300x7efff7c00340:    0x0a6eb91058083189    0x822fff98e760e1ab0x7efff7c00350:    0x5dbb93b11802f355    0x00000000000000000x7efff7c00360:    0x0000000000000030    0x0000000000000cb0 Dereferencing what address led to the segmentation fault? Enter the value in hex, starting with 0x and with all letters lowercase.  What is the address of the payload space of the block being freed? Enter the value in hex, starting with 0x and with all letters lowercase. What is the address of the footer of the previous block (relative to the block being freed)? Enter the value in hex, starting with 0x and with all letters lowercase. What value is in the footer of the previous block (relative to the block being freed)? Enter the value in hex, starting with 0x and with all letters lowercase.

static void* coalesce(void* curr){    void* prev = prev_payl…

static void* coalesce(void* curr){    void* prev = prev_payload_pointer(curr);    void* next = next_payload_pointer(curr);    uint64_t prev_alloc = get_alloc(get_header(prev));    uint64_t next_alloc = get_alloc(get_header(next));    uint64_t size = get_size(get_header(curr));    //case 1    if (prev_alloc && next_alloc) {        return curr;    }    //case 2    else if (prev_alloc && !next_alloc) {        size += get_size(get_header(next));        set(, pack(size, 0));        set(get_footer(next), pack(size, 0));        return ;    }    //case 3    else if (!prev_alloc && next_alloc) {        size += get_size(get_header(prev));        set(, pack(size, 0));        set(get_footer(curr), pack(size, 0));        return ;    }    //case 4    else {        size += get_size(get_header(prev)) + get_size(get_header(next));        set(, pack(size, 0));        set(get_footer(next), pack(size, 0));        return ;    }}

Information for Questions 33 to 36 Inter-company Depreciable…

Information for Questions 33 to 36 Inter-company Depreciable Transactions Penn owns 80% of Senn’s stock. On January 3, 20X4, Senn sold equipment with an original cost of $30,000 and a carrying value of $12,000 to Penn for $16,000. The equipment had a remaining useful lifespan of four years and was depreciated using the straight-line method by both companies. When entering your answers,  round them to the nearest dollar, enter them as numbers with no decimal places and no dollar ($) signs, and enter the numbers with or without the comma separator (e.g., either 28,374 or 28374). If a question is asking about an amount for which there is no entry, you must enter a 0. Blanks are marked as incorrect. For partial credit, do the following: After stating your answers, use the partial credit question that follows to show how you arrived at them (e.g., 13,000 ). Include any explanations or logic you used to arrive at your answers.  

Penn owns 100% of the capital stock of both Senn and Tenn. S…

Penn owns 100% of the capital stock of both Senn and Tenn. Senn purchases merchandise inventory from Tenn at 120% of Tenn’s cost. During 20X4, merchandise that cost Tenn $60,000 was sold to Senn. Senn sold all of this merchandise to unrelated third-party customers for $82,000 during 20X4. In preparing combined financial statements for 20X4, Penn’s accountant disregarded the common ownership of Senn and Tenn. By what amount was unadjusted revenue overstated in the combined income statement for 20X4?

Information for Questions 25 to 32 Upstream Inventory Transa…

Information for Questions 25 to 32 Upstream Inventory Transaction On January 2, 2024, Penn purchased 80% of the outstanding common shares of Senn. During 2024, Senn sold merchandise that cost $4,900 to Penn for $7,000. Penn sold all but $1,000 of this merchandise to its customers for $8,000 in cash. Senn reported net income of $8,000, and Penn reported separate operating income (excluding income from Senn) of $15,000 during 2024. When entering your answers,  round them to the nearest dollar, enter them as numbers with no decimal places and no dollar ($) signs, and enter the numbers with or without the comma separator (e.g., either 28,374 or 28374). If a question is asking about an amount for which there is no entry, you must enter a 0. Blanks are marked as incorrect. For partial credit, do the following: After stating your answers, use the partial credit question that follows to show how you arrived at them (e.g., 13,000 ). Include any explanations or logic you used to arrive at your answers.