Share
Go down
Expert
Posts : 13
Join date : 2018-08-02
View user profile

Re: What is an Array?

on 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].
Expert
Posts : 13
Join date : 2018-08-02
View user profile

Re: What is an Array?

on 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.
avatar
Expert
Posts : 29
Join date : 2018-08-02
Age : 18
View user profile

Re: What is an Array?

on 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
Expert
Posts : 13
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Thu Aug 02, 2018 10:01 pm
Ung may array for productName tsaka productPrice?
avatar
Expert
Posts : 29
Join date : 2018-08-02
Age : 18
View user profile

Re: What is an Array?

on Thu Aug 02, 2018 10:04 pm
Hindi. Bukod pa dun.

Sent from Topic'it App
Expert
Posts : 13
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Thu Aug 02, 2018 10:05 pm
Ahhh. Nakalimutan ko ata. Sana ipost ni maam. Aaralin ko den.
avatar
Expert
Posts : 29
Join date : 2018-08-02
Age : 18
View user profile

Re: What is an Array?

on Thu Aug 02, 2018 10:11 pm
Oo. Masmaigi na kumpleto maging reference natin para di tayo mabigla

Sent from Topic'it App
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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.
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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.
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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.
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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.
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 5:42 pm
Sean Monacillo wrote:
LouiseSebastianeYagi wrote:Ma’am is it possible that an array can exist within a list?

Hmmm hindi ata pwede pre . i think kasi kung iisipin anggulo 😂

...

Sent from Topic'it App
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on 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
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 5:43 pm
justjoking10 wrote:
Sean Monacillo wrote:
LouiseSebastianeYagi wrote:Alam ko pre walang limit eh. Kasi naka-depende sa logic na hinihingi yung limit ng array mo.

so it means dipende parin sa program na gagawin or sa problem na gagawin tama ba pre ?


Tama pre. Pero iniiwasan ata ang sobrang laking array.
Ty pre hahaha

Sent from Topic'it App
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 5:45 pm
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].
tama pre . tsaka sa isang array kasi dapat same sila ng data parehas jan sa example mo same sila na puro fruits .

Sent from Topic'it App
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 5:48 pm
justjoking10 wrote:BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
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 ..

Sent from Topic'it App
avatar
Expert
Posts : 16
Join date : 2018-08-02
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 5:50 pm
iramae 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.
Thank you po sa answer ma'am 😊

Sent from Topic'it App
avatar
Expert
Posts : 29
Join date : 2018-08-02
Age : 18
View user profile

Re: What is an Array?

on 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
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on 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
avatar
Expert
Posts : 29
Join date : 2018-08-02
Age : 18
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 7:50 pm
Okay po ma’am noted po. Thank you!

Sent from Topic'it App
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on Fri Aug 03, 2018 8:39 pm
LouiseSebastianeYagi wrote:Okay po ma’am noted po. Thank you!

Sent from Topic'it App
Welcome Smile
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

on Fri Aug 03, 2018 8:40 pm
Sean wrote:
justjoking10 wrote:BTW po maam. Pahingi nmn po ng example ng program na ang kailangan na nsa loob ng array ay string.
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  ..

Sent from Topic'it App

Yes yun yung sample na string arrays, yung sa month. Ill post it later or tomorrow Smile
Expert
Posts : 13
Join date : 2018-08-03
View user profile

Re: What is an Array?

on 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.??
Expert
Posts : 14
Join date : 2018-08-03
View user profile

Re: What is an Array?

on Fri Aug 03, 2018 9:52 pm
Grabe dami agad messages mga lodi haha
madami ako matutunan sa forum na to
Sponsored content

Re: What is an Array?

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