Been using your videos a bit to help out with my understanding of pseudo code and flowgorithm. I can't seem to wrap my head around an issue I'm having. I need to pass a string array from a function to the main module. How do I go about doing this? I keep getting the error "The variable 'Return Value' is an 'String' and cannot be assigned '[...]'". Up to this point, thank you for posting these videos since they have helped me a lot in my understanding.
could someone please help me with this assignment : Implement an algorithm that allow the user to perform CRUD operations over an array (Create, Read, Update, Delete). For C, U and D operations the program must ask the user the index where (s)he wants to perform the operation. For C and U additionally the program must ask the user for a number to add/change. The R operation merely displays the array.
Hi, are you able to solve the word problem I have through Flowgorithm? It is a college problem that I need to work on with a short learning time. Please advise. Thank you. I could post the problem here or email that to you.
Here is. Thank you. " An economist is researching the hourly wage of veterinary technicians in the Los Angeles, Santa Monica, and Valley metropolitan areas. The economist would like to find the average wage for workers in each area. The following are required: 1. Inputs distinguishing different metro areas (codes like “la” is good code for Los Angeles). 2. Reporting the average and number of data points for each metro area at the end of the program. * Create a method to perform the averages. "
If i was doing this in python i'd prob do a 2d array but flowgorithm doesn't support that. Simplest way would be:- input area code and store in array input wage and store in wage array When working out the average Take in the area do a linear search of area array when you find an item add 1 to a counter and add wage value at the same position from the area search. Once you have the total and the count you can divide to get the average.
Thank you, I did the decoration and used while loop for 3 different areas, but for some reason my Function to return the average and all my user input does not return any value. I must be doing something wrong somewhere. I will redo it following your suggestions Thanks again.
If I want to do a while statement asking for input numbers until the "-99" is entered then can the program can determine the largest and smallest from that input? thank you.
Christine Souders I need to ask a couple of questions. I assume you are a student (what level secondary/high school or higher?) Has your teacher specifically asked you to do this in flowgorithm or are you using it to generate code for say python? If you are wanting this in flowgorithm i don't think it can be done using an array as it doesn't allow an unkown array size to be created. Arrays are fixed in length and can't grow or shrink. This could be acheived in Python using a list in a few lines which i could demonstrate. However bigest/smallest number entered until you enter -99 in flowgorithm can be done using a while and a few if statements fairly simply if thats what you mean which i can demonstrate for you.
I am a student. It's an online class with very little direction. I have my while statement done and I have an if statement and the output statements with the largest and smallest number; however, it always prints out zero regardless of what numbers I input. My variables are initialized to 0. I have "if number is greater than largest" true...set number to largest..false..set number to smallest.
i have to use raptor for my assignments and I'm not sure what to do. have you used raptor? my assignments are 1. Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it. 2. Create a program that allows the user to input a list of first names into one array and last names into a parallel array. Input should be terminated when the user enters a sentinel character. The output should be a list of email addresses where the address is of the following form: first.last@mycollege.edu
Sorry girls I've spent some time looking at Raptor. It's not nearly as nice to use as Flowgorithm and certainly not something i'd use with my students. I'm not going to be able to produce Raptor specific tutorials.
perfect - very well explained and easy to follow thanks! :)
You're welcome!
This helped a lot. Thank you
Been using your videos a bit to help out with my understanding of pseudo code and flowgorithm. I can't seem to wrap my head around an issue I'm having. I need to pass a string array from a function to the main module. How do I go about doing this? I keep getting the error "The variable 'Return Value' is an 'String' and cannot be assigned '[...]'".
Up to this point, thank you for posting these videos since they have helped me a lot in my understanding.
You can pass an array as a parameter within a function but you can't return an array as a variable in Flowgorithm
Thank you!
how to you arrange them in ascending order?
ive had parents evening tonight but wilk sort a video by Thurs for you
could someone please help me with this assignment
: Implement an algorithm that allow the user to perform CRUD operations over an array (Create, Read, Update, Delete). For C, U and D operations the program must ask the user the index where (s)he wants to perform the operation. For C and U additionally the program must ask the user for a number to add/change. The R operation merely displays the array.
Finding largest and smallest without an array.
ua-cam.com/video/7AhFdkbTK0Q/v-deo.html
Very intresting, Thank you
Is Flowgorithm Turing-complete? Can you create Flowgorithm in Flowgorithm?
No its just made really to teach algorithms and coding techniques
Can you teach me how to reverse the letters in a string?
How can I make a list go largest to smallest?
Sort the data. There is a video search my playlist for bubble sort
Hi, are you able to solve the word problem I have through Flowgorithm? It is a college problem that I need to work on with a short learning time. Please advise. Thank you. I could post the problem here or email that to you.
mosenjoon post here i'll see what i can do
Here is. Thank you. " An economist is researching the hourly wage of veterinary technicians in the Los Angeles, Santa Monica, and Valley metropolitan areas. The economist would like to find the average wage for workers in each area.
The following are required:
1. Inputs distinguishing different metro areas (codes like “la” is good code for Los Angeles).
2. Reporting the average and number of data points for each metro area at the end of the program.
* Create a method to perform the averages. "
If i was doing this in python i'd prob do a 2d array but flowgorithm doesn't support that.
Simplest way would be:-
input area code and store in array
input wage and store in wage array
When working out the average
Take in the area
do a linear search of area array when you find an item add 1 to a counter and add wage value at the same position from the area search.
Once you have the total and the count you can divide to get the average.
Thank you, I did the decoration and used while loop for 3 different areas, but for some reason my Function to return the average and all my user input does not return any value. I must be doing something wrong somewhere. I will redo it following your suggestions Thanks again.
If you email me your flowchart I can have a look at it tomorrow for you
If I want to do a while statement asking for input numbers until the "-99" is entered then can the program can determine the largest and smallest from that input? thank you.
Christine Souders
I need to ask a couple of questions. I assume you are a student (what level secondary/high school or higher?) Has your teacher specifically asked you to do this in flowgorithm or are you using it to generate code for say python?
If you are wanting this in flowgorithm i don't think it can be done using an array as it doesn't allow an unkown array size to be created. Arrays are fixed in length and can't grow or shrink. This could be acheived in Python using a list in a few lines which i could demonstrate. However bigest/smallest number entered until you enter -99 in flowgorithm can be done using a while and a few if statements fairly simply if thats what you mean which i can demonstrate for you.
I am a student. It's an online class with very little direction. I have my while statement done and I have an if statement and the output statements with the largest and smallest number; however, it always prints out zero regardless of what numbers I input. My variables are initialized to 0. I have "if number is greater than largest" true...set number to largest..false..set number to smallest.
Very good vid
How do i increase Array using while loop?
An array is a fixed size data store. You can't make it bigger. Python allows list to be increased but list are not true arrays.
@@flowgorithm like as an example
integer: i
string : increase
Array[i]
input increase
increase = i + 1
or osmething?
Thankss
How to compare 2 arrays?
Cycle through both arrays with a for loop
@@flowgorithm I used an if and it worked
@@flowgorithm but thanks
i have to use raptor for my assignments and I'm not sure what to do. have you used raptor? my assignments are
1. Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it.
2. Create a program that allows the user to input a list of first names into one array and last names into a parallel array. Input should be terminated when the user enters a sentinel character. The output should be a list of email addresses where the address is of the following form: first.last@mycollege.edu
I've not really used raptor - i prefer flowgorithm but they are fairly similar. I'll take a look and see what i can come up with
UKRocketry thank you so much!!
im in this class too and am still lost?
Sorry girls I've spent some time looking at Raptor. It's not nearly as nice to use as Flowgorithm and certainly not something i'd use with my students. I'm not going to be able to produce Raptor specific tutorials.
ua-cam.com/video/D_B2yBDbamE/v-deo.html
Got it
audio level is so low!
It's an old video and a crappy mic. But it seems ok on my PC