Explore BrainMass

Explore BrainMass

    Pseudocode

    BrainMass Solutions Available for Instant Download

    Pseudo-Code for Driving a Car and It's Object Oriented Concept

    Identify 1 (one) task you perform regularly, such as cooking, mowing the lawn, or driving a car: - Write a short, structured design (pseudo code only) that accomplishes this task. - Think about this task in an object-oriented way, and identify the objects involved in the task.

    Computer Science Programming Problem

    Provide the analysis and pseudo code only (no diagrams are required). - Create Student Grade File - Display Contents of Grade File For each of the following problems, use the top-down modular approach and pseudocode to design a suitable program to solve it. 1. Input names of students from the user, terminated by ZZZ, and

    Semaphores

    There is a one-way bridge that can hold up to three cars. Cars arrive at one end of the bridge and exit the bridge at the other end. Traffic is allowed only in the one, available, direction. Describe a solution to this synchronization problem that should include: A)Definition of appropriate semaphores, B)Description of the

    How to generate a set of input test values from a code

    I am asked to generate a set of INPUT TEST VALUES. Is that included into this control structure, or do I have to create a whole different set of variables? (if you have to create an extended set of variables please return posting so I can add more credits.) Declared Variables Input: salary in real Output: tax in real

    Creating a Pseudocode Algorithm

    Create a pseudocode algorithm you would write for a simple task like making a turkey sandwich, as well as three simple control structures that could be used to create this algorithm. What do you think is the most difficult part of creating the algorithm? What can you do to make this process easier?

    Pseudocode to Process Numerical Substrings

    Write an algorithm, using pseudo code, to perform one of the following tasks,* Given a string of numbers, identify all of the substrings that form numbers that are divisible by 3. For example, applying the algorithm on the string 37540 should produce the following substrings (not necessarily in this order): 0; 3; 75; 54; 375; 5

    Pseudocode is formulated

    Using the UML diagram and variable list , create Pseudocode for the program. How do I created the pseudocode? 1. client type (regular or discounted) 2. discount value (10% or $10) 3. regular price ($35) 4. client name (or client number) 5. client mailing address 6. invoice number 7. incoice date 8. billing

    Create A Flowchart of the pseudocode

    The Unit 4 Topic 2 Presentation contains pseudo-code for a program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file. Create a flowchart of the program, using the pseudo-code fro

    Flowchart for pseudo-code

    A program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file. Create a flowchart of the program pseudo-code start perform initialTasks( ) while endOfFiles = false perfor

    Design the unit testing framework for the ATM machine

    Design the unit testing framework for the ATM machine in the style of JUnit Test Infected: with the following functionalities: check balance, deposit cash, and withdraw cash. The framework could be developed in pseudo-code

    Variables, prompts, and output.

    START Declare TestScore as integer Write "Enter your Test Score and Your Grade will be Displayed" INPUT Test Score If TestScore>90 Write "Your Grade is an A" Else IF TestScore>80 Write "Your Grade is an B" Else IF TestScore>70 Write "Your Grade is an C" Else IF TestScore>60 Write "Your Grade is an D" Else W

    Variables, prompts, pseudocode, and flowcharts

    Start Declare Testscore as integer Write "Enter your Test Score and Your Grade will be displayed" INPUT Test score IF TestScore > 90 Write "Your Grade is an A" Else If TestScore > 80 Write "Your Grade is an B" Else If Testscore > 70 Write "Your Grade is an C" Else If TestScore > 60 Write "Your

    List variables, prompt, and write new program in pseudo-code.

    Declare Num1, Num2, and Num3 as integers Declare Average as real Write "Welcome to the program. Enter 3 positive numbers", INPUT Num1, Num2, Num3 Average = (Num1 + Num2 +Num3) / 3 Write "The average of three numbers entered is", Average Stop 1. List all variable name(s) used in this program 2. List each prompt that is

    Pseudocode

    A. The Better Bagel Store Bakes three different types of bagels: plain, cinnamon raisin and sesame seed b. Output - consist of a screen display showing the number of bins needed for each type of bagel as well as a final total showing the total number of bins required. c. Input - consist of the number of each type of bagel (e.g

    Flow chart and hiearachy chart help

    The Presentation contains pseudo-code for a program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file. Create a flowchart and hiearachy chart of the program, using the pseudo-cod

    Interest Determination per Annum

    A student borrows 3,000 at an interest rate of 2 % per month on the unpaid balance. If the student pays $200 at the end of each month, what is the remaining balance at the end of one year? How much interest has the student paid for the year? Output: Output consists of a screen display showing the balance each month, remai

    Flowchart for Pseudocode

    Pseudocode contains pseudo-code for a program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file. The pseudo-code is attached below as word form. Thanks very much.

    Formal Specification Set Theory

    Hello, I need a help with working with set theory for pre, post conditions and logic conditions for a board game I wrote in Java. The Java part is easy, figuring out to express what I using set theory is difficult. A brief set theory overview as it relates to documentation Java code would be helpful and specific explanation

    Create a flow chart for this pseudo-code

    Input File FirstName LastName SSNumber Grade start perform housekeeping() while not eof perform mainLoop() endwhile perform finish() stop housekeeping() Variables declare variables num x open file char foundit read studentInfo studentInfo return char studentName num s

    Flowchart and pseudo-code problem

    Create a flowchart and pseudo-code for the following problem: You have a file containing the grades of students from Beginning Programming, along with the students' information. Your part of the program has to loop through the records, and make sure that any student who has received a 'D', 'W', 'I', or 'F' in the course will

    Please write a pseudo-code for the following problems

    Part 1: Write pseudo-code for the following problem: You have a file containing sporting goods that are sold online. Each item record contains the item id, item name, item description, item category, item price, and the units in stock. If the category of the item is either "tennis" or "golf", then the price will be discoun

    How do I create a flow chart and pseudocode for this problem?

    Calculating a discount that customers receive based on the value of their order. If the total amount ordered is less than $20.00, no discount will be given. If the total amount is between $20.00 and $50.00, a discount of 5% will be givem. If the total amount is between $20.00 and $50.00, a discount of 5%will be given. If the tot

    A problem about binary trees in java

    A problem about binary trees in java. Please see attachment. The original course website where the problem comes from is here, I think it will be helpful if you take a look at it first: www.student.math.uwaterloo.ca/~cs134

    Using Turbo Pascal to Calculate Total Resistance

    A program is required to calculate the total resistance in a circuit. The resistors can either be in series or in parallel but not both. The number of resistors in the circuit can range from 2 to 10. How do I get started?