💞 Machine Language means:
binary hexadecimal instructions which a computer can respond to directly.
💞 Algorithm Means:
one process followed in calculations or other problems solving operations by a computer.
when we want to write a computer program we have tell the computer step by step correctly what we want and it to do. so the computer executes the program following each step mechanically & achieve our tasks. now we able to understand connections between algorithms & program & languages.
💦 we can develop Algorithms due to Pseudo code & flow chart.
Pseudo code have five components:
☺ Variable
☺ inputs/outputs
read/ write/
display/ print
☺ Sequence(setup instructions orders)
☺ selections (conditions)
☺ repetition
💩 Example for pseudo code
☝ input three numbers and find the average
start
inputs x,y,z
sum=x+y+z
avg=sum/3
print avg
end
👩 💠We will see about Flowchart ............ with next post 😅😅 👋👋👋👋👋👋👋
No comments:
Post a Comment