Share
Go down
avatar
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:31 am
althea faye wrote:sir , what is the advance of nested loop and while loop ?

advance nya is mas magagawa mo ng mabilis yung isang gawain .. mas mabilis mag wowork
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:32 am
Emie Ligutan wrote:
rapzie wrote:
Lhexmhar wrote:
LUNATHEGREAT wrote:
Jericho wrote:
LUNATHEGREAT wrote:Sir pwede mobang tawagin yung nested loop kahit wala sya sa module ?
pwede maging nested kahit walang modules i think.

salamat Very Happy naliwanagan na ako
Pwede naman pre Kaya lang naman ATA gumagamit ng Module is para di ka maguluhan kapag nag CHeck ka
oo par ganun yun ..hahah
Gumagamit ng module para din maganda tingnan . kumabaga golden ratio maganda sa patingin.
YUn nga mas maayos na din para kaapg may tumingin sa COde mas Mabilis nyang masusundan yunng FLow Very Happy
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:32 am
Emie Ligutan wrote:
rapzie wrote:
Lhexmhar wrote:
LUNATHEGREAT wrote:
Jericho wrote:
LUNATHEGREAT wrote:Sir pwede mobang tawagin yung nested loop kahit wala sya sa module ?
pwede maging nested kahit walang modules i think.

salamat Very Happy naliwanagan na ako
Pwede naman pre Kaya lang naman ATA gumagamit ng Module is para di ka maguluhan kapag nag CHeck ka
oo par ganun yun ..hahah
Gumagamit ng module para din maganda tingnan . kumabaga golden ratio maganda sa patingin.
YUn nga mas maayos na din para kaapg may tumingin sa COde mas Mabilis nyang masusundan yunng FLow Very Happy
avatar
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:32 am
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 Smile

yes naman.. kung gusto mo wag mo nang patapusin yung alarm
avatar
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:33 am
sir bakit po ba kaylangan mag decision kung parehas lang din naman po ang pupuntahan Sad
avatar
Admin
Posts : 132
Join date : 2018-07-25
View user profilehttp://jmdomain.forumotion.asia

Re: Application of Looping

on Thu Aug 16, 2018 10:35 am
Kyohie wrote:
althea faye wrote:sir , what is the advance of nested loop and while loop ?

advance nya is mas magagawa mo ng mabilis yung isang gawain .. mas mabilis mag wowork
yes lalo na pag paulit ulit
avatar
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:35 am
yung looping po ba sir mas malaking space ang need ?
avatar
Guru
Posts : 10
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:36 am
thank sa extra knowledge sir .. sana magamit ko to ng maayus at tama Smile
avatar
Admin
Posts : 132
Join date : 2018-07-25
View user profilehttp://jmdomain.forumotion.asia

Re: Application of Looping

on Thu Aug 16, 2018 10:41 am
Bermon O. Ferreras Jr wrote:thank sa extra knowledge sir .. sana magamit ko to ng maayus at tama Smile
You're welcome. You can do it Cool
Posts : 1
Join date : 2018-08-16
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 10:58 am
James Navarro wrote:Medyo matagal lang magprocess sa utak ko sir pero gets naman po yung logic nya po Smile

Sent from Topic'it App

same tayo, 2 days bago ko maintindihan, hahaha lol! lol! lol! lol! lol!
avatar
Guru
Posts : 11
Join date : 2018-08-01
View user profile

Re: Application of Looping

on Thu Aug 16, 2018 12:44 pm
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
So dapat tawag sa kanya "flaw"-chart? lol Laughing
avatar
Admin
Posts : 132
Join date : 2018-07-25
View user profilehttp://jmdomain.forumotion.asia

Re: Application of Looping

on Fri Aug 17, 2018 7:49 am
ilovebts wrote:
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
So dapat tawag sa kanya "flaw"-chart? lol Laughing
Pang matalinong joke naman po pala Laughing
avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:08 pm
Jericho wrote:
LUNATHEGREAT wrote:Sir pwede mobang tawagin yung nested loop kahit wala sya sa module ?
pwede maging nested kahit walang modules i think.

