BusCom 201 – Section 009 Writing Assignment 2 – Information Request Response Letter Draft Due 6 p.m., Monday, February 24, 2014 (2 copies – 2 copies – 2 copies) Final Due 6 p.m., Monday, March 3, 2014 (1 copy) __________________________________________________________________________ Learning Objectives When completing this assignment, students will be able to  employ the deductive sequence to respond favorably to an information request  adapt the message to the receiver by using the “you attitude”  format a letter Background Keene Enterprises, Inc. (KEI) is a small business employing approximately 250 people. It is headquartered at 2456 Prosperity Lane, Boise, ID 83706. The type of business is as follows:  Team 1: Sporting goods store chain (retail)  Team 2: Accounting firm (office)  Team 3: Commercial construction (building)  Team 4: Restaurant chain (service)  Team 5: Electronics production (manufacturing) You are KEI’s Chief Sustainability Officer (CSO). Jim Meyers is a sophomore at BSU. He has completed most of his required basic courses and is trying to decide on a career. He is particularly interested in the field of sustainability and has contacted you for advice on the following topics:  What does a CSO do?  What kind of education is recommended?  What is the outlook for employment as a CSO?  What salary can a CSO expect to earn? Jim’s address is 850 Bluebonnet Court, Eagle, ID 83616. Assignment Write a letter to Jim responding favorably to his request for information. Research and provide concrete information. Include a subject line. Highlight specific answers to his questions in a bullet list using an articulate, concise writing style. Remember to show sincere interest in Jim and his request and reader benefit. Offer to follow up and make it easy for him to do so. Format Follow the standard letter format handed out in class (also available in Course Documents, Resources folder in Blackboard). Create a professional letterhead for Keene Enterprises, Inc. Remember to sign your letter. Grading Rubric On reverse.

BusCom 201 – Section 009 Writing Assignment 2 – Information Request Response Letter Draft Due 6 p.m., Monday, February 24, 2014 (2 copies – 2 copies – 2 copies) Final Due 6 p.m., Monday, March 3, 2014 (1 copy) __________________________________________________________________________ Learning Objectives When completing this assignment, students will be able to  employ the deductive sequence to respond favorably to an information request  adapt the message to the receiver by using the “you attitude”  format a letter Background Keene Enterprises, Inc. (KEI) is a small business employing approximately 250 people. It is headquartered at 2456 Prosperity Lane, Boise, ID 83706. The type of business is as follows:  Team 1: Sporting goods store chain (retail)  Team 2: Accounting firm (office)  Team 3: Commercial construction (building)  Team 4: Restaurant chain (service)  Team 5: Electronics production (manufacturing) You are KEI’s Chief Sustainability Officer (CSO). Jim Meyers is a sophomore at BSU. He has completed most of his required basic courses and is trying to decide on a career. He is particularly interested in the field of sustainability and has contacted you for advice on the following topics:  What does a CSO do?  What kind of education is recommended?  What is the outlook for employment as a CSO?  What salary can a CSO expect to earn? Jim’s address is 850 Bluebonnet Court, Eagle, ID 83616. Assignment Write a letter to Jim responding favorably to his request for information. Research and provide concrete information. Include a subject line. Highlight specific answers to his questions in a bullet list using an articulate, concise writing style. Remember to show sincere interest in Jim and his request and reader benefit. Offer to follow up and make it easy for him to do so. Format Follow the standard letter format handed out in class (also available in Course Documents, Resources folder in Blackboard). Create a professional letterhead for Keene Enterprises, Inc. Remember to sign your letter. Grading Rubric On reverse.

