Share
Go down
avatar
Admin
Posts : 42
Join date : 2018-07-24
Age : 20
Location : Dasmarinas City of Cavite
View user profilehttp://daniella.forumotion.asia

Re: The FOR loop

on Thu Aug 02, 2018 8:04 am
James Navarro wrote:Maam ang dami ko pong natutunan sa forum nyo, sayang lang at huli na para itama ko yung sinagot ko dun sa quiz hehehe Sad

Sent from Topic'it App

sa huli ang pag-sisisi joke! Very Happy
avatar
Admin
Posts : 42
Join date : 2018-07-24
Age : 20
Location : Dasmarinas City of Cavite
View user profilehttp://daniella.forumotion.asia

Re: The FOR loop

on Thu Aug 02, 2018 8:05 am
airojames wrote:Yung for loop po ba isang beses lang pwede gamitin sa isang program? Wala po kasing sample nya

dito nalang yung examples Smile
avatar
Admin
Posts : 42
Join date : 2018-07-24
Age : 20
Location : Dasmarinas City of Cavite
View user profilehttp://daniella.forumotion.asia

Re: The FOR loop

on Thu Aug 02, 2018 8:12 am
Sean wrote:
michael jhon wrote:mam ano po yung step value siya ba yung nagse2t kung magiincrease yung value at magde2crease?
Oo pre siya yung mag se.set kung either magiincrease or magde.decrease yung value na gusto mo ma meet sa condition mo . Sa tingin ko ...

Sent from Topic'it App

right Sean, Thank you! Smile
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 6:03 pm
Kapag ang FOR Loop po ba nilagyan ng Control Variable, magiging WHILE Loop na po ba yun?

Sent from Topic'it App
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 6:06 pm
Ma’am ano po ba pinaka-main use ng FOR LOOP? Bakit po hindi nalang mag-stay sa WHILE Loop?

Sent from Topic'it App
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 6:08 pm
Tsaka base po dun sa examples na lging nag-iincrement, kailan naman po yung time na pwede siyang mag-decrement?

Sent from Topic'it App
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 6:10 pm
Ma’am mas madali po ba i-apply ang FOR Loop dun sa problem about sa time imbis po sa WHILE Loop?

Sent from Topic'it App
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 6:14 pm
Ma’am katulad po ng hinihingi nila, pwede din po ba makahingi ng examples para maintindihan ko po yung For Loop kasi po kahit ilang beses kong basahin yung examples, hindi ko po magamitan ng logic itong loop na ito. 🤣

Sent from Topic'it App
Guru
Posts : 25
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 7:35 pm
Louise Sebastiane Yagi wrote:Kapag ang FOR Loop po ba nilagyan ng Control Variable, magiging WHILE Loop na po ba yun?

Sent from Topic'it App

May control variable lahat ng loop. Nsa unahan ung mga if x<3.
Guru
Posts : 25
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 7:36 pm
Louise Sebastiane Yagi wrote:Ma’am ano po ba pinaka-main use ng FOR LOOP? Bakit po hindi nalang mag-stay sa WHILE Loop?

Sent from Topic'it App

Mas maikli pre. Mas makakasave ng space.
Guru
Posts : 25
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 7:38 pm
Louise Sebastiane Yagi wrote:Tsaka base po dun sa examples na lging nag-iincrement, kailan naman po yung time na pwede siyang mag-decrement?

Sent from Topic'it App

Increment pag mag add(increase) dba. So gagamitin if low value to high value ka. Example code s stop watch.
Decrement pag mag minus(decrease) dba. So gagamitin if high value to low value ka. Example code s time bomb.
Guru
Posts : 25
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 7:41 pm
Louise Sebastiane Yagi wrote:Ma’am mas madali po ba i-apply ang FOR Loop dun sa problem about sa time imbis po sa WHILE Loop?

Sent from Topic'it App

Mas madali ung WHILE Loop para sakin. D ko sure kung pano gagamitin ung FOR Loop ehh.
Guru
Posts : 19
Join date : 2018-07-27
View user profile

Re: The FOR loop

on Thu Aug 02, 2018 7:48 pm
Para saan yung space? Hindi naman limited sa programming diba?

Sent from Topic'it App
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Wed Aug 08, 2018 7:38 am
Louise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?

