Application of Looping
+22
ilovebts
janderjander
Bermon O. Ferreras Jr
Lhexmhar
rapzie badoodles
JULIAN P.A
Emie Ligutan
Rfrancis03
Asparin
LUNATHEGREAT
Jericho
RicManipon
iramae
Admin
Jung kook
Myra Monique Acuna
airojames
Pox
nyela
althea faye
James Navarro
justjoking10
26 posters
Page 1 of 5 • 1, 2, 3, 4, 5
Application of Looping
Thu Aug 02, 2018 7:17 pm
There may be other way, but this Flowchart explains how a 1 day timer works with the help of nested loop, while loop.
NOTE: There is no delay module in this program, so we assume that 1 is equal to 1 second.
If you have questions, feel free to ask questions!
else comment your reactions etc. Thanks!
NOTE: There is no delay module in this program, so we assume that 1 is equal to 1 second.
If you have questions, feel free to ask questions!
else comment your reactions etc. Thanks!
- justjoking10Guru
- Posts : 19
Join date : 2018-08-01
Re: Application of Looping
Thu Aug 02, 2018 8:04 pm
Its very clear sir.
Re: Application of Looping
Thu Aug 02, 2018 9:09 pm
Nice for you. But what did you in your work?justjoking10 wrote:Its very clear sir.
- James NavarroGuru
- Posts : 11
Join date : 2018-08-02
Re: Application of Looping
Fri Aug 03, 2018 6:26 pm
Medyo matagal lang magprocess sa utak ko sir pero gets naman po yung logic nya po
Sent from Topic'it App
Sent from Topic'it App
Re: Application of Looping
Fri Aug 03, 2018 6:47 pm
It's okay. I hope you also enjoy doing this one.James Navarro wrote:Medyo matagal lang magprocess sa utak ko sir pero gets naman po yung logic nya po
Sent from Topic'it App
- althea fayeGuru
- Posts : 10
Join date : 2018-08-07
Re: Application of Looping
Tue Aug 07, 2018 9:18 am
sir , what is the advance of nested loop and while loop ?
Re: Application of Looping
Tue Aug 07, 2018 9:22 am
While Looping is to do multiple times whatever process you want to do without rewriting the code but rather to have a Loop Control Variable. A nested loop is like having a loop within a loopalthea faye wrote:sir , what is the advance of nested loop and while loop ?
- nyelaGuru
- Posts : 10
Join date : 2018-08-07
Re: Application of Looping
Tue Aug 07, 2018 12:33 pm
ito ang perfect example ng definite loop with a counter, pero pwede rin siyang magkaroon ng indefinite loop with sentinel value if lalagyan ng clock ng timer or alarm. pwede na pang project
Re: Application of Looping
Tue Aug 07, 2018 12:34 pm
Yes it is!nyela wrote:ito ang perfect example ng definite loop with a counter, pero pwede rin siyang magkaroon ng indefinite loop with sentinel value if lalagyan ng clock ng timer or alarm. pwede na pang project
- nyelaGuru
- Posts : 10
Join date : 2018-08-07
Re: Application of Looping
Tue Aug 07, 2018 12:35 pm
Admin wrote:While Looping is to do multiple times whatever process you want to do without rewriting the code but rather to have a Loop Control Variable. A nested loop is like having a loop within a loopalthea faye wrote:sir , what is the advance of nested loop and while loop ?
akala ko talaga dati ang "if" ay loop haha, share!
Re: Application of Looping
Tue Aug 07, 2018 12:39 pm
Now you know.nyela wrote:Admin wrote:While Looping is to do multiple times whatever process you want to do without rewriting the code but rather to have a Loop Control Variable. A nested loop is like having a loop within a loopalthea faye wrote:sir , what is the advance of nested loop and while loop ?
akala ko talaga dati ang "if" ay loop haha, share!
- iramaeGuru
- Posts : 10
Join date : 2018-08-08
Re: Application of Looping
Wed Aug 08, 2018 7:56 am
For this sample, hanggang sa nalayo na yung topic, marerealize niyo na may ibang paraan pa pala yung pwede, iniisa isa lang talaga para maintindihan niyo lahat
- nyelaGuru
- Posts : 10
Join date : 2018-08-07
Re: Application of Looping
Wed Aug 08, 2018 8:10 am
iramae wrote:For this sample, hanggang sa nalayo na yung topic, marerealize niyo na may ibang paraan pa pala yung pwede, iniisa isa lang talaga para maintindihan niyo lahat
Yah. and Also yung traffic lights ay application din yun ng loop
Re: Application of Looping
Wed Aug 08, 2018 8:29 am
Yes, in that way mas maiintindihan ang programming hehe #stepbystepnyela wrote:iramae wrote:For this sample, hanggang sa nalayo na yung topic, marerealize niyo na may ibang paraan pa pala yung pwede, iniisa isa lang talaga para maintindihan niyo lahat
Yah. and Also yung traffic lights ay application din yun ng loop
- PoxGuru
- Posts : 11
Join date : 2018-08-11
Re: Application of Looping
Sat Aug 11, 2018 7:13 pm
Kunti na lang ganyan na din yung program ko
Sent from Topic'it App
Sent from Topic'it App
- airojamesGuru
- Posts : 11
Join date : 2018-08-01
Re: Application of Looping
Sat Aug 11, 2018 7:47 pm
Sakin isa lang ginawa kong module pwede nman po yun dba?
Sent from Topic'it App
Sent from Topic'it App
- airojamesGuru
- Posts : 11
Join date : 2018-08-01
Re: Application of Looping
Sat Aug 11, 2018 7:49 pm
nyela wrote:ito ang perfect example ng definite loop with a counter, pero pwede rin siyang magkaroon ng indefinite loop with sentinel value if lalagyan ng clock ng timer or alarm. pwede na pang project [smiley]https://2img.net/i/fa/i/smiles/icon_smile.gif[/smiley]
Ngayon ko lang po napansin yun skl
Sent from Topic'it App
- airojamesGuru
- Posts : 11
Join date : 2018-08-01
Re: Application of Looping
Sat Aug 11, 2018 7:50 pm
Sa isang activity pala yung isang module lang na tinutukoy ko po sensya na
Sent from Topic'it App
Sent from Topic'it App
- airojamesGuru
- Posts : 11
Join date : 2018-08-01
Re: Application of Looping
Sat Aug 11, 2018 7:51 pm
Pox wrote:Kunti na lang ganyan na din yung program ko
Sayang nga pre kung may time lang 2nd batch haha
Sent from Topic'it App
- Myra Monique AcunaGuru
- Posts : 11
Join date : 2018-08-01
Re: Application of Looping
Sun Aug 12, 2018 1:28 pm
iramae wrote:For this sample, hanggang sa nalayo na yung topic, marerealize niyo na may ibang paraan pa pala yung pwede, iniisa isa lang talaga para maintindihan niyo lahat [smiley]https://2img.net/i/fa/i/smiles/icon_smile.gif[/smiley]
Habang tumatagal nga po ma'am nakakaamaze e, may ibang paraan pa pala na mas madaling gawin
Sent from Topic'it App
- Jung kookGuru
- Posts : 12
Join date : 2018-08-12
Re: Application of Looping
Sun Aug 12, 2018 11:15 pm
May nakita akong flaw sa flowchart.
Kapag 59 second na, mag a-add ng 1 second. Edi, 60 seconds na. Mag O-output yung 00:00:60 then sunod 00:01:01.
Ewan ko lang, sa tingin ko (tingin ko lang naman) dapat 00:00:59, then 00:01:00 ang mangyari.
Opinion ko lang naman.
PS. You're free to correct me if I'm wrong hehe
Kapag 59 second na, mag a-add ng 1 second. Edi, 60 seconds na. Mag O-output yung 00:00:60 then sunod 00:01:01.
Ewan ko lang, sa tingin ko (tingin ko lang naman) dapat 00:00:59, then 00:01:00 ang mangyari.
Opinion ko lang naman.
PS. You're free to correct me if I'm wrong hehe
Re: Application of Looping
Sun Aug 12, 2018 11:48 pm
Good to know that you're amazed doing programming, it seems like you'll like it more along the road.Myra Monique Acuna wrote:iramae wrote:For this sample, hanggang sa nalayo na yung topic, marerealize niyo na may ibang paraan pa pala yung pwede, iniisa isa lang talaga para maintindihan niyo lahat [smiley]https://2img.net/i/fa/i/smiles/icon_smile.gif[/smiley]
Habang tumatagal nga po ma'am nakakaamaze e, may ibang paraan pa pala na mas madaling gawin
Sent from Topic'it App
Re: Application of Looping
Sun Aug 12, 2018 11:52 pm
Good observation. But nope theres no chance that it will show 00:00:60 cause when seccounter = 60 it wont go to display but rather add 1 to minute then puts seccounter to 0 once again.Jung kook wrote:May nakita akong flaw sa flowchart.
Kapag 59 second na, mag a-add ng 1 second. Edi, 60 seconds na. Mag O-output yung 00:00:60 then sunod 00:01:01.
Ewan ko lang, sa tingin ko (tingin ko lang naman) dapat 00:00:59, then 00:01:00 ang mangyari.
Opinion ko lang naman.
PS. You're free to correct me if I'm wrong hehe
Re: Application of Looping
Mon Aug 13, 2018 12:03 am
Okay, to clear all doubts, you're right that when it is 59 it will go in to yes then we add 1 so the display will show 60.Admin wrote:Good observation. But nope theres no chance that it will show 00:00:60 cause when seccounter = 60 it wont go to display but rather add 1 to minute then puts seccounter to 0 once again.Jung kook wrote:May nakita akong flaw sa flowchart.
Kapag 59 second na, mag a-add ng 1 second. Edi, 60 seconds na. Mag O-output yung 00:00:60 then sunod 00:01:01.
Ewan ko lang, sa tingin ko (tingin ko lang naman) dapat 00:00:59, then 00:01:00 ang mangyari.
Opinion ko lang naman.
PS. You're free to correct me if I'm wrong hehe
Maybe what we can do is to put the display first before the process of adding 1 so it will become 59 first, put a 1second delay then proceed to the next steps. With that, we now rely on the Computer's ability to work so fast that even the display went 60 it will not be noticable by our naked eye.
- iramaeGuru
- Posts : 10
Join date : 2018-08-08
Re: Application of Looping
Thu Aug 16, 2018 7:26 am
airojames wrote:Pox wrote:Kunti na lang ganyan na din yung program ko
Sayang nga pre kung may time lang 2nd batch haha
Sent from Topic'it App
kaya next time, maging aware na sa oras and magiging strict na para fair na sa lahat
Page 1 of 5 • 1, 2, 3, 4, 5
Permissions in this forum:
You cannot reply to topics in this forum
|
|