Share
Explore BrainMass

Pseudocode

Shell Script to Convert Students Marks to Grades

Also I am trying to append my newly created PS1 Command Prompt to a file how do I do that? Please also Provide the step by step instructions so that I too can try and do these exercises. Project 6-4 In this project, you will convert pseudo code that uses a decision structure into a shell script. The script then will accep

Pseudocode Examples

Task: Using the pseudocode for the program, you identify the aspects of the program that can be reusable (identified for you in 1 - 5) and write/rewrite it so it can be reused. This is what needs to be done: You rewrite your pseudocode to implement this reusable code. 1. I WOULD LIKE PSEUDOCODE FOR THE SPECIFIC 5 CODES THAT

Need help with Algorithm to determine if an Array contains Unique ElementsEnter

I need to determine if my array is unique and in ascending order. I've got the ascending order part figured out but am not sure that I'm doing the unique part correctly. Could you check my pseudocode to see if I have it right? I not, please give me direction on how to do this. Enter Read N SUB = 0 VALID_TABLE = 'Yes'

Compute running time

Alg. : MIN (a[1],..., a[1]) m <--- a[1]; for I <--- 2 to n if a[1] < m then m <---a[1]; Compute T(n), the running time for this algorithm.

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

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

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

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

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

Creating a program using turbo pascal.

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?