Sent from Topic'it App

Yeah, wala naman limitation sa programming as long as tama yung pagkakagawa mo.
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Wed Aug 08, 2018 7:38 am
daniella wrote:
James Navarro wrote:Maam ang dami ko pong natutunan sa forum nyo, sayang lang at huli na para itama ko yung sinagot ko dun sa quiz hehehe Sad

Sent from Topic'it App

sa huli ang pag-sisisi joke! Very Happy

hahaha kaya dapat pag nag exam, serious mode Smile Para naman makabawe lalo na sa mga susunod na magaganap sa sem na toh XD
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Wed Aug 08, 2018 7:40 am
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Ma’am mas madali po ba i-apply ang FOR Loop dun sa problem about sa time imbis po sa WHILE Loop?

Sent from Topic'it App

Mas madali ung WHILE Loop para sakin. D ko sure kung pano gagamitin ung FOR Loop ehh.

Yung while loop kase nag eexecute siya depende sa boolean expression na naka indicate dun.
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Wed Aug 08, 2018 7:41 am
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Ma’am ano po ba pinaka-main use ng FOR LOOP? Bakit po hindi nalang mag-stay sa WHILE Loop?

Sent from Topic'it App

Mas maikli pre. Mas makakasave ng space.

Sa while loop kase, nakadepende siya sa boolean expression na meron ka sa isang looping.
avatar
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The FOR loop

on Wed Aug 08, 2018 8:32 am
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Tsaka base po dun sa examples na lging nag-iincrement, kailan naman po yung time na pwede siyang mag-decrement?

Sent from Topic'it App

Increment pag mag add(increase) dba. So gagamitin if low value to high value ka. Example code s stop watch.
Decrement pag mag minus(decrease) dba. So gagamitin if high value to low value ka. Example code s time bomb.
So bawal na mag Decrement or Increment ang ISANG Loop Control Variable sa loob ng ISANG loop?
avatar
Guru
Posts : 12
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sat Aug 11, 2018 7:18 am
iramae wrote:
daniella wrote:
James Navarro wrote:Maam ang dami ko pong natutunan sa forum nyo, sayang lang at huli na para itama ko yung sinagot ko dun sa quiz hehehe [smiley]https://illiweb.com/fa/i/smiles/icon_sad.gif[/smiley]


sa huli ang pag-sisisi joke! [smiley]https://illiweb.com/fa/i/smiles/icon_biggrin.png[/smiley]

hahaha kaya dapat pag nag exam, serious mode [smiley]https://illiweb.com/fa/i/smiles/icon_smile.gif[/smiley] Para naman makabawe lalo na sa mga susunod na magaganap sa sem na toh XD

Bawi nalang po sa midterms hehehe Smile Sana tlaga hahaha

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

Re: The FOR loop

on Sat Aug 11, 2018 6:43 pm
Sa database po ba pwede gamitin yung for loop?

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

Re: The FOR loop

on Sat Aug 11, 2018 6:44 pm
Dela Peña, Johnpaul

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

Re: The FOR loop

on Sat Aug 11, 2018 7:06 pm
Mam yung while loop and for loop po ba hindi gagana ng walang boolean expression?

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

Re: The FOR loop

on Sat Aug 11, 2018 7:08 pm
Louise Sebastiane Yagi wrote:Kapag ang FOR Loop po ba nilagyan ng Control Variable, magiging WHILE Loop na po ba yun?


Hindi for loop pa rin yun kasi need ng dalawa magkaroon ng loop control variable

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

Re: The FOR loop

on Sat Aug 11, 2018 7:09 pm
Sean wrote:
Louise Sebastiane Yagi wrote:Ma’am Daniella, is it possible that a FOR-loop can appear within a while-loop?

Sa tingin ko pre Oo . Kasi same lang naman sila ng logic yung while statement at For statement .


Pwede nman pwede rin vice versa while loop within for loop

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

Re: The FOR loop

on Sat Aug 11, 2018 7:26 pm
Rhei wrote:Maam Ano po ang pinagkaiba sa paggamit ng For, If and While ? study Surprised
yung for at while same lang sila ginagamit sa loop. yung if naman naman hindi siya sa looping ginagamit.
Sponsored content

Re: The FOR loop

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