I have a question regarding a pseudo-code where I have to write one and also create a data flow diagram. My problem is a bit long so if someone could help me out another way (discord preferably) that would be great
@SmokeyBrown maybe
my discord is jezzer#8470
can anyone help?
Hello, sorry for the delayed response. I'm definitely willing to take a look at the problem, if you'd still like help! Also, I think it may go against the policies of the site to invite users to third-party apps or sites, so try to avoid that in the future.
Without knowing the details of the problem, I can say that pseudocode, if you didn't already know, is a more informal set of instructions that your program will follow in order to complete its tasks. A data flow diagram, meanwhile, is a more visual representation of these steps and the order in which they could take place. If you grasp those concepts, then we can try tackling the problem. Please share the details of your question, if you'd like to give it a try together.
oh, I just realized you can attach files so that is a lot easier, so the problem I have is that there is a company (fake just for the problem) called Java airlines that I need to create software for, The first 2 questions ask me to first create a set of questions that I should ask the company (In the first file attached) the second question asks me to write a mock up problem definition statement to summarize what the software should be. The third question asks for me to make a pseudo code as well as a dataflow diagram which I am having trouble with. I will attach the first 2 questions I have answered which may help with the pseudo code.
Good info, I think that could definitely inform the pseudo code of the program, especially the second question, which involves some of the design and functions of the program. Some of the things you mentioned include "minimize complications for both passengers and employees", "planes, pilots, schedules, and routes should be tracked", "ask employees and passengers for permission [to save data]", "movies, books, and music services should be available". It also seems like you'd like the software to take the form of an app. Each of these features are quite different, and I think it might make sense to write psuedocode for different functions relating to each feature. To start with, "minimize complications" seems kind of ambiguous to me, so maybe you could clarify that a bit? In the meantime, I can see about addressing the other features you mentioned.
"planes, pilots, schedules, and routes should be tracked"--for this feature, the software would probably have to communicate with a database where this information is stored. The pseudocode would include a section for fetching the appropriate information, as well as for displaying it to the user. In terms of user interface, you might consider designing a button for this function; when the button is pressed, the "tracking" function could be called; this function would then fetch the necessary data from the database, and display it to the user Alternately, it could be more of a live-tracking feature that works by fetching the data from the database automatically, every few seconds and displays the data to the user, without requiring a manual "refresh" I think that would roughly be the sequence of events for that feature, and you can go into more detail in your version of the pseudocode to match your design ideas.
"ask employees and passengers for permission [to save data]"--this could be implemented by taking user input, perhaps in the form of a check box or a button that users could use to signify their preference. Whether or not users want their details to be saved, this information would go into a global variable which can be accessed throughout the software. Then, any time the program *could* save user info, it would first check the global variable to see "am I allowed to save the info?" In very informal terms, I think this is one way of implementing this feature, we may also write pseudocode to give an example of when user info might be stored and how this check could prevent that from happening, based on the user's preference.
"music, books, and music services should be available"--this depends on the way these services are implemented. In any case, these media will have to be stored somewhere, likely on a database of some sort. Users could select the media they wish to access via a menu of some sort, which would trigger the program to communicate with the database, fetch the appropriate media, and display it to the user. Kind of similar to the tracking feature, in a sense, but dealing with the transfer of much larger and more complicated data. Of course, there might be some more in-depth considerations to make when actually providing that media service, but that's the basic low-level idea of it.
That helps it a lot when breaking it down and explaining it more and for the diagram and pseudo code I'm still not really sure how to write it and how to create the diagram with the info, for the pseudo code I don't know what I have to include and what to implement into the program in order to make the pseudo code, and for the diagram I have no idea how to make it or where to put what
Oh sure, so for the psuedocode, you'd basically try to code out your program without any code. Just describe, mostly in plain language, the steps of what you want the program to do. So for instance, for the "tracking" feature, pseudocode might include the following: Button track_button is displayed with the text "Track Flight" When track_button is pressed: check database for cell containing the current user's flight info store flight location info in variable flight_loc display message "This is the location of your flight: " + flight_loc on the user's screen. Something like that could work, for instance. Of course, you're free to write it out in the way that best fits your design, that's just an example. And then the diagram would be kind of like a flow chart, showing how one step leads to another in the process of your program. I'll try to make an example of what that could look like as a drawing. |dw:1626817743166:dw|
Hi sorry for responding very late, I'm having trouble writing the pseudo code and making the diagram and I got an example of how the diagram should look like. If you could help with me in making the pseudo code and diagram and showing me which parts I should put in and in what order
Join our real-time social learning platform and learn together with your friends!