Looping
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using Loop Control Variable

+19
Ferre
Rfrancis03
Vann Lewis
Jericho
Rhei
Pox
Asdfghjkl
iramae
judedominguiano
Louise Sebastiane Yagi
Lunsszxc
justjoking10
airojames
myramonique
Emie Laide
Sean
Luwiezzzz
James Navarro
daniella
23 posters
Go down
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 9:11 am
justjoking10 wrote:
Lunsszxc wrote:Ay surry akala ko po si maam daniella lang Very Happy salamat sa po Very Happy Naguguluhan po kase ako kasi sabi ang nested loop ay may loop sa isang loop pero sabi nung iba kelangan nasa module Very Happy salamat po naliwanagan rin Very Happy

@Lunsszxc. Pwede mo ilagay ang loop s loob ng module. Pwede den mag lagay ng module s loob ng module.

right! Very Happy We're using loops and Module to make our program structured and precise Smile
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 9:13 am
justjoking10 wrote:Does anyone have a problem where a definite loop is used even if a user is present?

pwede naman yun basta naka NESTEED LOOP. For example pwede sa outer loop users input, yung inner loop yung Counter, na fixed value Smile
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 9:15 am
Lunsszxc wrote:Maam yung nested loop ba kelangan nasa module ? Very Happy or pwede na wala sa module pero may loop sa isang loop ? askin' lang po

Yes! gumagamit tayo ng module para mas maayos at nakagroup yung instruction Smile
avatar
Louise Sebastiane Yagi
Guru
Posts : 19
Join date : 2018-07-27

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 6:05 pm
Ma’am if wala pong Loop Control Variable, is it possible po ba na mag-continue ng loop? Or magiging infinite loop lang po siya?

Sent from Topic'it App
avatar
justjoking10
Guru
Posts : 25
Join date : 2018-08-01

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 7:13 pm
daniella wrote:
justjoking10 wrote:
myramonique wrote:
justjoking10 wrote:
myramonique wrote:
justjoking10 wrote:Based on the explanation. Definite loops should be used if no user is present and Indefinite Loops if there will be a user.

Yah yah yah. Kasi kapag gumamit ka ng indefinit loop tapos walang user. Non sense din 😂😂


@myramonique. What if ang purpose ng program mo ay to repeat something that the user had input.

Kailangan gumamit ng sentinel value para matapos yung loop? 😅 hehehe tama ba?

Sent from Topic'it App

And clarify ko ahh. Based s explanation DEFINITE LOOP = NO USER. INDEFINITE LOOP = WITH USER. D ako sure ehh. Wala kc akong maisip n problem to pseudo code. Pero meron atang ganung program. Antay nlng tayo ng response ni maam.

Basta may kinalaman kay USER , sentinel agad, indefinite kasi nag iintay ka ng response, unlike sa counter DEFINITE, FIXED, Programmer ang gagawa, example nun clock, wala naman tayong binabago, except kungmay lalagay ka ng alaram clock at timer , papasok doon yung database at sentinel Smile

Copy po maam. Ung iniisip ko po kcng program is classified as spam na sya. So very bad po un. D dpt nagawa ng ganun.
judedominguiano
judedominguiano
Guru
Posts : 10
Join date : 2018-08-01

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 02, 2018 9:44 pm
myramonique wrote:
airojames wrote:Mam b6akit po sa exam namin hindi na sya naginitialize,alter and tested?
Nangyari yun. Di naman magluloop kung di mangyayari yun e.

Sent from Topic'it App
initialized siya kasi may first value siya, altered kasi its either nag increment or decrement, tested kasi dumaan ulit siya sa decision box tama ba ma'am?
avatar
airojames
Guru
Posts : 11
Join date : 2018-07-31

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Tue Aug 07, 2018 11:24 pm
Looping? Dba tawag yun sa dalawa paningin?
Ok corny

Sent from Topic'it App
avatar
airojames
Guru
Posts : 11
Join date : 2018-07-31

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Tue Aug 07, 2018 11:26 pm
Kapag may paa na ba yung while loop?
Whileloopfeet na sya? Hahaha yoko na

Sent from Topic'it App
avatar
iramae
Guru
Posts : 10
Join date : 2018-08-01

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Wed Aug 08, 2018 7:50 am
airojames wrote:Looping? Dba tawag yun sa dalawa paningin?
Ok corny

Sent from Topic'it App

Sa tingin ko need niyo na talaga ng tulog XD
avatar
iramae
Guru
Posts : 10
Join date : 2018-08-01

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Wed Aug 08, 2018 7:50 am
airojames wrote:Kapag may paa na ba yung while loop?
Whileloopfeet na sya? Hahaha yoko na

Sent from Topic'it App

XD XD
judedominguiano
judedominguiano
Guru
Posts : 10
Join date : 2018-08-01

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Wed Aug 08, 2018 8:36 am
judedominguiano wrote:
myramonique wrote:
airojames wrote:Mam b6akit po sa exam namin hindi na sya naginitialize,alter and tested?
Nangyari yun. Di naman magluloop kung di mangyayari yun e.