Ahm, mag rurun naman yung nested loop as long as nasa body sya. (Kung wala sa module)
avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:11 pm
Jericho wrote:Do modules shorten the codes in programming ?

Yep. Because instead of typing the same codes again and again, we can just module codes so all we need to do is call the moduleName.

avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:12 pm
Jericho wrote:
Jericho wrote:Do modules shorten the codes in programming ?
oo pre mababawasan yung codes.

BWAHAHAHHAHAAHAHHAAHHAHAHAH XD amf
avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:18 pm
Bermon O. Ferreras Jr wrote:
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 Smile

yes naman.. kung gusto mo wag mo nang patapusin yung alarm

HAHHAHHAHA XD ewan ko na lang kung di ka pa bumangon non
avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:22 pm
ilovebts wrote:
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
So dapat tawag sa kanya "flaw"-chart? lol Laughing

Eyyyyyyyy!

avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:26 pm
Ang iniimagine ko. Paano nag kakaroon ng 1-second delay ang clock program?

Imagine, wala pang program na clock ang computer. Paano neto nalalaman yung 1-second delay?

/naningkit/

hmmmmm


avatar
Guru
Posts : 12
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 7:34 pm
Jung kook wrote:Ang iniimagine ko. Paano nag kakaroon ng 1-second delay ang clock program?

Imagine, wala pang program na clock ang computer. Paano neto nalalaman yung 1-second delay?

/naningkit/

hmmmmm



Sagutin ko din. Para plus points BWAAHHHAHAHHAHAHA

Ayun, nasearch ko to.

To tell time, the clock uses a quartz crystal oscillator that creates a stable, periodic electromagnetic signal or vibration. By counting the vibrations, the computer can tell the time. [PDF] The RTC is powered by a very small battery (usually lithium) that keeps it running even when the computer is off. That way, when you turn the computer back on, the time is still set.

Bale, may physical hardware pala na nag vivibrate para ma determine ang per second. Built-in na pala sya. Tas from that distinguished 1 second delay. Makaka buo ka na ng clock program. (Yes, distinguished)


avatar
Guru
Posts : 13
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 8:04 pm
Jung kook wrote:
Jung kook wrote:Ang iniimagine ko. Paano nag kakaroon ng 1-second delay ang clock program?

Imagine, wala pang program na clock ang computer. Paano neto nalalaman yung 1-second delay?

/naningkit/

hmmmmm



Sagutin ko din. Para plus points BWAAHHHAHAHHAHAHA

Ayun, nasearch ko to.

To tell time, the clock uses a quartz crystal oscillator that creates a stable, periodic electromagnetic signal or vibration. By counting the vibrations, the computer can tell the time. [PDF] The RTC is powered by a very small battery (usually lithium) that keeps it running even when the computer is off. That way, when you turn the computer back on, the time is still set.

Bale, may physical hardware pala na nag vivibrate para ma determine ang per second. Built-in na pala sya. Tas from that distinguished 1 second delay. Makaka buo ka na ng clock program. (Yes, distinguished)

HAHAHAHAHA parang nagets ko na hindi😂

Sent from Topic'it App
avatar
Guru
Posts : 13
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 8:10 pm
Sir ano po mas madaling gawin magdetangled ng unstructured flowchart o gumawa po ng bago?

Sent from Topic'it App
avatar
Admin
Posts : 132
Join date : 2018-07-25
View user profilehttp://jmdomain.forumotion.asia

Re: Application of Looping

on Fri Aug 17, 2018 10:08 pm
Asdfghjkl wrote:
Jung kook wrote:
Jung kook wrote:Ang iniimagine ko. Paano nag kakaroon ng 1-second delay ang clock program?

Imagine, wala pang program na clock ang computer. Paano neto nalalaman yung 1-second delay?

/naningkit/

hmmmmm



