...Question 1 Change the following infix expression postfix expression. (A + B)*C+D/E-F Question 2 Suppose a 3d array LA is declared using LA(3:8, -4:1, 6: 9), base(LA)=200, w=4. find loc of LA[2,-2,5]. (Row major order). Question 3 Convert the expression (True && False) || !(False || True) to postfix expression. Show the contents of the stack at every step. Question 4 Use a stack to evaluate the following postfix expression and show the content of the stack after execution of each operation. Don't write any code. Assume as if you are using push and pop member functions of the stack. AB-CD+E*+ (where A=5, B=3, C=5, D =4, and E=2) Question 5 Evaluate the following postfix expression using a stack and show the contents of stack after execution of each operation : 50,40,+,18, 14,-, *,+ Question 6 Evaluate the following postfix expression using a stack and show the contents of stack after execution of each operation : TRUE, FALSE, TRUE, FALSE, NOT, OR, TRUE, OR, OR, AND Question 7 Write a program for creating polynomial using linked list? Question 8 Each node of a STACK contains the following information, in addition to required pointer field : i) Roll number of the student ii) Age of the student Give the structure of node for the linked stack in question TOP is a pointer which points to the topmost node of the STACK. Write the...
Words: 308 - Pages: 2
...Chapter 3: Jump, Loop, and Call Instructions 3:1: Loop and Jump Instructions 1. In the 8051, looping action with the instruction “DJNZ Rx, rel address” is limited to decrement iterations. 2. If a conditional jump is not taken, what is the next instruction to be executed? Unconditional jump 3. In calculating the target address for a jump, a displacement is added to the contents of register program counter. 4. The mnemonic SJMP stands for short jump and it is a 2-byte instruction. 5. The mnemonic LJMP stands for long jump and it is a 3-byte instruction. 6. What is the advantage of using SJMP and LJMP? The advantage is no stack handling is needed. 7. True or false. The target of a short jump within -128 to +127 bytes of the current PC. True 8. True or false. All 8051 jumps are short jumps. False 9. Which of the following instructions is (are) not a short jump? C. LJMP 3:2: Call Instructions 17. LCALL is a 3 -byte instruction. 18. ACALL is a 2 -byte instruction. 19. The ACALL target address is limited to 2k bytes from the present PC. 20. The LCALL target address is limited to 64k bytes from the present PC. 21. When LCALL is executed, how many bytes of the stack are used? 64k 22. When ACALL is executed, how many bytes of the stack are used? 2k 23. Why do the PUSH and POP instructions in a subroutine need to be equal in number? The number needs to be equal because with the use of every PUSH there has to be a POP to match. 24. Describe the...
Words: 686 - Pages: 3
...------------------------------------------------- Chapter 2 1. 16 2. 8 3. 8 6. A = 15H + 13H = 28H (HEX) A = 0001_0101B + 0001_0011B = 0010_1000B (BINARY) 7. A and D 11. Low; high 12. Assembly Language uses less memory space then C and files are generally shorter. 13. Compiler 14. true 15. lst file 23. (a) MOV A, #55H - 2 bytes (b) MOV R3, #3 2 bytes (c) INC R2- 1 byte (d) ADD A, #0 -2 bytes (e) MOV A, R1 -1 byte (f) MOV R3, A -1 byte (g) ADD A, R2 -1 byte 37. (a) MOV A, #54H , ADD A, #0C4h CY=1 (b) MOV A, #00, ADD A, #0FFh CY=0 (c) MOV A, #250, ADD A, #05 CY=0 38. Add 25H and 70H and find the contents of the AC, CY, and P flags. 25h 70h 95h AC=0 CY=0 P=0 42. 8 bits 43. bank 0 48. MOV SP, #52H stack starts at MOV A, #04 move 4 into acc MOV R0, #05H move value to r0 ADD A, R0 add and store to acc PUSH 0E0H push the value of acc.on the stack PUSH 0 push value of r0 on the stack SET PSW.4 select reg bank 2 POP 10H pop value at r0 0E0H pop the value.of 00 ------------------------------------------------- Chapter 3 4. Short jump; 2 byte 5. long jump; 3 bytes 6. The LJMP instruction is 3-bytes in which the first byte is the opcode, and the second and third bytes represent the 16-bit address of the target location from 0000 to FFFFH. The SJMP is a 2-byte instruction where the first byte is the opcode and the second byte is the address location FFH 7. true 8. false ...
Words: 477 - Pages: 2
...INDUSTRIAL TRAINING FROM TATA CMC, JAMMU ON EMBEDDED SYSTEMS. Submitted in the partial fulfilment of requirement for the award of degree of Bachelor of Engineering In Electronics and Communication Engineering Submitted By Ashish Gupta 258/12 Under the guidance of Ms. Sonika Mahajan IT Guide Department of Electronics & Communication Engineering Mahant Bachittar Singh College of Engineering and Technology, Jammu 2015 CERTIFICATE i DECLARATION I hereby declare that the Seminar Report entitled “EMBEDDED SYSTEMS” is an authentic record of my own work carried out as requirement for the award of degree of B.E. (E&C) of Mahant Bachittar Singh College of Engineering & Technology, Jammu. Date: ................ Ashish Gupta 258/12 Certified that the above statement made by the student is correct to the best of my knowledge and belief. Ms. Sonika Mahajan Ms. Neha Gupta Ms. Shalini Sharma IT Guide ...
Words: 998 - Pages: 4
...ET2640 Microprocessors and Microcontrollers Exercise 2.1 Muhammad Abdul Hafiz Answers of questions: 1. It is an ADD operation : 15H+13H = 28H , this result is kept in A 2. Sure, Assembly Language is more efficient in terms of code generation. 3. A compiler produces object code, which is an “obj” file. The assembler will produce an object file and a list file. 4. The List file provides a listing of error. Programming errors fall into two categories. Simple typing/syntax error will be flagged by the TExaS assembler as an error when the assembler tries to translate source code into machine code. The more difficult programming errors to find and remove are functional bugs that can be identified during execution, when the program does not perform as expected. Error messages are meant to be self-explanatory. 5. MOV A,#55H ADD A,#55H ADD A,#55H ADD A,#55H ADD A,#55H 6. The size of stack pointer in 8051 is 8 bit. 7. When 8051 is power up it use register bank 0. 8. Line program | Stack | Stack pointer | ORG 0 | | | MOV R0,#66H | 00 | 07 | MOV R3,#7H | 00 | 07 | MOV R7,#5DH | 00 | 07 | PUSH 0 | 66 | 08 | PUSH 3 | 7F | 09 | PUSH 7 | 5D | 0A | CLR A | 5D | 0A | MOV R3, A | 5D | OA | MOV R7, A | 5D | 0A | OP 3 | | | POP 7 | 5D | 09 | POP 0 | 66 | | 9. The times of loop is: 100x200=20,000 times. 10. The reason is that the stack keeps track of where the CPU should return after completing the subroutine...
Words: 348 - Pages: 2
...Financial Statement Analysis Project GAP (GPS) MBAB 5P01 Section 2 Team E Instructor: Sohyung KIM Team Members: JIANG, YU ZHENG, RUYU LIN,CANGJIAN CHU, SICHAO DONG, YANXI 5418207 5514690 5035498 5519574 5485966 Due Date: October 22, 2013 Part 1. Who is my peer? 1. Gap, Inc. Exchange traded: New York Stock Exchange (NYSE) Ticker Symbol: GPS Gap Inc. is a global specialty apparel company. It operates in two segments: Stores, which includes the operations of the retail stores for Gap, Old Navy, and Banana Republic, and Direct, which includes the operations for its online brands, both domestic and international. As of January 28, 2012, the Company had 3,263 store locations, of which 3,036 stores were Company-operated and 227 stores were franchise store locations. (The Gap Inc.) 2. Buckle, Inc. Exchange trade: New York Stock Exchange (NYSE) Ticker Symbol: BKE The Buckle, Inc. is a retailer of casual apparel, footwear, and accessories for men and women. As of January 28, 2012, the company operated 431 retail stores in 43 states throughout the US. The Company markets a selection of brand name casual apparel, including denims, other casual bottoms, tops and accessories. The company purchase products from manufactures within the US, as well as from agents, who source goods from foreign manufactures. (The Buckle, Inc) 3. Methodology of choosing Gap’s peer a. Industry matching Industry is a branch of companies or groups concerned with economic goods or services. Matching...
Words: 1788 - Pages: 8
...develop a program to address the issue, made a pledge to do business with vendors with a high set of standards, they expanded discrimination section of the Universal Declaration of Human Right, and also hired dozens of vendors compliance officers, or VCOs to audit Gap factories. 3. Compare Gap Inc.’s social audit and reporting practices with those of others companies described in the chapter. In what ways is Gap’s effort different, and in what ways is it similar? Do you think Gap’s social auditing and reporting is better or worse than those of other companies, and why? What differs is that the other companies utilized a multiple stakeholder governance structure so that the firm interacts with many of the stakeholders it seeks to serve though its multiple performance targets. On the other hand what’s similar is that many companies commit to social responsive practices. 4. Will Gap Inc. maintain its strong social program focus even as the company experiences financial challenges and declining sales? Why or why not? I believe Gap will remain firm because they made a commitment to take their social responsibility...
Words: 278 - Pages: 2
...The Gap Inc. In 2010 Case Summary Case Summary This case study describes the business environment of the apparel market and how Gap Inc. tried in this highly competitive market environment to manage a turnaround in the time between 2000 and 2010. The U.S. clothing store sector accounted for approximately $156 billion in the year 2009 and had slightly declined compared to 2008 due to the worldwide recession. Average before-tax profits estimated by IBIS-World were around 3% in the year 2009. The level of globalization in the market is relatively low and made up by a large number of small and few major, domestically owned companies. The family clothing store industry is the most important sector, as it is responsible for more than half of the revenues in the U.S. clothing market. Concerning the gender woman clothes are most interesting, due to their will to spend more. Women clothing accounts for 50% of the market, followed by men and children with market shares of 37% and 13%. Hereby more than one third of the adult population has to be considered obese. According to price sensitivity 65% of the market is value-priced driven and targeted by family stores of companies such as Ross Stores or TJX Companies. They focus on still wanted brand names and discounts by delivering off-season styles. More emotional driven fashion and brand-conscious customers rather shop at Gap or Abercrombie & Fitch and are influenced by marketing efforts. These four companies are the major rivals...
Words: 290 - Pages: 2
...retail business has its beginning, every business has a bit of history that encouraged certain individuals to push forth and build something not only for them, but something that the whole world could use and be inspired by. Gap Inc. is definitely a retail business that has a past story that has inspired costumers and anyone wanting to take a step into the world of retail business. Don and Doris Fisher created the Gap in order to cater to their needs, but in the process helped thousands of customers find what they needed when it came to certain merchandise. The year 1969 was a year to remember in the business of retail. Located in San Francisco, California, Donald G. Fisher and wife Doris Fisher opened the very first Gap. Don Fisher initially had no real experience in the business of retail seeing as he made his living from real estate, but when Mr. Fisher could not find the right pair of Levis jeans to fit what he wanted, he decided to take matters into his own hands. He decided to open up his own retail store that would have everything that a customer could dream of having. In order to get his start Mr. Fisher had to identify the type of clothing and the age group that he would appeal to. Considering the time period and his original dilemma with finding the right pair of jeans he found his niche. During this time jeans had become the trend among teens, and even though he wasn’t a part of this generation he felt that he could be more successful in selling to this specific generation...
Words: 471 - Pages: 2
...philanthropy directly related to the company's competencies. Insider trading- uses private company infomation to further insers own fortuenes or those of their family and friends. Unified system- this happes after managers have decided a course of action now they need to organize the fimr to accomplish their goals. Middle management- this includes gernal managers, division managers, and branch and plant managers. B. Discuss the organizationl structure of the business relative to these five functinal areas: Marketing - The different forms of marketig, sales, and adverting for Gap are television, radio, credit card discounts, mail, and email. Gap spends a certain amount of money on advertising everymonth, and if they do not feel as though they are getting the response they hoped for they will pull the plug on that idea and go the next. Gap has commercials on television and radio, they are actully pretty catchy. Males and females from birth to 65 is their target market(gapincccom). I think they do a good job. Human resources - Gaps human resources department is functional it is head up by Eva Sage-Gavin her and her team personally hire all the regional managers and supply all the information for...
Words: 1651 - Pages: 7
...Name Professor Class October 27, 2012 Fashion and Media The media is constantly inundated with the latest and greatest in the fashion world. This doesn’t happen by chance; designers have to utilize resources as a means of survival. With many top name brands, making a distinguished name is not an easy feat. Gap Inc. has been fighting to make their mark in the fashion industry. They have utilized all six essential communicators of the fashion designer, the retailer, the consumer, the critics, the celebrities, and the culture. All six of the listed communicators use fashion and the language of fashion to create an image of themselves and authorizes that image before some audience. Virtually every culture communicates through fashion. Gap Inc. knows that fashion is a language with an almost limitless number of ways in which a message may be produced. The first communicator is the fashion designer. The fashion designer plays the role of the artist. They are responsible for the designs that we wear. Gap Inc. realizes that their designers can make or break them. Gap entered the market strong in 90’s with the khaki culture. The designers used their art and creativity to make Gap the “must have” wear. Fashion is meant to be a form of artistic expression; it’s the designer’s way to present their “art”. Gap Inc. has had their challenges over the last decade, but they have surfaced again as a fashion expert, setting an expression of what they believe the consumers will...
Words: 2146 - Pages: 9
...successful one. I am sure that in addition to your desire to thrive in our business you must have many questions. I have put to gether some tools to help you. I have started a social media group that I encourage you to join. This will be key in your success because senior team members are linked in daily so that there is always someone present to promptly answer your questions. Please do not be afraid to ask, any question you may have is valid and other junior team members may have the same one so you’re helping more than just yourself. I hope you take the time to get to know your team here and use them to help you succeed. I have also created a GOOGLE DRIVE for the documents we frequently share. You will see many things passed back and forth on the social page, but this is where you can easily and permanently locate any documents you might need. It is broken down to many sections, from scripts to images and games, marketing materials, as well as our compliance documents and procedures. If the GOOGLE DRIVE is unfamiliar to you, I have also created a training video, which you can find pinned in our social page. It is my sincere wish that you excel at your new career path. If there is anything I can do to help you in this manner please feel free to contact me. Best Regards, ME My Direct Sales...
Words: 323 - Pages: 2
...Table of Contents: 1.0. Company Overview: ........................................................................................................ 3 2.0. Industry Overview: .......................................................................................................... 3 3.0. Gap’s current channels strategy’ analysis: ....................................................................... 4 3.1. Gap’s market segmentation: ........................................................................................ 5 3.2. Gap’s Current Channel Chains:................................................................................... 6 3.3. Gap’s Directional Policy Matrix: ................................................................................ 7 4.0. Gap’s future channel chain: ............................................................................................ 9 5.0. Recommendations: .......................................................................................................... 9 6.0. Limitations: ................................................................................................................... 11 7.0. References: .................................................................................................................... 12 8.0. Appendix:...................................................................................................................... 14 ...
Words: 3873 - Pages: 16
...Inditex vs. Gap 1.Brief presentation of the two companies Inditex is a Spanish multinational clothing company,one of the largest fashion retailers, headquartered in Arteixo ,Galicia. The Inditex Group is made up of more than 100 companies operating in textile design, manufacturing and distribution. The companies brands are: Zara,Pull&Bear,Massimo Dutti,Bershka,Stradivarius,Oysho,Zara Home,Uterque. The first Zara shop opened in 1975 in A Coruña, Spain, a city in which the Group first began doing business and which is still home to its headquarters. Its stores can now be found in prime locations in more than 400 cities on five continents. Franchises are only conceded in countries where corporate properties can not be foreign-owned (in some Middle Eastern countries, for example). Most manufacturing is now in low labour cost countries, mainly in Morocco, China, and Turkey, although much production continues in Spain and Portugal, particularly for its Zara brand. In addition, Inditex has a factory for shoe design, production and distribution in the town of Elche, on the Spanish Mediterranean coast. GAP is an American multinational clothing and accessories retailer, headquartered in San Francisco ,California.The GAP is made up about 3,100 company-operated stores and over 300 franchise stores. The companies brands are: Gap,Banana Republic,Old navy,Piperlime,Athleta and INTERMIX. Donald and Doris Fisher opened the first Gap store on Ocean Avenue in San Francisco on August...
Words: 1708 - Pages: 7
...FINANCIAL MARKET: Assignment 3 14 octobre 2013 Alberto de Arriba Meriem Berrada Master of Finance Universidad Carlos III de Madrid Marcos Lain Lianna Petrosyan Scolar Year 2013-2014 1 INTRODUCTION 1 Introduction The main aim of this third assignment is to compare between the evolution of spread and depth using two dierent ways to assemble stocks in portfolios. 1.1 Data We have one month of data concerning 40 rms quoted in stock Exchange per minute. For each stock, for each day, we have a detailed amount of messages, detph for ask and bid and the volume traded. AA ADBE AMAT AMZN BHI BRCM CELG COST CTSH DIS EBAY GE GILD GOOG HON INTC KMB MMM PFE PNC 1.2 Instructions Alcoa Adobe System Applied Material Amazone.com Baker Hughes Inc Broadcom Celgene Costco Wholesale Cognizant Technology Walt Disney Ebay General Electric Gilead Sciences, Inc Google Honeywell International Intel Corp Kimberly-Clark 3M Corp Pzer Pnc Finance AAPL AGN AMGN AXP BIIB CB CMCSA CSCO DELL DOW ESRX GENDZ GLW GPS HPQ ISRB KR MOS PG SWIN Apple Inc Allergan Inc Amgen Inc American Express Co Biogen Idec Inc Chubb Comcast Cisco Dell Dow Chemical Express Scripts Holding Corning inc Gap inc Hewlett-Packard intuitive surgical Kroger Mosaic Corp Procter and Gamble Southwestern Energy Construct 4 equally portfolios with the average of message by stock as criteria. Plot the graphs reprensenting the spread, depths, messages and volume for these portfolios. Construct 4 equally...
Words: 1498 - Pages: 6