Keene Enterprises, Inc. 2456 Prosperity Lane Boise, ID 83706 www.keene.enterprises.com … Read More...
Take Home Exam 3: Special Note Before Starting the Exam: If you scan your solutions to the exam and save it as a pdf or image file and put it on dropbox and I can not read it or open it, you will not receive credit for the exam. Furthermore, if you write the solutions up in word, latex ect. and give me a print out, which does not include all the pages you will not get credit for the missing pages. Also if your folder on dropbox is not clearly labeled and I can not find your exam then you will not get credit for the exam. Finally, please make sure you put your name on the exam!! Math 2100 Exam 3, Out of Class, Due by December 8th, 2015 at 5:00 pm. Name: Problem 1. (15 points) A random variable is said to have the (standard) Cauchy distribution if its PDF is given by f (x) = 1 π 1 1+ x2 , −∞< x <∞ This problem uses computer simulations to demonstrate that a) samples from this distribution often have extreme outliers (a consequence of the heavy tails of the distribution), and b) the sample mean is prone to the same type of outliers. Below is a graph of the pdf a) (5 points) The R commands x=rcauchy(500); summary(x) generate a random sample of size 500 from the Cauchy distribution and display the sample’s five number summary; Report the five number summary and the interquartile range, and comment on whether or not the smallest and largest numbers generated from this sample of 500 are outliers. Repeat this 10 times. b) (5 points) The R commands m=matrix(rcauchy(50000), nrow=500); xb=apply(m,1,mean);summary(xb) generate the matrix m that has 500 rows, each of which is a sample of size n=100 from the Cauchy distribution, compute the 500 sample means and store them in xb. and display the five number summary xb. Repeat these commands 10 times, and report the 10 sets of five number summaries. Compare with the 10 sets of five number summaries from part (a), and comment on whether or not the distribution of the averages seems to be more prone to extreme outliers as that of the individual observations. c) (5 points) Why does this happen? (hint: try to calculate E(X) and V(X) for this distribution) and does the LLN and CLT apply for samples from a Cauchy distribution? Hint: E(X) is undefined for this distribution unless you use the Cauchy Principle Value as such for the mean lim a→∞ xf (x)dx −a a∫ In addition x2 1+ x2 dx = x2 +1−1 1+ x2 dx = 1− 1 1+ x2 " # $ % & ' ∫ ∫ ∫ dx 1 1+ x2 dx = tan−1 ∫ x +C Problem 2. (5 points) A marketing expert for a pasta-making company believes that 40% of pasta lovers prefer lasagna. If 9 out of 20 pasta lovers choose lasagna over other pastas, what can be concluded about the expert's claim? Use a 0.05 level of significance. Problem 3. (10 points) A coin is tossed 20 times, resulting in 5 heads. Is this sufficient evidence to reject the hypothesis that the coin is balanced in favor of the alternative that heads occur less than 50% of the time (essentially is this significant evidence to claim that the coin is unbalanced in favor of tails)? Use a 0.05 level of significance. Problem 4. (25 points) Since the chemical benzene may cause cancer, the federal government has set the maximum allowable benzene concentration in the workplace at 1 part per million (1 ppm) Suppose that a steel manufacturing plant is under investigation for possible violations regarding benzene level. The Occupational Safety and Health Administration (OSHA) will analyze 14 air samples over a one-month period. Assume normality of the population from which the samples were drawn. a) (3 points) What is an appropriate null hypothesis for this scenario? (Give this in symbols) b) (3 points) What is an appropriate alternative hypothesis for this scenario? (Give this in symbols) c) (3 points) What kind of hypothesis test is this: left-tailed, right-tailed or two-tailed? Explain how you picked your answer. d) (3 points) Is this a one-sample t-test or a one-sample test using a normal distribution? Explain how you picked your answer. e) (4 points) If the test using this sample of size 14 is to be done at the 1% significance level, calculate the critical value(s) and describe the rejection region(s) for the test statistic. Show your work. f) (5 points) OHSA finds the following for their sample of size 14: a mean benzene level of 1.51 ppm and a standard deviation of 1.415 ppm. What should be concluded at the 1% significance level? Support your answer with calculation(s) and reasoning. g) (4 points) Calculate the p-value for this test and verify that this answer would lead to the same conclusion you made in part f. Problem 5. (15 points) A normally distributed random variable Y possesses a mean of μ = 20 and a standard deviation of σ = 5. A random sample of n = 31 observations is to be selected. Let X be the sample average. (X in this problem is really x _ ) a)(5 points) Describe the sampling distribution of X (i.e. describe the distribution of X and give μx, σx ) b) (5 points) Find the z-score of x = 22 c) (5 points) Find P(X ≥ 22) = Problem 6. (10 points) A restaurants receipts show that the cost of customers' dinners has a distribution with a mean of $54 and a standard deviation of $18. What is the probability that the next 100 customers will spend a total of at least $5800 on dinner? Problem 7. (10 points) The operations manager of a large production plant would like to estimate the mean amount of time a worker takes to assemble a new electronic component. Assume that the standard deviation of this assembly time is 3.6 minutes and is normally distributed. a) (3 points) After observing 120 workers assembling similar devices, the manager noticed that their average time was 16.2 minutes. Construct a 92% confidence interval for the mean assembly time. b) (2 points) How many workers should be involved in this study in order to have the mean assembly time estimated up to ± 15 seconds with 92% confidence? c) (5 points) Construct a 92% confidence interval if instead of observing 120 workers assembling similar devices, rather the manager observes 25 workers and notice their average time was 16.2 minutes with a standard deviation of 4.0 minutes. Problem 8. (10 points): A manufacturer of candy must monitor the temperature at which the candies are baked. Too much variation will cause inconsistency in the taste of the candy. Past records show that the standard deviation of the temperature has been 1.2oF . A random sample of 30 batches of candy is selected, and the sample standard deviation of the temperature is 2.1oF . a. (5 points) At the 0.05 level of significance, is there evidence that the population standard deviation has increased above 1.2oF ? b. (3 points) What assumption do you need to make in order to perform this test? c. (2 points) Compute the p-value in (a) and interpret its meaning.

