Draw a circle that is one inch in diameter

Assignment Help Basic Computer Science
Reference no: EM131096552

Assume you have created a mechanical arm that can hold a pen. Th e arm can perform the following tasks:

• Lower the pen to a piece of paper.

• Raise the pen from the paper.

• Move the pen one inch along a straight line. (If the pen is lowered, this action draws a one-inch line from left to right; if the pen is raised, this action just repositions the
pen one inch to the right.)

• Turn 90 degrees to the right.

• Draw a circle that is one inch in diameter.

Draw a structured flowchart or write structured pseudo code describing the logic that would cause the arm to draw the following:

a. a one-inch square

b. a 21-inch by one-inch rectangle

c. a string of three beads

d. a short word (for example, "cat")

Have a fellow student act as the mechanical arm and carry out your instructions. Do not tell your mechanical arm partner what he or she will be drawing (or writing) before the partner attempts to carry out your instructions.

Reference no: EM131096552

Questions Cloud

View of leadership in organization : What is different about ethical leadership (theory)? How do you practice it? How do you know if you are an ethical leader? What is "leading from the middle," and how does that influence your view of leadership in organization?
What is the current inflation rate and nominal interest rate : Suppose real GDP is growing 5 percent, the money supply is growing at 5 percent, the velocity of money is growing at 5 percent, and the real interest rate is 2 percent. a. What is the current inflation rate and nominal interest rate? b. If the money ..
Return on assets and what is its return on equity : Suppose First National Bank has $200 million of assets and $20 million of equity capital. If First National has a 2% return on assets (ROA), what is its return on equity (ROE)? Suppose First National's equity capital declines to $10 million, while it..
Modify a lex scanner specification to produce : Most compilers can produce a source listing of the program being compiled. This listing is usually just a copy of the source file, perhaps embellished with line numbers and page breaks. Assume you are to produce a pretty printed listing.
Draw a circle that is one inch in diameter : Have a fellow student act as the mechanical arm and carry out your instructions. Do not tell your mechanical arm partner what he or she will be drawing (or writing) before the partner attempts to carry out your instructions.
Financial reporting and managerial accounting information : Outline the differences between financial reporting and managerial accounting information and explain the benefits and potential problems associated with cost-volume-profit (CVP) analysis. How might the technique that you have discussed assist you..
According to the keynesian-cross analysis : Write down the IS and the LM equation. Explain why the IS curve is downward sloping and the LM curve is upward sloping. According to the Keynesian-cross analysis, if the marginal propensity to consume is 0.8, and government expenditures and autonomou..
Concentrate on correctness and simplicity of design : When a compiler is first designed and implemented, it is wise to concentrate on correctness and simplicity of design. After the compiler is fully implemented and tested, you may need to increase compilation speed.
Complete wide variety of moving and normal look options : So, we need you to touch us now and collect our complete wide variety of moving and normal look options. We are as a substitute smooth to use and within the equal way comfortable to get aid with.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How consultant choose optimal location of main pipeline

Given x & y coordinates of wells, how must professor consultant choose the optimal location of main pipeline (the one which minimizes total length of spurs).

  Compare red hat package manager

Question 1: Compare Red Hat Package Manager vs Debian package Manager.  How are they similar and how are the different? Question 2: Linux software packages have dependencies and conflicts that can occur for numerous reasons.  Discuss at least 3 way..

  Design a gui program

Design a GUI program

  Write a program to generate a four-tone siren using the pp5

The PP5 pin is connected to a buzzer via a jumper on the Dragon12-Plus demo board.

  Visual logic flowchat and psuedocode help

Visual Logic flowchat and psuedocode help

  Create an array of five insuredpatient objects

Create an array of five InsuredPatient objects. Create a program that justifies the following- Prompts the user for all the patient data, plus the name of the insurance company; the insurance company set accessor determines the percentage paid.

  Working on sheets with pivot tables

Download the spreadsheet SectionESpring15.xlsx from Blackboard. Save this file as: E_FirstName_LastName _Excel.xlsx. For example, if I were to submit this assignment I would need to save and rename the spreadsheet as E_Natasha_Veltri _Excel.xlsx.

  Any reason other than listen queue being full on the server

In the Internet File Server example (Figure 6-6), can the connect( ) system call on theclient fail for any reason other than listen queue being full on the server

  Write paper on battery backup units

Six pages research paper that must be supported by 3-5 citations in APA format.. Please choose one from this list of propose topics: Battery Backup Units, Small Outline Rambus Module and Ram

  Write a procedure that updates all the payment dates

Write a procedure that updates all the payment dates to the current date + 10 days for a given student (name) in the invoice table using cursors. (Will you need a schema? How do i send it to you ? do you need just the tables for the student and th..

  Express the available bandwidth as a function of n

Assuming the average packet size is 5 slot times, express the available bandwidth as a function of N.

  Threatening the relational database

1). Do a Google search and find out what is a NoSQL database and how they are threatening the relational database? 2.) Which companies created the NoSQL databases Cassandra, Bigtable and Dynamo?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd