This assignment is about your project Mazer: Vision and Scope The due date: Thursday, September 8, 2022 at 1.00PM. Here are the details for the initial implementation of your project Mazer (Math Analyzer for mazers). At this stage, think about how you will implement it. We will discuss your ideas next week in class. 1. The Mazer is command line, as discussed in class. 2. Alphabet consists of: 0−9,+,−(,),space,tab. 3. Valid forms: integers - int (can be signed - single, parenthesized - multiple) 4. White space is ignored, except between a+/− and int 5. Accept an input and indicate "Valid" "Invalid". 6. Repeat until the user enters 0. 7. + - must be followed by an int or something that evaluates to int. A + or - cannot follow a+ or −. 8. Any other forms of mazer are invalid. Example of valid mazers: 123,+1 1

,(1) etc. Examples of invalid mazers: 1+,++, (1 etc. Please implement the Mazer requirements in a language of your choice. As discussed in class, you must not use an evaluator, but read input chracter by character. Submit requirements, commented code, sample outputs, and test suites. Due: October 6,2022 by class time.

Answers

Answer 1

Project Mazer: Vision and   project Mazer stands for Math Analyzer for mazers.

 The objective is to develop a command-line tool for analyzing mathematical expressions using the specified characters in the alphabet.

The implementation of the project Mazer must satisfy the following requirements:

The tool should be command-line based.

Alphabet consists of: 0−9,+,−(,), space,tab.

Acceptable forms:

integers - int (can be signed - single, parenthesized - multiple)

White space is ignored,

except between a+/− and int.

Accepts an input and indicates whether it's "Valid" or "Invalid".

Repeat until the user enters 0. + - must be followed by an int or something that evaluates to int.

A + or - cannot follow a+ or −. Any other forms of mazer are invalid.

The implementation must be in a language of your choice. You must not use an evaluator but read input character by character. Sample outputs, commented code, and test suites must be submitted.

The submission deadline is Thursday, October 6, 2022, by class time.

As you proceed with implementing the project Mazer, consider the objectives, requirements, and constraints of the project. You can also leverage feedback from class discussions to help you make better decisions about the design, implementation, and testing of the project.

To know more about Vision visit:

https://brainly.com/question/31991195

#SPJ11


Related Questions

Calculate the storage size of image ( uncompressing ) in Gbyte for each True Color image, Note that the dimensions of image 512 X3 512

Answers

According to the information we can infer that the storage size of an uncompressed True Color image with dimensions 512x512 pixels is approximately 3 gigabytes (Gbyte).

What is the storage size of the image?

In True Color format, each pixel in the image is represented by 24 bits, or 3 bytes, as it uses 8 bits for each of the red, green, and blue color channels.

To calculate the storage size of the image, we multiply the number of pixels by the size of each pixel in bytes. The number of pixels can be calculated by multiplying the width and height of the image, which in this case is:

512 x 512 = 262,144 pixels.

Since each pixel requires 3 bytes, the total storage size of the image can be calculated as follows:

262,144 pixels * 3 bytes/pixel = 786,432 bytes

To convert the storage size from bytes to gigabytes, we divide by 1,073,741,824 (1024³):

786,432 bytes / 1,073,741,824 bytes/Gbyte = 0.000731 Gbyte

According to the above we can conclude that the storage size of the uncompressed True Color image with dimensions 512x512 pixels is approximately 0.000731 Gbyte, which can be rounded to approximately 3 Gbytes.

Learn more about storage size in: https://brainly.com/question/31748273
#SPJ4

the spring-loaded service valve used in air conditioning systems is called a ____ valve.

Answers

The spring-loaded service valve used in air conditioning systems is called a Schrader valve. It is a very common valve used in many different applications. The Schrader valve is named after its inventor, August Schrader.

The Schrader valve is typically found in air conditioning systems, refrigeration systems, and automobile tires. The valve is used to help control the flow of refrigerant or air through the system. It is a spring-loaded valve that is easy to use and very reliable.

There are many different types of Schrader valves available. Some are designed for high-pressure applications, while others are designed for low-pressure applications. Some Schrader valves are designed to be used with different types of refrigerants or air.

The spring-loaded service valve used in air conditioning systems is called a Schrader valve. The valve is very important to the overall operation of the air conditioning system. It is used to help control the flow of refrigerant through the system, which is critical to its operation.

To know more about air conditioning systems visit :

https://brainly.com/question/32246245

#SPJ11

Other Questions
Explain how trade imbalances in the global supply chain impact the trading activities of the countries in the world. What are the mitigation measures for addressing these trade imbalances? Which parties benefit from such and which ones lose out? What is quantitative easing? It is an example of contractionary monetary policy where the central bank sells longer-term assets that are not normally sold to commercial banks. It is an example of expansionary monetary policy where the central bank sells longer-term assets that are not normally sold to commercial banks. It is an example of expansionary monetary policy where the central bank purchases longer-term assets that are not normally purchased from commercial banks. It is an example of contractionary monetary policy where the central bank purchases longer-term assets that are not normally purchased from commercial banks. Evaluate 3x^2sin(x^3 )cos(x^3)dx by(a) using the substitution u=sin(x^3) and(b) using the substitution u=cos(x^3)Explain why the answers from (a) and (b) are seemingly very different. Consider randomly selecting a student at USF, and let A be the event that the selected student has a Visa card and B be the analogous event for MasterCard. Suppose that Pr(A)=0.6 and Pr(B)=0.4 (a) Could it be the case that Pr(AB)=0.5 ? Why or why not? (b) From now on, suppose that Pr(AB)=0.3. What is the probability that the selected student has at least one of these two types of cards? (c) What is the probability that the selected student has neither type of card? (d) Calculate the probability that the selected student has exactly one of the two types of cards. who got to relax while others built homes planted crops and hunted/fished in jamestown What role do dinoflagellates play in the formation and health of coral reefs? Group of answer choicesA:Dinoflagellates secrete a protein that enables corals to build their calcium carbonate exoskeletonB:Dinoflagellates are endosymbionts that provide the coral polyps with sugars made during photsynthesisC:Dinoflagellates are the main food source of coral polypsD: Dinoflagellates produce a toxin that kills fish that try to eat the coral Fiesta Royale's Custom Cakes currently sells 4 birthday, 3 wedding, and 2 specialty cakes each month for $45,4155, and \$105 each, respectively. The cost of labour is $50 per hour (including benefits) and it takes 90 minutes to produce a birthday cake, 240 minutes to produce a wedding cake, and 60 minutes to produce a specialty cake. Overhead cost is estimated to be \$250 for the production of the cakes. Case Study Seven: Starbucks at the Airport: Discrimination inPublic Spaces which of the following is not an explanation for why the presence of other people can be arousing? a. the presence of other people is distracting and causes conflict, as individuals have to decide what they should pay attention to. rommel trucking uses cargo miles driven (cmd) as an activity base. the company reports the following breakdown of cost behaviors: purely fixed costs a continuously reinforced concrete pavement cross-section contains a layer of no. 6 reinforcing bars at 6-inch centers, such that the steel is just above mid-depth of a 10-inch thick slab. cover over the top of the steel is therefore about 4 inches. Andres Michael bought a new boat. He took out a loan for $24,010 at 4.5% interest for 4 years. He made a $4,990 partial payment at 4 months and another partial payment of $2,660 at 9 months. How much is due at maturity? Note: Do not round intermediate calculations. Round your answer to the nearest cent. this ability to distinguish cells that belong in the body from those that do not is called Why is ethics critical to successful strategic planning in the21st century? what do you think causes the plant to come out of dormancy and become active [1, 0] referred to in the Intermediate Value Theorem for f (x) = x2 + 2x + 3 for M = 2. Which one of the following statements is not correct?a) Overconfident CEOs are likely to exercise their ESOs nearer the ESOs expiration date than non- overconfident CEOsb) CEOs overconfidence is likely to increase when it takes time before the outcome is revealedc) Financial media seems to recognized how overconfident CEOs describe their businessopportunitiesd) CEOs overconfidence is one form of agency conflict between owners and managers Find a polynomial equation with real coefficients that has the given roots. You may leave the equation in factored form. 2,-5,8 Which of the following correctly describes theFertile Crescent ? ______ is a functional reflex allowing the eyes to focus on near objects.