Take Home Exam 3: Special Note Before Starting the Exam: If you scan your solutions to the exam and save it as a pdf or image file and put it on dropbox and I can not read it or open it, you will not receive credit for the exam. Furthermore, if you write the solutions up in word, latex ect. and give me a print out, which does not include all the pages you will not get credit for the missing pages. Also if your folder on dropbox is not clearly labeled and I can not find your exam then you will not get credit for the exam. Finally, please make sure you put your name on the exam!! Math 2100 Exam 3, Out of Class, Due by December 8th, 2015 at 5:00 pm. Name: Problem 1. (15 points) A random variable is said to have the (standard) Cauchy distribution if its PDF is given by f (x) = 1 π 1 1+ x2 , −∞< x <∞ This problem uses computer simulations to demonstrate that a) samples from this distribution often have extreme outliers (a consequence of the heavy tails of the distribution), and b) the sample mean is prone to the same type of outliers. Below is a graph of the pdf a) (5 points) The R commands x=rcauchy(500); summary(x) generate a random sample of size 500 from the Cauchy distribution and display the sample’s five number summary; Report the five number summary and the interquartile range, and comment on whether or not the smallest and largest numbers generated from this sample of 500 are outliers. Repeat this 10 times. b) (5 points) The R commands m=matrix(rcauchy(50000), nrow=500); xb=apply(m,1,mean);summary(xb) generate the matrix m that has 500 rows, each of which is a sample of size n=100 from the Cauchy distribution, compute the 500 sample means and store them in xb. and display the five number summary xb. Repeat these commands 10 times, and report the 10 sets of five number summaries. Compare with the 10 sets of five number summaries from part (a), and comment on whether or not the distribution of the averages seems to be more prone to extreme outliers as that of the individual observations. c) (5 points) Why does this happen? (hint: try to calculate E(X) and V(X) for this distribution) and does the LLN and CLT apply for samples from a Cauchy distribution? Hint: E(X) is undefined for this distribution unless you use the Cauchy Principle Value as such for the mean lim a→∞ xf (x)dx −a a∫ In addition x2 1+ x2 dx = x2 +1−1 1+ x2 dx = 1− 1 1+ x2 " # $ % & ' ∫ ∫ ∫ dx 1 1+ x2 dx = tan−1 ∫ x +C Problem 2. (5 points) A marketing expert for a pasta-making company believes that 40% of pasta lovers prefer lasagna. If 9 out of 20 pasta lovers choose lasagna over other pastas, what can be concluded about the expert's claim? Use a 0.05 level of significance. Problem 3. (10 points) A coin is tossed 20 times, resulting in 5 heads. Is this sufficient evidence to reject the hypothesis that the coin is balanced in favor of the alternative that heads occur less than 50% of the time (essentially is this significant evidence to claim that the coin is unbalanced in favor of tails)? Use a 0.05 level of significance. Problem 4. (25 points) Since the chemical benzene may cause cancer, the federal government has set the maximum allowable benzene concentration in the workplace at 1 part per million (1 ppm) Suppose that a steel manufacturing plant is under investigation for possible violations regarding benzene level. The Occupational Safety and Health Administration (OSHA) will analyze 14 air samples over a one-month period. Assume normality of the population from which the samples were drawn. a) (3 points) What is an appropriate null hypothesis for this scenario? (Give this in symbols) b) (3 points) What is an appropriate alternative hypothesis for this scenario? (Give this in symbols) c) (3 points) What kind of hypothesis test is this: left-tailed, right-tailed or two-tailed? Explain how you picked your answer. d) (3 points) Is this a one-sample t-test or a one-sample test using a normal distribution? Explain how you picked your answer. e) (4 points) If the test using this sample of size 14 is to be done at the 1% significance level, calculate the critical value(s) and describe the rejection region(s) for the test statistic. Show your work. f) (5 points) OHSA finds the following for their sample of size 14: a mean benzene level of 1.51 ppm and a standard deviation of 1.415 ppm. What should be concluded at the 1% significance level? Support your answer with calculation(s) and reasoning. g) (4 points) Calculate the p-value for this test and verify that this answer would lead to the same conclusion you made in part f. Problem 5. (15 points) A normally distributed random variable Y possesses a mean of μ = 20 and a standard deviation of σ = 5. A random sample of n = 31 observations is to be selected. Let X be the sample average. (X in this problem is really x _ ) a)(5 points) Describe the sampling distribution of X (i.e. describe the distribution of X and give μx, σx ) b) (5 points) Find the z-score of x = 22 c) (5 points) Find P(X ≥ 22) = Problem 6. (10 points) A restaurants receipts show that the cost of customers' dinners has a distribution with a mean of $54 and a standard deviation of $18. What is the probability that the next 100 customers will spend a total of at least $5800 on dinner? Problem 7. (10 points) The operations manager of a large production plant would like to estimate the mean amount of time a worker takes to assemble a new electronic component. Assume that the standard deviation of this assembly time is 3.6 minutes and is normally distributed. a) (3 points) After observing 120 workers assembling similar devices, the manager noticed that their average time was 16.2 minutes. Construct a 92% confidence interval for the mean assembly time. b) (2 points) How many workers should be involved in this study in order to have the mean assembly time estimated up to ± 15 seconds with 92% confidence? c) (5 points) Construct a 92% confidence interval if instead of observing 120 workers assembling similar devices, rather the manager observes 25 workers and notice their average time was 16.2 minutes with a standard deviation of 4.0 minutes. Problem 8. (10 points): A manufacturer of candy must monitor the temperature at which the candies are baked. Too much variation will cause inconsistency in the taste of the candy. Past records show that the standard deviation of the temperature has been 1.2oF . A random sample of 30 batches of candy is selected, and the sample standard deviation of the temperature is 2.1oF . a. (5 points) At the 0.05 level of significance, is there evidence that the population standard deviation has increased above 1.2oF ? b. (3 points) What assumption do you need to make in order to perform this test? c. (2 points) Compute the p-value in (a) and interpret its meaning.

