Question

In: Computer Science

Do you think every program needs all three (algorithms, flowcharts, and pseudocodes) of them? Why or...

Do you think every program needs all three (algorithms, flowcharts, and pseudocodes) of them? Why or why not? Justify your answer with examples.

If you plan to create any two of them for a program, which one would you eliminate? Why?


You have read about fundamental data types in your book. Are these data types enough to represent all data or do you think additional data types are needed? Why or why not? Explain your answer with examples.


Looking at the phases of program development, in which phase should the documentation be done? Why?

Solutions

Expert Solution

algoritham:

an alogitham is a set of instructions for solving a problem. when the instructions are followed, it must eventually stop with an answer.

example:

Input: two numbers x and y
Output: the average of x and y
Steps:
1. input x
2. input y
3. sum = x + y
4. average = sum /2
5. output average

___________________________________________________________________________________________
flow chat:
a flowchart is a pictorial representation of an algoritham in which steps are drawn in the form of different shapes of boxes and the logical flow is indicated by interconnecting arrows.

example:

___________________________________________________________________________________________

pseudocode:
method of writing algorithms that is independent of programming language.

example:

Input: two numbers x and y
Output: the average of x and y
Steps:
1. START
2. input x
3. input y
4. sum = x + y
5. average = sum /2
6. output average
7. END

___________________________________________________________________________________________


Related Solutions

Do you think every program needs all three (algorithms, flowcharts, and pseudocodes) of them? Why or why not? Justify your answer with examples.
research on the following:     Algorithms     Flowcharts     PseudocodesBased on your research and readings, answer the following questions:Do you think every program needs all three (algorithms, flowcharts, and pseudocodes) of them? Why or why not? Justify your answer with examples.If you plan to create any two of them for a program, which one would you eliminate? Why?You have read about fundamental data types in your book. Are these data types enough to represent all data, or do you think additional data types...
What do you think are the three most important qualities or skills a governor needs to...
What do you think are the three most important qualities or skills a governor needs to possess in order to be successful in that position? Explain why you feel they are the most important. Would these factors be enough to have you vote against your political ideology? Use facts to support your opinion.
Do you think the WASH program in Zimbabwe is sustainable? Why or why not? Make two...
Do you think the WASH program in Zimbabwe is sustainable? Why or why not? Make two recommendations to make it either sustainable or more sustainable.
Why do you think the nuclear family is the basis for kinship systems in every culture?
Why do you think the nuclear family is the basis for kinship systems in every culture?
Probiotics: Do You Need Them? What do you think? Do you think you should add probiotics...
Probiotics: Do You Need Them? What do you think? Do you think you should add probiotics to your diet? Why or why not? Do you think we know enough about probiotics to recommend them to the public? Site your source
Why do you think Java provides both primitive data types and wrapper classes for them? Why...
Why do you think Java provides both primitive data types and wrapper classes for them? Why not just one or the other?
do you think we should be testing on animal and using them for research? explain why?
do you think we should be testing on animal and using them for research? explain why?
Why do you think that growing old is not the same experience for all categories of...
Why do you think that growing old is not the same experience for all categories of people? How does race, social class, and gender shape the aging process? (explain)!
Design a program in JAVA that allows you to experiment with different sort algorithms. The algorithms...
Design a program in JAVA that allows you to experiment with different sort algorithms. The algorithms are shell sort and quick sort. Assume that input data is stored in a text file. Experimenting with a prototype data (integers from 1 to 10) to ensure that your implementation works correctly and the results match expectations. The program will sort what is in the text file and print the amount of comparisons and exchanges for both algorithms.
Do you think No Child Left Behind was an effective test-based accountability program? Why or why...
Do you think No Child Left Behind was an effective test-based accountability program? Why or why not? Do you think the United States should pursue more test-based accountability programs? Why or why not?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT