0% found this document useful (0 votes)
5 views3 pages

Algorithm PFS

The document outlines basic programming concepts including algorithms, flowcharts, and pseudo-code. It provides step-by-step instructions for tasks like logging into Instagram and making a pizza, along with an example of adding two numbers. It also mentions program structure elements such as input/output operations and control flow.

Uploaded by

mimicakes67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Algorithm PFS

The document outlines basic programming concepts including algorithms, flowcharts, and pseudo-code. It provides step-by-step instructions for tasks like logging into Instagram and making a pizza, along with an example of adding two numbers. It also mentions program structure elements such as input/output operations and control flow.

Uploaded by

mimicakes67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Algorithm- Step-by-step instructions to solve a problem.

Flowchart- Flowchart is a type of diagram that represents the algorithm.


Pseudo-code- High-level description of a program.

Task(Log in to Instagram)-

1. Get a computer or tablet or mobile phone.


2. Open the browser.
3. Type the link [Link] in address bar of the browser.
4. Click Login button
5. Put your email id and password.
6. Press enter.
Task(Make a Pizza)

1. Make a dough and keep it for 30 mins.


2. Roll it to circular shape.
3. Add the ingredients like cheese, Capsicums, onions, tomatoes, sause.
4. Put it on to the oven
5. Wait until it is brown and crispy.

Starting and ending of a program.

Input/Output operation in a program I/O operation in a program.

Internal operations in a program. Initialization, calculation.


Takes decision.(True or False)

Connector that connects the breaking points in the flowchart.


START

sum=0

Take num1 and


num2 input

sum=num1+num2

Print sum

END
Control flow which joins one stage from another stage.

//Add two numbers 10 and 20 and store it in sum variable, then print sum.

1. Initialize the sum with 0.


2. Take num1 and num2 input from the user.
3. Add num1 and num2 and store it in sum.
4. Print sum.

You might also like