No expert has answered this question yet. You can browse … Read More...
1 IN2009: Language Processors Coursework Part 3: The Interpreter Introduction This is the 3rd and final part of the coursework. In the second part of the coursework you created a parser for the Moopl grammar which, given a syntactically correct Moopl program as input, builds an AST representation of the program. In Part 3 you will develop an interpreter which executes Moopl programs by visiting their AST representations. For this part of the coursework we provide functional code (with limitations, see below) for parsing, building a symbol table, type checking and variable allocation. Marks This part of the coursework is worth 12 of the 30 coursework marks for the Language Processors module. This part of the coursework is marked out of 12. Submission deadline This part of the coursework should be handed in before 5pm on Sunday 9th April 2017. In line with school policy, late submissions will be awarded no marks. Return & Feedback Marks and feedback will be available as soon as possible, certainly on or before Wed 3rd May 2017. Plagiarism If you copy the work of others (either that of fellow students or of a third party), with or without their permission, you will score no marks and further disciplinary action will be taken against you. Group working You will be working in the same groups as for the previous parts of the coursework except where group changes have already been approved. Submission: Submit a zip archive (not a rar file) of all your source code (the src folder of your project). We do not want the other parts of your NetBeans project, only the source code. Note 1: Submissions which do not compile will get zero marks. Note 2: You must not change the names or types of any of the existing packages, classes or public methods. 2 Getting started Download either moopl-interp.zip or moopl-interp.tgz from Moodle and extract all files. Key contents to be aware of: • A fully implemented Moopl parser (also implements a parser for the interpreter command language; see below). • A partially implemented Moopl type checker. • Test harnesses for the type checker and interpreter. • A directory of a few example Moopl programs (see Testing below). • Folder interp containing prototype interpreter code. The type-checker is only partially implemented but a more complete implementation will be provided following Session 6. That version is still not fully complete because it doesn’t support inheritance. Part d) below asks you to remove this restriction. The VarAllocator visitor in the interp package uses a simple implementation which only works for methods in which all parameter and local variable names are different. Part e) below asks you to remove this restriction. The three parts below should be attempted in sequence. When you have completed one part you should make a back-up copy of the work and keep it safe, in case you break it in your attempt at the next part. Be sure to test old functionality as well as new (regression testing). We will not assess multiple versions so, if your attempt at part d) or e) breaks previously working code, you may gain a better mark by submitting the earlier version for assessment. c) [8 marks] The Basic Interpreter: complete the implementation of the Interpreter visitor in the interp package. d) [2 marks] Inheritance: extend the type-checker, variable allocator and interpreter to support inheritance. e) [2 marks] Variable Allocation: extend the variable allocator to fully support blockstructure and lexical scoping, removing the requirement that all parameter and local variable names are different. Aim to minimise the number of local variable slots allocated in a stack frame. Note: variable and parameter names declared at the same scope level are still required to be different from each other (a method cannot have two different parameters called x, for example) and this is enforced by the existing typechecking code. But variables declared in different blocks (even when nested) can have the same name. Exceptions Your interpreter will only ever be run on Moopl code which is type-correct (and free from uninitialised local variables). But it is still possible that the Moopl code contains logical errors which may cause runtime errors (such as null-reference or array-bound errors). Your interpreter should throw a MooplRunTimeException with an appropriate error message in these cases. The only kind of exception your interpreter should ever throw is a MooplRunTimeException. 3 Testing The examples folder does not contain a comprehensive test-suite. You need to invent and run your own tests. The document Moopl compared with Java gives a concise summary of how Moopl programs are supposed to behave. You can (and should) also compare the behaviour of your interpreter with that of the online tool: https://smcse.city.ac.uk/student/sj353/langproc/Moopl.html (Note: the online tool checks for uninitialised local variables. Your implementation is not expected to do this.) To test your work, run the top-level Interpret harness, providing the name of a Moopl source file as a command-line argument. When run on a type-correct Moopl source file, Interpret will pretty-print the Moopl program then display a command prompt (>) at which you can enter one of the following commands: :quit This will quit the interpreter. :call main() This will call the top-level proc main, interpreted in the context defined by the Moopl program. (Any top-level proc can be called this way). :eval Exp ; This will evaluate expression Exp, interpreted in the context defined by the Moopl program, and print the result. Note the required terminating semi-colon. Testing your Expression visitors To unit-test your Exp visit methods, run the top-level Interpret harness on a complete Moopl program (though it can be trivial) and use the :eval command. For example, to test your visit methods for the Boolean-literals (ExpTrue and ExpFalse), you would enter the commands > :eval true ; > :eval false ; which should output 1 and 0, respectively. For the most basic cases, the Moopl program is essentially irrelevant (a single top-level proc with empty body may be sufficient). For other cases you will need to write programs containing class definitions (in order, for example, to test object creation and method call). Testing your Statement visitors To unit-test your Stm visit methods, write very simple Moopl programs, each with a top-level proc main() containing just a few lines of code. Run the top-level Interpret harness on these simple programs and enter the command > :call main() You will find a few examples to get you started in the folder examples/unittests. As for the Exp tests, simple cases can be tested using Moopl programs with just a main proc but for the more complex tests you will need to write Moopl programs containing class definitions. 4 Grading criteria Solutions will be graded according to their functional correctness, and the elegance of their implementation. Below are criteria that guide the award of marks. 70 – 100 [1st class] Work that meets all the requirements in full, constructed and presented to a professional standard. Showing evidence of independent reading, thinking and analysis. 60 – 69 [2:1] Work that makes a good attempt to address the requirements, realising all to some extent and most well. Well-structured and well presented. 50 – 59 [2:2] Work that attempts to address requirements realising all to some extent and some well but perhaps also including irrelevant or underdeveloped material. Structure and presentation may not always be clear. 40 – 49 [3rd class] Work that attempts to address the requirements but only realises them to some extent and may not include important elements or be completely accurate. Structure and presentation may lack clarity. 0 – 39 [fail] Unsatisfactory work that does not adequately address the requirements. Structure and presentation may be confused or incoherent.