Sent from Topic'it App
initialized siya kasi may first value siya, altered kasi its either nag increment or decrement, tested kasi dumaan ulit siya sa decision box tama ba ma'am?
waiting for a reply .....
Asdfghjkl
Asdfghjkl
Guru
Posts : 12
Join date : 2018-08-03

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Fri Aug 10, 2018 11:08 am
Ma'am ano pong pinagkaiba ng priming sa sentinel?

Sent from Topic'it App
James Navarro
James Navarro
Guru
Posts : 12
Join date : 2018-07-31

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 7:11 am
Ahh gets gets hahaha

Sent from Topic'it App
Pox
Pox
Guru
Posts : 11
Join date : 2018-08-11

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 6:50 pm
If hindi naaltered yung loop control variable hindi na ba gagana yung program?

Sent from Topic'it App
Pox
Pox
Guru
Posts : 11
Join date : 2018-08-11

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 6:54 pm
Asdfghjkl wrote:Ma'am ano pong pinagkaiba ng priming sa sentinel?

Priming kasi, sya yung i-input mo kapag para maging structured yung program mo?
Yung sentinel naman nasa user yun kung ititigil nya yung loop or hindi?

Sent from Topic'it App
Pox
Pox
Guru
Posts : 11
Join date : 2018-08-11

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 7:00 pm
Louise Sebastiane Yagi wrote:Ma’am if wala pong Loop Control Variable, is it possible po ba na mag-continue ng loop? Or magiging infinite loop lang po siya?


Sa tingin ko Commonsense lang yan pre haha kasi kaya nga may loop control variable coming from the word "loop control" sya yung gagamitin mo para hindi maging infinite loop.

Sent from Topic'it App

kapag walang cocontrol sa sasakyan, paano aandar.... Sad
Pox
Pox
Guru
Posts : 11
Join date : 2018-08-11

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 7:01 pm
airojames wrote:Looping? Dba tawag yun sa dalawa paningin?
Ok corny


Tawag sa tuhod ng mais?
Corn-knee

Sent from Topic'it App
Pox
Pox
Guru
Posts : 11
Join date : 2018-08-11

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Sat Aug 11, 2018 7:03 pm
iramae wrote:
airojames wrote:Looping? Dba tawag yun sa dalawa paningin?
Ok corny


Sa tingin ko need niyo na talaga ng tulog XD

Baka kailangan mo ng maliit na unan?
Unano?

Sent from Topic'it App
avatar
Rhei
Guru
Posts : 11
Join date : 2018-07-28

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:14 am
thank you po maam sa matyagang pagtuturo sa amin! Very Happy
avatar
Rhei
Guru
Posts : 11
Join date : 2018-07-28

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:16 am
Pox wrote:
iramae wrote:
airojames wrote:Looping? Dba tawag yun sa dalawa paningin?
Ok corny


Sa tingin ko need niyo na talaga ng tulog XD

Baka kailangan mo ng maliit na unan?
Unano?

Sent from Topic'it App
HAHAHAHA Laughing Laughing
Asdfghjkl
Asdfghjkl
Guru
Posts : 12
Join date : 2018-08-03

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:25 am
Clarification lang po bale po sa paglalagay ng counter variable kailangan po talaga lagi exact value kagaya po nung sa time kasi po diba 59 lang yung nalabas pero still pa rin po 60 yung dapat ilagay sa counter variable.
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:27 am
Asdfghjkl wrote:Clarification lang po bale po sa paglalagay ng counter variable kailangan po talaga lagi exact value kagaya po  nung sa time kasi po diba 59 lang yung nalabas pero still pa rin po 60 yung dapat ilagay sa counter variable.

Exactly!Smile
Asdfghjkl
Asdfghjkl
Guru
Posts : 12
Join date : 2018-08-03

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:27 am
Rhei wrote:
Pox wrote:
iramae wrote:
airojames wrote:Looping? Dba tawag yun sa dalawa paningin?
Ok corny


Sa tingin ko need niyo na talaga ng tulog XD

Baka kailangan mo ng maliit na unan?
Unano?

Sent from Topic'it App
HAHAHAHA Laughing Laughing
Kaylangan nyo si myra
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:28 am
Rhei wrote:thank you po maam sa matyagang pagtuturo sa amin! Very Happy

hahaha kailangan para pumasa joke. Smile) love ko kayo kahit di niyo ko love sad Wink Sad Very Happy
daniella
daniella
Admin
Posts : 42
Join date : 2018-07-24
Age : 25
Location : Dasmarinas City of Cavite
https://daniella.forumotion.com

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

Thu Aug 16, 2018 10:30 am
Pox wrote:If hindi naaltered yung loop control variable hindi na ba gagana yung program?

Sent from Topic'it App

gagana kaso hindi magcocontinue at matatapos ang program na sinimulan mo, hindi na siya makakalabas...dahil nakulong na siya Sad  lol Smile


Last edited by daniella on Thu Aug 16, 2018 10:30 am; edited 1 time in total
Sponsored content

Using Loop Control Variable - Page 2 Empty Re: Using Loop Control Variable

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