Determine the problem causing the lamp to not work

Assignment Help Basic Computer Science
Reference no: EM131406723

The following flowchart is for a module to resolve a problem with a lamp. The job of this flowchart is to determine the problem causing the lamp to not work or to determine if a new lamp is needed. Review the flowchart and answer the following questions about it. If you are not sure of your answer, include in your posting any questions you have.

  1. There are 2 decisions in this flowchart. Put them in the form of a question.
  2. Under what condition(s) can a new lamp be purchased?
  3. Turn your questions from question number 1 into IF statements If (something happens)Then (do this) Else (do this)
  4. Now use your answers from number 3 to write some pseudocode. What pseudocode might match this flowchart? Be sure to try and walk through the flowchart step-by-step and follow the logic. The goal is for you to get some idea about how pseudocode is derived from flowcharts. Chapters 3 and 4 in your textbook have many examples of flowcharts and the matching pseudocode. Take a look at few, and step through the logic.

Keep in mind that all of the information you need to answer these questions is in this flowchart. Do not embellish or add anything to it. Do not add info to your answer that isn't indicated in the flowchart, just keep it simple!!

Reference no: EM131406723

Questions Cloud

What is competitive strategy that hayek chose to implement : What is the competitive strategy that Hayek chose to implement at the newly merged company of SMH once he took over? Define and justify.
Compare and contrast male and female gang members : Compare and contrast male and female gang members. Why do these differences exist? Determine the family and school risk factors for gang involvement.Discuss the three models used to understand the relationship between delinquency and gang involvemen..
What data should the pet enrollment form collect : What data should the Pet Enrollment Form collect? Using the guidelines provided, design the Pet Enrollment Form.
Develop a decision tree model : Develop a Decision Tree Model and what is the expected value of the project if no risk events occur - What is the expected value of the project if all risk events occur in a best-case scenario?
Determine the problem causing the lamp to not work : The following flowchart is for a module to resolve a problem with a lamp. The job of this flowchart is to determine the problem causing the lamp to not work or to determine if a new lamp is needed. Review the flowchart and answer the following que..
What were the major developments in evolution of mass media : What were the major developments in evolution of mass media during the last century? How did each development influence American culture? What is meant by the term media convergence, and how has it affected everyday life?
What is network forensic investigation : What is Network forensic investigation? What are the challenges that network forensic investigation pose, discuss how these challenges are met?
Define the elements of a legal contract using examples : Jim and Laura Buyer visit the local car dealership because they are interested in buying a new car. The car they currently have is aging and is starting to have mechanical problems. Jim and Laura would share the new car, and use it to go back and ..
Briefly describe the communicable disease situation : Select 7 foreign countries, and briefly describe the communicable disease situation in the selected countries. Include your statistics in a table format

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What techniques can be used to reduce npt induced overhead

One of the biggest impediments to widespread use of virtual machines is the performance overhead incurred by running a virtual machine. Listed below are various performance parameters and application behavior.

  What is the purpose of a directory in a distributed database

What is the purpose of a directory in a distributed database? Where should the directory be located?

  Plot the learning curve of the gha

Plot the learning curve of the GHA, where the algorithm is trained on the Lena image (i.e., the mean-square error is plotted versus the number of epochs used for training).

  Written assignment-auditing database activities

After an intensive investigation you found out that some users were abusing their privileges.  You decide to implement a solution in which users are audited when they create any database object.

  What is the output of this code sequence

What is the output of this code sequence

  Types of risk that exist in the stock market

From an investor's point of view there are tow types of risk that exist in the stock market. One is market risk and the other is company specific risk. Can anyone tell me which one can be reduced by diversification?

  Threats and vulnerabilities of social engineering

Describe the threats and vulnerabilities of social engineering and social media; include how they are similar and how they are different.

  What would be the output of the countdown routine

Recursion is a powerful technique that is often utilized for a variety or problems. Often, people think iteratively rather than recursively. However, when thinking computationally, as in computer language, recursive techniques are often utilized.

  Loss of generality in private-key encryption

Prove that, in the context of private-key encryption, we can assume without loss of generality that keys are chosen uniformly at random (and so Gen is trivial).

  Total processing speed of microprocessors

Task Part A : 1. The total processing speed of microprocessors (based on clock rate and number of circuits) is doubling roughly every year. Today, a symmetric session key needs to be 100 bits long to be considered strong. How long will a symmetric..

  New class for graphs with weighted edges

Implement a new class for graphs with weighted edges. Either you use the ordinary Graph class as a superclass for your implementation, or you start it from scratch by following the pattern used in the ordinary Graph class. The ordinary Graph class..

  How to retrieve data from your structures

Modify your design in (a) to handle incremental data updates. Give the reasoning behind your new design.

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