1 IN2009: Language Processors Coursework Part 3: The Interpreter Introduction This is the 3rd and final part of the coursework. In the second part of the coursework you created a parser for the Moopl grammar which, given a syntactically correct Moopl program as input, builds an AST representation of the program. In Part 3 you will develop an interpreter which executes Moopl programs by visiting their AST representations. For this part of the coursework we provide functional code (with limitations, see below) for parsing, building a symbol table, type checking and variable allocation. Marks This part of the coursework is worth 12 of the 30 coursework marks for the Language Processors module. This part of the coursework is marked out of 12. Submission deadline This part of the coursework should be handed in before 5pm on Sunday 9th April 2017. In line with school policy, late submissions will be awarded no marks. Return & Feedback Marks and feedback will be available as soon as possible, certainly on or before Wed 3rd May 2017. Plagiarism If you copy the work of others (either that of fellow students or of a third party), with or without their permission, you will score no marks and further disciplinary action will be taken against you. Group working You will be working in the same groups as for the previous parts of the coursework except where group changes have already been approved. Submission: Submit a zip archive (not a rar file) of all your source code (the src folder of your project). We do not want the other parts of your NetBeans project, only the source code. Note 1: Submissions which do not compile will get zero marks. Note 2: You must not change the names or types of any of the existing packages, classes or public methods. 2 Getting started Download either moopl-interp.zip or moopl-interp.tgz from Moodle and extract all files. Key contents to be aware of: • A fully implemented Moopl parser (also implements a parser for the interpreter command language; see below). • A partially implemented Moopl type checker. • Test harnesses for the type checker and interpreter. • A directory of a few example Moopl programs (see Testing below). • Folder interp containing prototype interpreter code. The type-checker is only partially implemented but a more complete implementation will be provided following Session 6. That version is still not fully complete because it doesn’t support inheritance. Part d) below asks you to remove this restriction. The VarAllocator visitor in the interp package uses a simple implementation which only works for methods in which all parameter and local variable names are different. Part e) below asks you to remove this restriction. The three parts below should be attempted in sequence. When you have completed one part you should make a back-up copy of the work and keep it safe, in case you break it in your attempt at the next part. Be sure to test old functionality as well as new (regression testing). We will not assess multiple versions so, if your attempt at part d) or e) breaks previously working code, you may gain a better mark by submitting the earlier version for assessment. c) [8 marks] The Basic Interpreter: complete the implementation of the Interpreter visitor in the interp package. d) [2 marks] Inheritance: extend the type-checker, variable allocator and interpreter to support inheritance. e) [2 marks] Variable Allocation: extend the variable allocator to fully support blockstructure and lexical scoping, removing the requirement that all parameter and local variable names are different. Aim to minimise the number of local variable slots allocated in a stack frame. Note: variable and parameter names declared at the same scope level are still required to be different from each other (a method cannot have two different parameters called x, for example) and this is enforced by the existing typechecking code. But variables declared in different blocks (even when nested) can have the same name. Exceptions Your interpreter will only ever be run on Moopl code which is type-correct (and free from uninitialised local variables). But it is still possible that the Moopl code contains logical errors which may cause runtime errors (such as null-reference or array-bound errors). Your interpreter should throw a MooplRunTimeException with an appropriate error message in these cases. The only kind of exception your interpreter should ever throw is a MooplRunTimeException. 3 Testing The examples folder does not contain a comprehensive test-suite. You need to invent and run your own tests. The document Moopl compared with Java gives a concise summary of how Moopl programs are supposed to behave. You can (and should) also compare the behaviour of your interpreter with that of the online tool: https://smcse.city.ac.uk/student/sj353/langproc/Moopl.html (Note: the online tool checks for uninitialised local variables. Your implementation is not expected to do this.) To test your work, run the top-level Interpret harness, providing the name of a Moopl source file as a command-line argument. When run on a type-correct Moopl source file, Interpret will pretty-print the Moopl program then display a command prompt (>) at which you can enter one of the following commands: :quit This will quit the interpreter. :call main() This will call the top-level proc main, interpreted in the context defined by the Moopl program. (Any top-level proc can be called this way). :eval Exp ; This will evaluate expression Exp, interpreted in the context defined by the Moopl program, and print the result. Note the required terminating semi-colon. Testing your Expression visitors To unit-test your Exp visit methods, run the top-level Interpret harness on a complete Moopl program (though it can be trivial) and use the :eval command. For example, to test your visit methods for the Boolean-literals (ExpTrue and ExpFalse), you would enter the commands > :eval true ; > :eval false ; which should output 1 and 0, respectively. For the most basic cases, the Moopl program is essentially irrelevant (a single top-level proc with empty body may be sufficient). For other cases you will need to write programs containing class definitions (in order, for example, to test object creation and method call). Testing your Statement visitors To unit-test your Stm visit methods, write very simple Moopl programs, each with a top-level proc main() containing just a few lines of code. Run the top-level Interpret harness on these simple programs and enter the command > :call main() You will find a few examples to get you started in the folder examples/unittests. As for the Exp tests, simple cases can be tested using Moopl programs with just a main proc but for the more complex tests you will need to write Moopl programs containing class definitions. 4 Grading criteria Solutions will be graded according to their functional correctness, and the elegance of their implementation. Below are criteria that guide the award of marks. 70 – 100 [1st class] Work that meets all the requirements in full, constructed and presented to a professional standard. Showing evidence of independent reading, thinking and analysis. 60 – 69 [2:1] Work that makes a good attempt to address the requirements, realising all to some extent and most well. Well-structured and well presented. 50 – 59 [2:2] Work that attempts to address requirements realising all to some extent and some well but perhaps also including irrelevant or underdeveloped material. Structure and presentation may not always be clear. 40 – 49 [3rd class] Work that attempts to address the requirements but only realises them to some extent and may not include important elements or be completely accurate. Structure and presentation may lack clarity. 0 – 39 [fail] Unsatisfactory work that does not adequately address the requirements. Structure and presentation may be confused or incoherent.

