a. For the following C++ code: int LimSquare (x) int y; { } Compiler Construction /*...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a. For the following C++ code: int LimSquare (x) int y; { } Compiler Construction /* returns y squared, but never more than 100 */ return (y = 10) ? 100: y*y; 1. List all lexemes and tokens 2. List all tokens that will have entries in the Symbol Table b. Complete the following grammar written for deceleration statements in C programming language, only for VarDeclare, so it can derive similar strings like the following input (Note: x can be any valid identifier): float x; 1. prog 2. stmts 3. stmt stmts stmt; | stmts stmt; | { stmts} DeclareStmts 4. DeclareStmts VarDeclare | FunDeclare Scenario: "Sarooj Construction company, Ghala" is a construction company involved in the construction of various projects such as construction of residential, residential-commercial complexes, industrial buildings, Airport & Roads etc in Oman. You are the Project Manager in this Company for decade. Your Company has been awarded the following project: Project title Location Built-up Area Duration of project Ghala 1500m 28 months Construction of a Factory building The project site has been levelled and necessary earthworks completed for the construction to begin. The project will broadly entail the following construction works: 1. Structural and civil works (Cost of construction is RO 270 per m) 2. MEP (Mechanical, Electrical, Plumbing) 3. External Finishes 4. Roads, car parking and landscaping Task 1 Report (100 Marks) As the Project Manager, you will need to carry out the following tasks: a) Using MS Project, prepare the project schedule assuming start date for the project as 16th October, 2021. b) Prepare a list of risks that you anticipate at various stages of the project. Outline how these risks could affect the project schedule and project budget. Also suggest the necessary control measures that can be taken in advance such that the project is not unduly affected/ or delayed. c) Compile the above information into a report not exceeding 3000 words including the project schedule using MS Project. a. For the following C++ code: int LimSquare (x) int y; { } Compiler Construction /* returns y squared, but never more than 100 */ return (y = 10) ? 100: y*y; 1. List all lexemes and tokens 2. List all tokens that will have entries in the Symbol Table b. Complete the following grammar written for deceleration statements in C programming language, only for VarDeclare, so it can derive similar strings like the following input (Note: x can be any valid identifier): float x; 1. prog 2. stmts 3. stmt stmts stmt; | stmts stmt; | { stmts} DeclareStmts 4. DeclareStmts VarDeclare | FunDeclare a. For the following C++ code: int LimSquare (x) int y; { } Compiler Construction /* returns y squared, but never more than 100 */ return (y = 10) ? 100: y*y; 1. List all lexemes and tokens 2. List all tokens that will have entries in the Symbol Table b. Complete the following grammar written for deceleration statements in C programming language, only for VarDeclare, so it can derive similar strings like the following input (Note: x can be any valid identifier): float x; 1. prog 2. stmts 3. stmt stmts stmt; | stmts stmt; | { stmts} DeclareStmts 4. DeclareStmts VarDeclare | FunDeclare Scenario: "Sarooj Construction company, Ghala" is a construction company involved in the construction of various projects such as construction of residential, residential-commercial complexes, industrial buildings, Airport & Roads etc in Oman. You are the Project Manager in this Company for decade. Your Company has been awarded the following project: Project title Location Built-up Area Duration of project Ghala 1500m 28 months Construction of a Factory building The project site has been levelled and necessary earthworks completed for the construction to begin. The project will broadly entail the following construction works: 1. Structural and civil works (Cost of construction is RO 270 per m) 2. MEP (Mechanical, Electrical, Plumbing) 3. External Finishes 4. Roads, car parking and landscaping Task 1 Report (100 Marks) As the Project Manager, you will need to carry out the following tasks: a) Using MS Project, prepare the project schedule assuming start date for the project as 16th October, 2021. b) Prepare a list of risks that you anticipate at various stages of the project. Outline how these risks could affect the project schedule and project budget. Also suggest the necessary control measures that can be taken in advance such that the project is not unduly affected/ or delayed. c) Compile the above information into a report not exceeding 3000 words including the project schedule using MS Project. Scenario: "Sarooj Construction company, Ghala" is a construction company involved in the construction of various projects such as construction of residential, residential-commercial complexes, industrial buildings, Airport & Roads etc in Oman. You are the Project Manager in this Company for decade. Your Company has been awarded the following project: Project title Location Built-up Area Duration of project Ghala 1500m 28 months Construction of a Factory building The project site has been levelled and necessary earthworks completed for the construction to begin. The project will broadly entail the following construction works: 1. Structural and civil works (Cost of construction is RO 270 per m) 2. MEP (Mechanical, Electrical, Plumbing) 3. External Finishes 4. Roads, car parking and landscaping Task 1 Report (100 Marks) As the Project Manager, you will need to carry out the following tasks: a) Using MS Project, prepare the project schedule assuming start date for the project as 16th October, 2021. b) Prepare a list of risks that you anticipate at various stages of the project. Outline how these risks could affect the project schedule and project budget. Also suggest the necessary control measures that can be taken in advance such that the project is not unduly affected/ or delayed. c) Compile the above information into a report not exceeding 3000 words including the project schedule using MS Project.
Expert Answer:
Related Book For
Intro To College Math Basic Arithmetic Geometry Algebra Probability And Stats
ISBN: 9781097384310
1st Edition
Authors: Nathan Frey
Posted Date:
Students also viewed these programming questions
-
Sample Problem 2. Total Carrying Cost In 2018, Fit It Company incurred a total of P800,000 for inventory carrying cost with an average inventory of 200,000 units. What would be the carrying cost in...
-
Submit a 1500-word hypothetical grant application for Healthy Communities Program Funding using a Grant Application form (Appendix 1) for up to $10000 to create a healthy and more active Western...
-
SECTION B ESSAY QUESTIONS (Total = 50 MARKS) This section contains 3 questions. Answer TWO questions ONLY. You are Jane Smith, Marketing and Sales Director of MedTech, the globalpharmaceutical...
-
The fieldwork for the 30 June 20X0 audit of Tracy Brewing Company Ltd was finished on 19 August 20X0 and the completed financial statements, accompanied by the signed audit reports, were mailed on 6...
-
Let A be an m n matrix with ker A = (0). Suppose that we use the Gram-Schmidt algorithm to factor A = Q R as in Exercise 5.3.33. Prove that the least squares solution to the linear system Ax = b is...
-
As a foreign exchange trader for Commonwealth Bank of Australia (CBA), you see the following information: One-year Mexican peso (MXN) interest rate One-year New Zealand dollar (NZD) interest rate...
-
KPMG described four anchors of trusted analytics in a report titled "Building Trust in Analytics: Breaking the Cycle of Mistrust in D\&A," accessed at https://home. \(\mathrm{kpmg} /\)...
-
Review the February 26 and March 25 transactions for Success Systems (SP 5) from Chapter 5. Required 1. Assume that Lyn Addie is an unmarried employee. Her $ 1,000 of wages are subject to no...
-
Discuss the stages in the negotiation process and how culturally-based value systems influence these stages. Specifically, explain the role and relative importance of relationship building in...
-
If the equality (x - 2x + 6) = ax + 5x+...+ ax + ao always holds regardless the value of x, what is ao + a + a + a6?
-
A CAT scan of a human pancreas shows cross-sections spaced 1 cm apart. The pancreas is 12 cm long and the cross-sectional areas, in square centimeters, are 7.5, 15.0, 18.0, 10.3, 11.0, 9.7, 8.9, 7.7,...
-
What is wrong with the following program? (10) #include namespace std; int main() { } cout
-
48) Jamal, Kareem, Rashid and Associates are in the process of evaluating its new client services for the business consulting division. . . Estate Planning, a new service, incurred $190,000 in...
-
An analytical chemist obtains a sample of a novel organic acid and is asked to confirm its molecular weight. The mass spectrometer in the lab is out of order, so they opt to perform a back titration....
-
A , B , and C plan to liquidate their Ocean Breeze Pool and Spa business. They have always shared profit and losses in a ratio of 1 : 4 : 5 ratio, and on the day of liquidation their balance sheet...
-
For gift tax purposes, upon the creation of a grantor retained interest trust, the interest retained by the grantor must be a qualified interest. A qualified interest reduces the value of the taxable...
-
Banner Company acquires an 80% interest in Roller Company for $640,000 cash on January 1, 2013. The NCI has a fair value of $160,000. Any excess of cost over book value is attributed to goodwill. To...
-
Solve each equation. 8(3x + 8) = 232
-
What is the probability of getting exactly 2 tails flipping a coin three times?
-
Solve each inequality and graph its solution. 16 -v + 7 81 28
-
A cost sheet and partial finished goods ledger card for Leather Originals, a manufacturer of leather furniture, are provided in the Working Papers. 1. Complete the cost sheet for Job No. 657 by...
-
Williams-Sonoma, Inc., is a specialty retailer of products for the home. The retail segment of the companys business sells products through its retail concepts: Williams-Sonoma, Pottery Barn, Pottery...
-
An analysis sheet for Gutmans Gutters, a firm that manufactures aluminum and steel gutters, is included in the Working Papers. Your instructor will guide you through the following examples. 1. For...
Study smarter with the SolutionInn App