Transcript for:
Flowcharts for Algorithms

hello everyone and welcome to a subject course cc 101 and last time we discussed um control structures we're in a discussion the new sequence repetition and as well as you own a decision so now it's time to uh translate those algorithms into a visual representation not in a tab in a flowchart and that is our topic for this uh video again a flowchart it is a uh guide on creating a programs it uses symbols to how to show rather the step-by-step process of how you can develop a solution to a certain problem [Music] comes when comparing these data sets nanaka table and then do graphical representation so for flowchart so now i have here different examples now sasha gotanath [Music] for you to uh uh have a review when it comes now you know flowchart so now i'm going to switch uh on my uh another application again again so i suggest operating system available pusha i don't know available ios but uh if uh hindi is available you can use pen and paper as well while i'm problematic so we are using uh this uh application slang para padale adding discussions and as well as in your capstone project or in the [Music] so now we're going to discuss the symbols and s okay so as you can see it's a lucid chart where it comes uh pagamet ponettono uh sign up langkaio using your email uh gmail unamico and then uh just after signing sign signing in and then click new longing new and then puntana interface of course uh first time nino blanc so i have here most of this are hindi naman and nathan mata on this video like delay database so we will go into focus one two three four five six seven seven symbols [Music] so we're going to discuss that also so let's start in uh a terminator so terminator one thought nothing did or terminal so you know ellipse so denotes the beginning and the ending of the [Music] and then it denotes then the ending of your flowchart start and end start and end terminator so you will going to see a lot of that example later so we have here preparation it is for declaring end or for the time i declare for the time of assign and different now declaring assign is pagnet declare declared is uh well actual value well a time value in the initial algae but when we are assigning variable or constant it means so we begin with an example later on so but for now uh preparation is for declaring and assigning variable or constant and then okay but the new variable and constants so we have here also you adding data or in the alternator so as well as our decision management decision data it means for branching okay so we use this for branching if else statement and i discuss nothing before remember your uniform narapaka wednesday is decision next one is process we have here process assigning value assigning variable and assigning value so end [Music] process next one is a flow lines that indicates a symbol and so we have down arrow left right and then up arrow and then we have lastly the connectors for connecting flowchart to another page for example canvas you adding paper or you adding a platform digital platform the drawing and or pin a laptop flowchart connect to another um paper or another page is connectors and then let's proceed to our examples so number one we have here example number one create a flowchart that will display or print or show or output so actually interchangeably examples as you can see in our output output output screen so hello world indica double quotation okay so let's do that in our lucid chart so by creating another page add page style detail and then let's rename this example number one okay so in our example number one we will going to create a flow chart that will display or show the hello world so uh of course kailang mona nathena terminator okay and then again angina is start okay since uh this one denotes the beginning of our flowchart okay so and then followed by uh since mega output dot io so nothing is your data okay so data it can be input or output input get a gamut [Music] so but there are no rules for that i know you can use uh start in small letter or uh sentence case operator [Music] and then hello world okay as you can see in our example malachi in letter w malacca in letter h and then we have space in here so because when you're creating a flowchart base those output nano bases output this among given examples or givens it works out in modules or what you see is what you get you know maybe not so hello world song and then of course [Music] flow chart okay so by typing and okay so you start and end again again not then and then wedding goes on a standard line nothing flow lines nothing or by using this um lucidchart featuring a tata patmology on course [Music] uh you when you are using uh pen and paper uh important [Music] so uh that is our example that is the solution for our example number one okay so additionally uh when you are using free because a freelancer not indeed solution chart is uh i will going to do every time number entire example is export connoisseur video every example export as image nino for submission so you can do in here it's a file and then click export and then png or anything that you want to uh export any file okay so opening pdf opening png so i suggest uh since presentation so png with transparent background again jpeg and jpegs activities so we're going to use but for now i'm going to use png with transparent background so png with transparent background and then click on you so 300 pixels per inch so download that then all right the processing is complete so i don't know adding for you so now um let's proceed to uh example number two and then i'm going to uh clear this out okay so we're going to live and along the path all right so let's proceed to example number two uh create a flowchart that will display or print or show or output your name you can do your name in this example and but in our example we're going to use gel conan and then age 25 years old as you can see in our uh output screen so in here next line you know adding uh 25 years old so paparazzi and company but i'm generate using our flow chart now new line or next line so now uh bullet id is adding a lucid chart okay so actually you can do uh three things detox uh example and then uh i'm going to show you all of that i know so this is the basic nothing going is three [Music] or terminator so start and then us to uh denote na constant okay and then a lucidchart when you're using a pc uh shift enter parameter enters so another one uh is uh paramagnetics line pusha or data rather data input output you are adding a new line [Music] print your acting age which is 25 years old okay check nothing [Music] okay so that is an example okay you know first uh i don't know then i know first method that did nothing go in for this example okay so another one copy nothing and then the paste satin data so now i'm going to remove this one okay so start dial and then this is the another way you know for you to uh do this kind of example whether nothing preparation again preparation for okay so think another definition of declaring and or assigning variable or constant okay so alphabet difference now variable and constant and variable is uh is like a bucket lil again because a variable is a temporary storage number young [Music] we have here uh x x is equal to 10 okay so programming [Music] [Music] so that means so like the value of pi diva we have three point fourteen sixteen and so on so in your own uh difference known variables we can assign variable i know we can assign variable this adding preparation so by the nothing doing gen we have here name that is our variable and then nothing like equal to okay [Music] and then we can do age as well age is equal to 25 okay so by nothing shahindi it encapsulates a double quotation 25 actually populated which we're going to discuss on a future lesson so a maritime string wherein um numeric which means combinational alphabet and then numbers and so words are behind strings strings okay ankara turpo is a single letter single letter launcher angina gambit engine is single quotation okay so yeah for example it is adding a string that you are adding a word and lettering word 30 for example so kara tournaments in single letter long shot for example i and capital letter or small letter or k yeah that's a small letter or a capital letter but so one letter lambo uncharacter and then we have integer okay integer or this means number or to be specific whole number and so we discuss nothing in mayan [Music] [Music] so no double or single quotation middle name or middle initial [Music] words for example for example initial middle initial value yeah for example [Music] so since middle initial for example the login is a middle initial middle initial so is equal to so single quotation i you have a middle initial so yeah okay so again they declare nothing okay and then bullying nothing examples 25 and then okay [Music] so antenatal nothing engine again is variable so print name language okay and then print new line since enterpreneur and then if we print that and see age okay so print age result we have uh gel [Music] okay new line and then you age nothing none then clear nothing which is 25. okay so panama caron on 25 years old okay another line so print okay so nasa double [Music] get again [Music] so in our example output okay uh [Music] put in here yeah so paramedic with regards to that and then we have here end okay so nothing is blue lines design problem okay so that is our example number two now another uh method [Music] [Music] [Music] example number three uh the prompt is create the flowchart that will input or get the tire now age and then indeed display not then minor basha or legal we display nothing on minor or if your age is 17 or less 18 or [Music] i'm using a cmd command prompt yeah so for example uh just a no no i don't mind the uh c column backlash greater than n program so for example like type 18 and so i'm not typing uh bracket and then 18 i know so nothing compatible is for denoting input links a user at this time i was a user and then nagi [Music] for eon so my own bullet is a lucid chart and then i will go into uh delete this one yeah so delete number okay so start tile okay so onion for preparation yes it is [Music] [Music] so get nothing so you're nothing each okay so you notice again is small letter h this one it's a program in a plane that is a program but looking letter a g e is different from small letter a g e okay so yeah uh program [Music] condition so nothing is we're going to have here a decision so decision [Music] test not an output nand so actually due to some more preparation and whatever american output output is indeed data okay it's either get or print [Music] [Music] [Music] [Music] [Music] [Music] [Music] right so lines age get age and then if you want to uh ganito follow problem [Music] [Music] okay so yes and then we have here no nothing floating input or [Music] and and then how about this one [Music] uh flow lines and nothing here indeed okay so connect [Music] [Music] um flow lines okay so that is the example no that's the solution for our example number two okay example number three rather so um [Music] [Applause] [Music] [Music] the answer is true yes so they do some people entire now minor and then end okay so i forgot to mention this there's a discussion nothing uh i know my redundant [Music] we have decision we have yes and then we have no so actually decided the decision [Music] [Music] [Music] [Music] [Music] and then improve then your adding output so i know my array so happy and then rephrase nothing okay so then start and then age but before get aids bhagavatama get aged magpie print id satas get age okay print and then instruction okay so enter your [Music] age enter your age and then colon and then space space enter your age s [Music] put the new logic nothing is uh age less than or equal to 17 so minor so bhagavan printing minor popeye nothing lagyan now you are or you're a minor you're a minor that's in the and then we have here legal okay so uh and then connect is our satin end then connect nana okay so [Music] a minor again wizzy wig what you see is what you get in the right there and as you notice then on a bucket you own another [Music] [Music] so no need for you to create a print new line [Music] [Music] [Music] [Music] illegal named kapaki 11 000 okay so again i'm going to save this so uh then proceed dividends on my our last example exclamation point so save goose outlet all right so for our last example that we're going to cover in this video uh the prompt is create a flowchart that will display or that will compute rather the sum of two numbers from the user so as our example enter first number um [Music] instruction so enter first number and then intent for example is five of course depending on you circling the type three or fifty it depends user so enter second number so five dinner and internet the sum of two number is ten so papano nothing and [Music] example number four okay so start dial terminator okay start and then since melatonin input again sugar gamma tag now preparation okay so dallas we have first number and then second number so that you own variables they declare nothing okay so what god didn't clear nothing for example first first number first number uh [Music] [Music] for first number and then second number so print it instruction i enter first number okay so using lana then enter first number and then again and then space so get okay you get nothing in your thing first number [Music] number and then get nothing on first number and then another one okay enter second second number okay tangalyn [Music] and get second number all right so now get nothing on first and second number what we have to do is uh next naga san daniel for assigning value and computations so processing so little guys um example number four and process not indito is but is equal to first number plus second number on my own uh computation yeah turning computation at them so as you can see anomeron uh this one you know it is a variable okay so nothing first number plus second number so since this is a variable [Music] [Music] [Music] the sum of two number is the new space so nothing since okay print also [Music] the sum of two numbers or the sum of two numbers the sum of two number is yeah so space space and then print [Music] [Music] another terminal for our [Music] and right so all you have to do is uh to create a flow lines [Music] [Music] [Music] [Music] so that is our uh example number four solution so you know nothing your first number second number and the new sum since gaga meeting so enter first number get first number first number okay so enter second number second number type nadita's high second number [Music] [Music] [Music] so that's uh the uh discussion of uh flowchart devastation uh another orion past lesson pl so we will going to uh have uh conversation flowchart nato uh i think clarify so i'm going to see you on our uh live online uh discussion zoom or satin uh google me so i'm gonna put on video thank you very much and god bless