checkyourstudy.com Whatsapp +919911743277
Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 Assignment 4 – Noise and Correlation 1. If a signal is measured as 2.5 V and the noise is 28 mV (28 × 10−3 V), what is the SNR in dB? 2. A single sinusoidal signal is found with some noise. If the RMS value of the noise is 0.5 V and the SNR is 10 dB, what is the RMS amplitude of the sinusoid? 3. The file signal_noise.mat contains a variable x that consists of a 1.0-V peak sinusoidal signal buried in noise. What is the SNR for this signal and noise? Assume that the noise RMS is much greater than the signal RMS. Note: “signal_noise.mat” and other files used in these assignments can be downloaded from the content area of Brightspace, within the “Data Files for Exercises” folder. These files can be opened in Matlab by copying into the active folder and double-clicking on the file or using the Matlab load command using the format: load(‘signal_noise.mat’). To discover the variables within the files use the Matlab who command. 4. An 8-bit ADC converter that has an input range of ±5 V is used to convert a signal that ranges between ±2 V. What is the SNR of the input if the input noise equals the quantization noise of the converter? Hint: Refer to Equation below to find the quantization noise: 5. The file filter1.mat contains the spectrum of a fourth-order lowpass filter as variable x in dB. The file also contains the corresponding frequencies of x in variable freq. Plot the spectrum of this filter both as dB versus log frequency and as linear amplitude versus linear frequency. The frequency axis should range between 10 and 400 Hz in both plots. Hint: Use Equation below to convert: Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 6. Generate one cycle of the square wave similar to the one shown below in a 500-point MATLAB array. Determine the RMS value of this waveform. [Hint: When you take the square of the data array, be sure to use a period before the up arrow so that MATLAB does the squaring point-by-point (i.e., x.^2).]. 7. A resistor produces 10 μV noise (i.e., 10 × 10−6 V noise) when the room temperature is 310 K and the bandwidth is 1 kHz (i.e., 1000 Hz). What current noise would be produced by this resistor? 8. A 3-ma current flows through both a diode (i.e., a semiconductor) and a 20,000-Ω (i.e., 20-kΩ) resistor. What is the net current noise, in? Assume a bandwidth of 1 kHz (i.e., 1 × 103 Hz). Which of the two components is responsible for producing the most noise? 9. Determine if the two signals, x and y, in file correl1.mat are correlated by checking the angle between them. 10. Modify the approach used in Practice Problem 3 to find the angle between short signals: Do not attempt to plot these vectors as it would require a 6-dimensional plot!

Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 Assignment 4 – Noise and Correlation 1. If a signal is measured as 2.5 V and the noise is 28 mV (28 × 10−3 V), what is the SNR in dB? 2. A single sinusoidal signal is found with some noise. If the RMS value of the noise is 0.5 V and the SNR is 10 dB, what is the RMS amplitude of the sinusoid? 3. The file signal_noise.mat contains a variable x that consists of a 1.0-V peak sinusoidal signal buried in noise. What is the SNR for this signal and noise? Assume that the noise RMS is much greater than the signal RMS. Note: “signal_noise.mat” and other files used in these assignments can be downloaded from the content area of Brightspace, within the “Data Files for Exercises” folder. These files can be opened in Matlab by copying into the active folder and double-clicking on the file or using the Matlab load command using the format: load(‘signal_noise.mat’). To discover the variables within the files use the Matlab who command. 4. An 8-bit ADC converter that has an input range of ±5 V is used to convert a signal that ranges between ±2 V. What is the SNR of the input if the input noise equals the quantization noise of the converter? Hint: Refer to Equation below to find the quantization noise: 5. The file filter1.mat contains the spectrum of a fourth-order lowpass filter as variable x in dB. The file also contains the corresponding frequencies of x in variable freq. Plot the spectrum of this filter both as dB versus log frequency and as linear amplitude versus linear frequency. The frequency axis should range between 10 and 400 Hz in both plots. Hint: Use Equation below to convert: Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 6. Generate one cycle of the square wave similar to the one shown below in a 500-point MATLAB array. Determine the RMS value of this waveform. [Hint: When you take the square of the data array, be sure to use a period before the up arrow so that MATLAB does the squaring point-by-point (i.e., x.^2).]. 7. A resistor produces 10 μV noise (i.e., 10 × 10−6 V noise) when the room temperature is 310 K and the bandwidth is 1 kHz (i.e., 1000 Hz). What current noise would be produced by this resistor? 8. A 3-ma current flows through both a diode (i.e., a semiconductor) and a 20,000-Ω (i.e., 20-kΩ) resistor. What is the net current noise, in? Assume a bandwidth of 1 kHz (i.e., 1 × 103 Hz). Which of the two components is responsible for producing the most noise? 9. Determine if the two signals, x and y, in file correl1.mat are correlated by checking the angle between them. 10. Modify the approach used in Practice Problem 3 to find the angle between short signals: Do not attempt to plot these vectors as it would require a 6-dimensional plot!

