What is an Array?
+25
Jung kook
iramae
Ferre
Bermon O. Ferreras Jr
Rfrancis03
ellariana
HENERAL LUNA
Richard
Rhei
rsls
Noob
jandercoliao
Asdfghjkl
Asparin
Passerby
Myra Monique Acuna
Pox
Lawrence
judedominguiano
airojames
Emie Ligutan
Sean
Sean Monacillo
LouiseSebastianeYagi
justjoking10
29 posters
- justjoking10Expert
- Posts : 13
Join date : 2018-08-02
Re: What is an Array?
Thu Aug 02, 2018 9:54 pm
Ang tingin ko naman kaya walang list sa loob ng array kc may variable n for the list.
Example. List1 = (banana, apple, orange)
Pag nilagay mo sya s array dba ang variable lng ung mababago. Imbis n List1 ung variable mo, magiging Array1[0].
Example. List1 = (banana, apple, orange)
Pag nilagay mo sya s array dba ang variable lng ung mababago. Imbis n List1 ung variable mo, magiging Array1[0].
- justjoking10Expert
- Posts : 13
Join date : 2018-08-02
Re: What is an Array?
Thu Aug 02, 2018 9:55 pm
BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
- LouiseSebastianeYagiExpert
- Posts : 29
Join date : 2018-08-02
Age : 25
Re: What is an Array?
Thu Aug 02, 2018 9:58 pm
Meron dapat ganung example kanina si Ma’am kaso feel ko nawala yung picture.
Sent from Topic'it App
yung may string arrays naman, wala talaga siyang exact sample pero gagawan ko ng forum yung lahat ng samples na hinihingi ninyo
Sent from Topic'it App
yung may string arrays naman, wala talaga siyang exact sample pero gagawan ko ng forum yung lahat ng samples na hinihingi ninyo
- justjoking10Expert
- Posts : 13
Join date : 2018-08-02
Re: What is an Array?
Thu Aug 02, 2018 10:01 pm
Ung may array for productName tsaka productPrice?
- LouiseSebastianeYagiExpert
- Posts : 29
Join date : 2018-08-02
Age : 25
Re: What is an Array?
Thu Aug 02, 2018 10:04 pm
Hindi. Bukod pa dun.
Sent from Topic'it App
Sent from Topic'it App
- justjoking10Expert
- Posts : 13
Join date : 2018-08-02
Re: What is an Array?
Thu Aug 02, 2018 10:05 pm
Ahhh. Nakalimutan ko ata. Sana ipost ni maam. Aaralin ko den.
- LouiseSebastianeYagiExpert
- Posts : 29
Join date : 2018-08-02
Age : 25
Re: What is an Array?
Thu Aug 02, 2018 10:11 pm
Oo. Masmaigi na kumpleto maging reference natin para di tayo mabigla
Sent from Topic'it App
Sent from Topic'it App
Re: What is an Array?
Thu Aug 02, 2018 10:54 pm
Sean Monacillo wrote:Ma'am may limit po ba sa paglalagay ng array sa isang program ?
Sent from Topic'it App
No, walang limit kung lang arrays ang gusto mo sa program mo, ang nalilimitahan mo lang ay yung array elements mo dahil sa size of array mo.
Re: What is an Array?
Thu Aug 02, 2018 11:01 pm
justjoking10 wrote:LouiseSebastianeYagi wrote:Alam ko pre walang limit eh. Kasi naka-depende sa logic na hinihingi yung limit ng array mo.
Sent from Topic'it App
D ko sure ahh. Pero parang may sinabi si maam n limit ng number n pwede mo lng daw ilagay ehh. Trillion ata. Not sure pero ibang lesson p daw un.
Yung sinabi ko na either hanggang trillion or millions lang, limit lang yung ng values ng data type mo, for example, kapag int ang gamit mo, mula -2,147,483,648 to 2,147,483,647 lang ang range ng numbers na pwede mong magamit sa int na data type mo.
Re: What is an Array?
Thu Aug 02, 2018 11:04 pm
justjoking10 wrote:BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
ah okay, ipopost ko as another forum yung sample na may string tomorrow.
Re: What is an Array?
Thu Aug 02, 2018 11:11 pm
LouiseSebastianeYagi wrote:Oo. Masmaigi na kumpleto maging reference natin para di tayo mabigla
Sent from Topic'it App
sige subukan ko na mailagay yung topic pero sa parallel arraya nalang , yung string arrays naman, magbibigay nalang ako ng sample para malaman lang kung pano siya magagamit.
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:42 pm
...Sean Monacillo wrote:Hmmm hindi ata pwede pre . i think kasi kung iisipin angguloLouiseSebastianeYagi wrote:Ma’am is it possible that an array can exist within a list?
Sent from Topic'it App
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:42 pm
...Sean Monacillo wrote:Ma'am may limit po ba sa paglalagay ng array sa isang program ?
Sent from Topic'it App
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:43 pm
Ty pre hahahajustjoking10 wrote:Sean Monacillo wrote:so it means dipende parin sa program na gagawin or sa problem na gagawin tama ba pre ?LouiseSebastianeYagi wrote:Alam ko pre walang limit eh. Kasi naka-depende sa logic na hinihingi yung limit ng array mo.
Tama pre. Pero iniiwasan ata ang sobrang laking array.
Sent from Topic'it App
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:45 pm
tama pre . tsaka sa isang array kasi dapat same sila ng data parehas jan sa example mo same sila na puro fruits .justjoking10 wrote:Ang tingin ko naman kaya walang list sa loob ng array kc may variable n for the list.
Example. List1 = (banana, apple, orange)
Pag nilagay mo sya s array dba ang variable lng ung mababago. Imbis n List1 ung variable mo, magiging Array1[0].
Sent from Topic'it App
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:48 pm
Alam ko may example nun si ma'am eh . Yung sa mga months pre . Yung parang ganto ata ArrayMonths[12]=January, February, March, April and so on ..justjoking10 wrote:BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
Sent from Topic'it App
- SeanExpert
- Posts : 16
Join date : 2018-08-02
Re: What is an Array?
Fri Aug 03, 2018 5:50 pm
Thank you po sa answer ma'amiramae wrote:Sean Monacillo wrote:Ma'am may limit po ba sa paglalagay ng array sa isang program ?
No, walang limit kung lang arrays ang gusto mo sa program mo, ang nalilimitahan mo lang ay yung array elements mo dahil sa size of array mo.
Sent from Topic'it App
- LouiseSebastianeYagiExpert
- Posts : 29
Join date : 2018-08-02
Age : 25
Re: What is an Array?
Fri Aug 03, 2018 7:35 pm
Ma’am kung sakali po ba pwedeng gamitin itong forum as reference for the final activity?
Sent from Topic'it App
Sent from Topic'it App
Re: What is an Array?
Fri Aug 03, 2018 7:47 pm
justjoking10 wrote:LouiseSebastianeYagi wrote:Oo pre. Pero dun sa explanation ni Ma’am about sa [998]={0} hindi ka na halos mag-aabala about sa dami ng array na ilalagay mo.
Sent from Topic'it App
Short method ung Array[998]. Pero walang list don s loob ng array.
Yes, naging short method siya for instance lang na mag iinitialize ka lang ng zero lahat ng 998 elements mo, ibig sabihin, zero pa lang lahat ng array element mo
Re: What is an Array?
Fri Aug 03, 2018 7:49 pm
LouiseSebastianeYagi wrote:Ma’am kung sakali po ba pwedeng gamitin itong forum as reference for the final activity?
Sent from Topic'it App
just take a screenshot or take down notes kase bawal magbukas ng forum kapag exam na..and have your own lecture
- LouiseSebastianeYagiExpert
- Posts : 29
Join date : 2018-08-02
Age : 25
Re: What is an Array?
Fri Aug 03, 2018 7:50 pm
Okay po ma’am noted po. Thank you!
Sent from Topic'it App
Sent from Topic'it App
Re: What is an Array?
Fri Aug 03, 2018 8:39 pm
WelcomeLouiseSebastianeYagi wrote:Okay po ma’am noted po. Thank you!
Sent from Topic'it App
Re: What is an Array?
Fri Aug 03, 2018 8:40 pm
Sean wrote:Alam ko may example nun si ma'am eh . Yung sa mga months pre . Yung parang ganto ata ArrayMonths[12]=January, February, March, April and so on ..justjoking10 wrote:BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
Sent from Topic'it App
Yes yun yung sample na string arrays, yung sa month. Ill post it later or tomorrow
- Emie LigutanExpert
- Posts : 13
Join date : 2018-08-03
Re: What is an Array?
Fri Aug 03, 2018 9:29 pm
Pano nmn po kung ung first element po nung array ay may value na. For example po 9 .tapos ung ibang element ay 0 na. Ang array size po ay [998] pano po yun sa declaration? May shorcut parin po ba o kylangan ilagay na lahat sa declaration ung 998 na elements.??
- airojamesExpert
- Posts : 14
Join date : 2018-08-03
Re: What is an Array?
Fri Aug 03, 2018 9:52 pm
Grabe dami agad messages mga lodi haha
madami ako matutunan sa forum na to
madami ako matutunan sa forum na to
Permissions in this forum:
You cannot reply to topics in this forum