Sagutin ko din. Para plus points BWAAHHHAHAHHAHAHA

Ayun, nasearch ko to.

To tell time, the clock uses a quartz crystal oscillator that creates a stable, periodic electromagnetic signal or vibration. By counting the vibrations, the computer can tell the time. [PDF] The RTC is powered by a very small battery (usually lithium) that keeps it running even when the computer is off. That way, when you turn the computer back on, the time is still set.

Bale, may physical hardware pala na nag vivibrate para ma determine ang per second. Built-in na pala sya. Tas from that distinguished 1 second delay. Makaka buo ka na ng clock program. (Yes, distinguished)

HAHAHAHAHA parang nagets ko na hindi😂
6
Sent from Topic'it App
thanks crystalyn very good research hehe at negegets ko rin ang gumugulo sa isip ni jung kook. So yun na nga, pano nag karoon na ng 1 sec delay eh yung program nga na binbuo natin eh timer? tama ba? ok pasok tayo dun sa 1 sec delay module, ang laman nun eh nested loops din. ganito kasi gumawa ng delay, for instance kayang magcountdown ng processor mo ng 1billion in 100 milliseconds then do it 10 times so now meron ka nang 1 second delay bago gawin yung susunod na dapat gawin depende sa flowchart gets na ba?
Guru
Posts : 12
Join date : 2018-08-12
Age : 18
Location : Dasmarinas Cavite
View user profile

Re: Application of Looping

on Fri Aug 17, 2018 10:27 pm
endless po ba ng pag loloop? kase tulad po ng ibang app, pag naka 5 x na na repeat , biglang nagbablock..
avatar
Admin
Posts : 132
Join date : 2018-07-25
View user profilehttp://jmdomain.forumotion.asia

Re: Application of Looping

on Fri Aug 17, 2018 11:40 pm
rapzie badoodles wrote:endless po ba ng pag loloop? kase tulad po ng ibang app, pag naka 5 x na na repeat , biglang nagbablock..
ginagamit natin ang loop variable control para masabi kung ilang ulit gagawin ang loop
avatar
Guru
Posts : 13
Join date : 2018-08-12
View user profile

Re: Application of Looping

on Sat Aug 18, 2018 4:48 am
Admin wrote:
Asdfghjkl wrote:
Jung kook wrote:
Jung kook wrote:Ang iniimagine ko. Paano nag kakaroon ng 1-second delay ang clock program?

Imagine, wala pang program na clock ang computer. Paano neto nalalaman yung 1-second delay?

/naningkit/

hmmmmm



Sagutin ko din. Para plus points BWAAHHHAHAHHAHAHA

Ayun, nasearch ko to.

To tell time, the clock uses a quartz crystal oscillator that creates a stable, periodic electromagnetic signal or vibration. By counting the vibrations, the computer can tell the time. [PDF] The RTC is powered by a very small battery (usually lithium) that keeps it running even when the computer is off. That way, when you turn the computer back on, the time is still set.

Bale, may physical hardware pala na nag vivibrate para ma determine ang per second. Built-in na pala sya. Tas from that distinguished 1 second delay. Makaka buo ka na ng clock program. (Yes, distinguished)

HAHAHAHAHA parang nagets ko na hindi😂
6
thanks crystalyn very good research hehe at negegets ko rin ang gumugulo sa isip ni jung kook. So yun na nga, pano nag karoon na ng 1 sec delay eh yung program nga na binbuo natin eh timer? tama ba? ok pasok tayo dun sa 1 sec delay module, ang laman nun eh nested loops din. ganito kasi gumawa ng delay, for instance kayang magcountdown ng processor mo ng 1billion in 100 milliseconds then do it 10 times so now meron ka nang 1 second delay bago gawin yung susunod na dapat gawin depende sa flowchart gets na ba?

Ahh okay po sir nagets ko na thank you po😂

Sent from Topic'it App
Sponsored content

Re: Application of Looping

Back to top
Permissions in this forum:
You cannot reply to topics in this forum