Whatsapp +919911743277  
Individual case study Due date: 1:00pm AEST, Thursday, Week 11 All students are to submit electronically – max file size is 2Mb. ASSESSMENT Weighting: 35% Length: No set length 2 I…Assignment 2 SPECIFICATIONS CIS8011_Digital Innovation Assignment 2 (30%) (1500 words maximum) This assignment continues from the first assignment and your task is to write a report on the following a…1 CSE2DES/CSE5DES – Assignment 1 Due Date: 10 am Monday 22nd September 2014 Assessment: This assignment 1 is worth 15% of the final mark for CSE2DES/CSE5DES. This is an individual assignment. Copying,…All questions are from the textbook: Fatseas, Victor & Williams, John, Cost Management (2013) 3rd edition, McGraw HillMLC 703: PRINCIPLES OF INCOME TAX LAW INSTRUCTIONS Please note that the following will not form part of the word count: ? References, including statute and cases; ? Diagrams; ? Tables; ? Calculations….WRITTEN ESSAY Outline This assessment has been written to develop your understanding of Human Resource Management, assessing learning outcomes a, b, c, h and i: “The external environmental (e.g. econo…Subject: INTERNATIONAL MARKETING B01ITMK208 Assessment item 2: International Marketing Analysis Weighting: 30% Due: Week 10. A daily penalty of 5% will be applied to late assignments. Task: You are a …B01ITMK208 INTERNATIONAL MANAGEMENT ASSIGNMENT INSTRUCTIONS KEY INFORMATION Maximum Length: 2500 words Due: Week 8. Note that late submission will attract a penalty. Weighting: 30% Instructions: Read …Subject: Advertising Management BO1ADMG207 Assessment item 2: IMC Report Weighting: 30% Due: Week 8. A daily penalty of 5% will be applied to late assignments. Task: You are the Australian-based Marke…Attached are two Memos, please have a lookgetEconomics topic Assignment 2 Value: 40% Due date: 01-Sep-2014 Return date: 22-Sep-2014 Length: about 1500-2000 words each Submission method options Alternative submission method Task Analytical essays…Accounting for Business Decisions –HI5001 Trimester 2 2014 The assignment allows students to exhibit their knowledge and understanding of the subject matter of Accounting. The students will use the sk…HOLMES INSTITUTE FACULTY OF HIGHER EDUCATION HI6007 SPSS Assignment 02 Due Friday 4pm week 11 WORTH 30% The data set you need to do the assignment can be found on Blackboard in the folder “Assignments…Assignmnet of Economic Assignment (Written report): 25% 1. Organize yourselves into groups. Each group is to have Four or Five members. 2. Groups need to choose a topic from the list of topics provide…2. Rio Tinto Annual Report Financial Analysis [10 marks] Consider the sources below and answer the following questions. Source 1: Rio Tinto Annual Report 2012 (see report uploaded on the portal) Sourc…Quantitative Methods for Business Business Statistics Assignment – Semester, 2 2014 Total Marks: 60, Worth: 20% of final assessment This assignment requires a considerable amount of computer work and …BUACC 2613 Management Accounting 1 Semester 2, 2014 Assignment Contribution to overall assessment: 25% Due date: 26/09/2014 • This assignment has two parts: o Part 1

Individual case study Due date: 1:00pm AEST, Thursday, Week 11 All students are to submit electronically – max file size is 2Mb. ASSESSMENT Weighting: 35% Length: No set length 2 I…Assignment 2 SPECIFICATIONS CIS8011_Digital Innovation Assignment 2 (30%) (1500 words maximum) This assignment continues from the first assignment and your task is to write a report on the following a…1 CSE2DES/CSE5DES – Assignment 1 Due Date: 10 am Monday 22nd September 2014 Assessment: This assignment 1 is worth 15% of the final mark for CSE2DES/CSE5DES. This is an individual assignment. Copying,…All questions are from the textbook: Fatseas, Victor & Williams, John, Cost Management (2013) 3rd edition, McGraw HillMLC 703: PRINCIPLES OF INCOME TAX LAW INSTRUCTIONS Please note that the following will not form part of the word count: ? References, including statute and cases; ? Diagrams; ? Tables; ? Calculations….WRITTEN ESSAY Outline This assessment has been written to develop your understanding of Human Resource Management, assessing learning outcomes a, b, c, h and i: “The external environmental (e.g. econo…Subject: INTERNATIONAL MARKETING B01ITMK208 Assessment item 2: International Marketing Analysis Weighting: 30% Due: Week 10. A daily penalty of 5% will be applied to late assignments. Task: You are a …B01ITMK208 INTERNATIONAL MANAGEMENT ASSIGNMENT INSTRUCTIONS KEY INFORMATION Maximum Length: 2500 words Due: Week 8. Note that late submission will attract a penalty. Weighting: 30% Instructions: Read …Subject: Advertising Management BO1ADMG207 Assessment item 2: IMC Report Weighting: 30% Due: Week 8. A daily penalty of 5% will be applied to late assignments. Task: You are the Australian-based Marke…Attached are two Memos, please have a lookgetEconomics topic Assignment 2 Value: 40% Due date: 01-Sep-2014 Return date: 22-Sep-2014 Length: about 1500-2000 words each Submission method options Alternative submission method Task Analytical essays…Accounting for Business Decisions –HI5001 Trimester 2 2014 The assignment allows students to exhibit their knowledge and understanding of the subject matter of Accounting. The students will use the sk…HOLMES INSTITUTE FACULTY OF HIGHER EDUCATION HI6007 SPSS Assignment 02 Due Friday 4pm week 11 WORTH 30% The data set you need to do the assignment can be found on Blackboard in the folder “Assignments…Assignmnet of Economic Assignment (Written report): 25% 1. Organize yourselves into groups. Each group is to have Four or Five members. 2. Groups need to choose a topic from the list of topics provide…2. Rio Tinto Annual Report Financial Analysis [10 marks] Consider the sources below and answer the following questions. Source 1: Rio Tinto Annual Report 2012 (see report uploaded on the portal) Sourc…Quantitative Methods for Business Business Statistics Assignment – Semester, 2 2014 Total Marks: 60, Worth: 20% of final assessment This assignment requires a considerable amount of computer work and …BUACC 2613 Management Accounting 1 Semester 2, 2014 Assignment Contribution to overall assessment: 25% Due date: 26/09/2014 • This assignment has two parts: o Part 1

info@checkyourstudy.com