CODING - DEBUGGING PRELIMS ROUND QUIZ PART—ONE (PREDICT THE OUTPUT) Q1. What will be the output of the following arithmetic expression? 5+3*2%10-8*6 a) -37(Y) b) -42 c) -32 d) -28 Q2. What will be the output of the following statement? Printf (3 + "goodbye"); A) goodbye B) odbye C) bye D) dbye(Y) Q3. What will be the output of the following statements? int x[4] = {1‚2‚3}; printf("%d %d %D"‚x[3]‚x[2]‚x[1]); a) 03%D b) 000 c) 032(Y) d) 321 Q4). Predict the Output? void main () { int a=10‚b=20;
Premium Statement Subroutine
39.what is defined as one subdivision of the operation performed in one clock period. a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above Ans: a 40.At the end of the following code‚ what is the status of the flags. LXI B‚ AEC4H MOV A‚C ADD HLT a) S = 1‚ CY = 0‚ P = 0 ‚ AC = 1 b) S =0 ‚ CY = 1‚ P = 0‚AC = 1 c) S = 0‚ CY = 1‚ P = 0 ‚ AC = 1 d) S = 0‚ CY = 1‚ P = 1 ‚ AC = 1 41.In 8051 micro controller what is the HEX number in the accumulator after the execution of the following code
Premium
Sample Questions and Answers Tell me about yourself …. This is tricky not to waffle or give unrelated information. You need to aim to address your capability‚ commitment and cultural fit‚ here is a sample answer: ‘Good morning‚ my name is James Smith.* I am a qualified accountant with six years post qualified experience gained within the pharmaceutical industry. I worked with Glaxo Smith Klein* as an assistant accountant and I have spent the past 4 years working with Pfizer* where my most recent
Premium Employment Job interview
inputs for many sectors in the world’s economy. Therefore‚ when a war breaks out in Country A. which is the main producer for fuel in the world it causes fuel supply disruptions in the world. Question 1 What will happen to the price and quantity equilibrium for fuel following this event? Explain. Answer: Since County A is the main producer of oil in the worlds market; due to the war in country A it will face difficulties in the production of oil. This will result a decrease of oil supply in the
Premium Supply and demand
sales tax of $3‚000. Stine estimates that the machinery will have a useful life of 10 years and a residual value of $20‚000. If Stine uses straight-line depreciation‚ annual depreciation will be $4‚100. $6‚100. $4‚072. $3‚760. Given the following account balances at year end‚ compute the total intangible assets on the balance sheet of Janssen Enterprises. Cash $1‚500‚000 Accounts Receivable 4‚000‚000 Trademarks 1‚000‚000 Goodwill 2‚500‚000 Research & Development Costs 2‚000‚000 $7‚500
Premium Depreciation Balance sheet Generally Accepted Accounting Principles
for the firm’s specific information system specifications. IT infrastructure includes hardware‚ software‚ and services that are shared across the entire firm. Major IT infrastructure components include computer hardware platforms‚ operating system platforms‚ enterprise software platforms‚ networking and telecommunications platforms‚ database management software‚ Internet platforms‚ and consulting services and systems integrators. 2. What are the stages and technology drivers of IT infrastructure
Premium Computer Server
Chapter 14 Answer the following review questions. For some questions‚ more than one choice may be correct. 1. Which of the following routing protocols are considered to use distance vector logic? B‚ A a. RIP b. IGRP c. EIGRP d. OSPF 2. Which of the following routing protocols are considered to use link-state logic? E‚ F a. RIP b. RIP-2 c. IGRP d. EIGRP e. OSPF f. Integrated IS-IS 3. Which of the following routing protocols support VLSM? B‚D‚E‚F a. RIP b. RIP-2 c. IGRP d. EIGRP e. OSPF f
Premium IP address Routing MAC address
Exam Name___________________________________ MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) Because common shareholders are entitled to the profits that remain after all of a corporation ’s 1) _______ other obligations have been met‚ common shareholders are known as A) debt owners. B) temporary owners. C) owners of last resort. D) residual owners. 2) An individual who invested $100‚000 in average stocks early in the year 2000 would
Premium Stock Stock market
Paulo Nazario‚ Onur Saka and Juliette Clark International Business Policies and Strategies‚ Winter Quarter 2011 11/29/11 CASE 11: PepsiCo’s Diversification Strategy in 2008 Page 1 1. BACKGROUND INFORMATION Time Country(s) Involved Key Individuals & frame MileStones Titles 1965- Headquarters in Indra Krishnamurthy 2008 Purchase‚ New York‚ Nooyi‚ Chairman of USA. Operations the Board and CEO (2006-). global in scope. Steven Reinemund (CEO 2001-2006). Roger Enrico (CEO 1996-2001). Donald Kendall
Premium Strategic management
2. Staff requirements (based on 2004 Docs regulations staff: child ratios) and including ancillary staff. - Nursery room: 1 caregiver to 5 children - Toddler room: 1 caregiver to 8 children -Preschool room: 1 caregiver to 10 children The service is a 29 place long day care centre‚ operating 48 weeks of the year. The children include: five 0-2 year olds so this room would need 1 carer‚ eight 2-3 year olds this room would also need 1 carer. Sixteen 3-5 year olds would need 2 carers. I would
Premium Caregiver Diploma Parental leave