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
- James NavarroExpert
- Posts : 12
Join date : 2018-08-05
Re: What is an Array?
Sun Aug 19, 2018 12:00 pm
kylenicole wrote:wala atang perpendicular array ehairojames wrote:Mam medyo witty po tanong ko kasi natanong na yata nila lahat haha
mam may perpendicular array po ba?
Sa math pre merong ganun hahaha
Sent from Topic'it App
- kylenicoleExpert
- Posts : 13
Join date : 2018-08-19
Re: What is an Array?
Sun Aug 19, 2018 12:02 pm
may ibat ibang mga types po pala ng arrayAsdfghjkl wrote:Anong type of array po yung tinuro nyo nung nakaraan?rsls wrote:iramae wrote:Passerby wrote:Ma'am I don't know if this has already been asked or anything but I'll ask anyway.
Ma'am what are the different types of arrays? Or does it even have different types?
Yes, there are different types of array, it can be indexed arrays, associative array, single dimensional array and multidimensional array.
Pwede paki explain pa ung different types of arrays. thanks.
Sent from Topic'it App
- James NavarroExpert
- Posts : 12
Join date : 2018-08-05
Re: What is an Array?
Sun Aug 19, 2018 12:03 pm
kylenicole wrote:sa pagkakaalam ko hindeRfrancis03 wrote:maam pwede kapa pobang maglagay ng array sa loob ng isang array ? just asking hahaha
Natanong na pala ito dati at nasagot na ni maam hehehe.. Hinde pala sya pwede
Sent from Topic'it App
- James NavarroExpert
- Posts : 12
Join date : 2018-08-05
Re: What is an Array?
Sun Aug 19, 2018 12:04 pm
Maaam thank you for this forum po di lang po sainyo ako natuto pati na din po sa mga classmate ko po
Sent from Topic'it App
Sent from Topic'it App
- kylenicoleExpert
- Posts : 13
Join date : 2018-08-19
Re: What is an Array?
Sun Aug 19, 2018 12:06 pm
magikaiba po yung list tas array?iramae wrote:LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.
Ang list kase para siya sa series or sequence of a number or words. Yung array naman, collection siya ng data and useful siya kapag gusto mo lang itago yung mga data na makukuha mo sa program or process mo
Sent from Topic'it App
- James NavarroExpert
- Posts : 12
Join date : 2018-08-05
Re: What is an Array?
Sun Aug 19, 2018 12:09 pm
Maam ano po ba example ng mga program na may single dimentional array at program na may multidimentional array?
Sent from Topic'it App
Sent from Topic'it App
- kylenicoleExpert
- Posts : 13
Join date : 2018-08-19
Re: What is an Array?
Sun Aug 19, 2018 12:10 pm
salamat sa information guysAsdfghjkl wrote:Myra Monique Acuna wrote:So pwede po palang kahit ilan po yung gamiting parallel arrays ma'am?airojames wrote:iramae wrote:airojames wrote: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.
Mam palagay ko po may limit sya kasi po
Parallel arrays nga po so kailangan po may kapares yung array na ilalagay mo so pwede pong walang limits as long as by pair?
Opinyon lang po hehe
sa parallel arrays, naging partner lang naman sila by using another process, yung tulad nung nadagdag na isa sa baba, and anytime, pwede mo naman magamit yung arrays mo. Walang limit kung ilang arrays meron ka sa isang program, depende nalang kung sobrang laki ng program mo
Ahh kala ko po once lang pwede gamitin yung pairs ng parallel
Salamat po sa knowledge mam
Oo erp kahit ilan depende sa ninanais mo
Sent from Topic'it App
- kylenicoleExpert
- Posts : 13
Join date : 2018-08-19
Re: What is an Array?
Sun Aug 19, 2018 12:12 pm
salamat po sa example mam heheiramae wrote:Rfrancis03 wrote:maam pwede makahingi pa ng example ng array ?
string array[5] = {"mark", "jm", "clay", "jem", "mike"}
Sent from Topic'it App
- kylenicoleExpert
- Posts : 13
Join date : 2018-08-19
Re: What is an Array?
Sun Aug 19, 2018 12:13 pm
madami po palang different types ng arrayrsls wrote:iramae wrote:Passerby wrote:Ma'am I don't know if this has already been asked or anything but I'll ask anyway.
Ma'am what are the different types of arrays? Or does it even have different types?
Yes, there are different types of array, it can be indexed arrays, associative array, single dimensional array and multidimensional array.
Pwede paki explain pa ung different types of arrays. thanks.
Sent from Topic'it App
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 1:06 pm
Asdfghjkl wrote:Anong type of array po yung tinuro nyo nung nakaraan?rsls wrote:iramae wrote:Passerby wrote:Ma'am I don't know if this has already been asked or anything but I'll ask anyway.
Ma'am what are the different types of arrays? Or does it even have different types?
Yes, there are different types of array, it can be indexed arrays, associative array, single dimensional array and multidimensional array.
Pwede paki explain pa ung different types of arrays. thanks.
May ibat iba pa palang types ng array
Sent from Topic'it App
Re: What is an Array?
Sun Aug 19, 2018 1:06 pm
James Navarro wrote:Maaam thank you for this forum po di lang po sainyo ako natuto pati na din po sa mga classmate ko po
Sent from Topic'it App
Welcome
Re: What is an Array?
Sun Aug 19, 2018 1:08 pm
James Navarro wrote:Maam ano po ba example ng mga program na may single dimentional array at program na may multidimentional array?
Sent from Topic'it App
sa single dimensional, pwede ung items available, prices and kahit ano pa, sa multidimensional naman, nandito na yung parang grading sheet may 1st grading, 2nd grading etc. pa
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 1:15 pm
iramae wrote:James Navarro wrote:Maam ano po ba example ng mga program na may single dimentional array at program na may multidimentional array?
sa single dimensional, pwede ung items available, prices and kahit ano pa, sa multidimensional naman, nandito na yung parang grading sheet may 1st grading, 2nd grading etc. pa
Maam pwede po give ka papo ng another example of dimensional at multidimensional?
Sent from Topic'it App
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 1:19 pm
Depende po pala.kylenicole wrote:salamat sa information guysAsdfghjkl wrote:Myra Monique Acuna wrote:So pwede po palang kahit ilan po yung gamiting parallel arrays ma'am?airojames wrote:iramae wrote:airojames wrote: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.
Mam palagay ko po may limit sya kasi po
Parallel arrays nga po so kailangan po may kapares yung array na ilalagay mo so pwede pong walang limits as long as by pair?
Opinyon lang po hehe
sa parallel arrays, naging partner lang naman sila by using another process, yung tulad nung nadagdag na isa sa baba, and anytime, pwede mo naman magamit yung arrays mo. Walang limit kung ilang arrays meron ka sa isang program, depende nalang kung sobrang laki ng program mo
Ahh kala ko po once lang pwede gamitin yung pairs ng parallel
Salamat po sa knowledge mam
Oo erp kahit ilan depende sa ninanais mo
Sent from Topic'it App
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 1:21 pm
Ah hindi hahaJames Navarro wrote:kylenicole wrote:sa pagkakaalam ko hindeRfrancis03 wrote:maam pwede kapa pobang maglagay ng array sa loob ng isang array ? just asking hahaha
Natanong na pala ito dati at nasagot na ni maam hehehe.. Hinde pala sya pwede
Sent from Topic'it App
- rapalLeecher
- Posts : 4
Join date : 2018-08-09
Re: What is an Array?
Sun Aug 19, 2018 1:51 pm
question: may maximum size po ba na pwede lang ilagay sa loob ng isang array? >>
- Jung kookExpert
- Posts : 13
Join date : 2018-08-12
Re: What is an Array?
Sun Aug 19, 2018 6:00 pm
iramae wrote:Jung kook wrote:iramae wrote:justjoking10 wrote:What is the difference of an array and a list?
Thank you for reminding me this question Brix.
Arrays and Lists can both used to store data but their main difference is that ARRAYS is a list of data that is usually stored in a blocks of memory and each element has their own index. While LISTS is a set of data that is arranged in some sort of order.
Another thing, the differences of the two is that ARRAYS can allow "direct access" and "sequential access" on the data while in LISTS allow only a sequential access.
Hindi ko po alam if nasagot na 'to, pero napakadami na kasing comments kaya itatanong ko na lang ulit, if natanong na nga.
Ano po yung "direct access" and "sequential access"?
(Kahit pede ko naman i-search sa google talaga xD)
Yung direct access, yun yung kahit nasa malayo pa yung data mo sa isang list, pwede mo siyang puntahan dahil sa memory address niya, while yung sequential access, kelangan niya muna dumaan sa lahat bago ka makapunta dun sa data memory address mo
Ayuuun. Thanks, Ma'am! Hehehehhe
Ma tatackle naman po 'to sa future lessons 'no, Ma'am?
Medyo 'di ko pa kasi ma gets bakit "Sequential access" lang ang pwede sa LISTS.
- Jung kookExpert
- Posts : 13
Join date : 2018-08-12
Re: What is an Array?
Sun Aug 19, 2018 6:04 pm
iramae wrote:Jung kook wrote:Ahm may tanong po.
Kunyare sa bangko, ilalagay ko yung mga accounts sa array.
Edi, sa simula pa lang po mag dedeclare na ako ng size ng array or kaya ng user mag dagdag ng size ng array?
kahit di kana maglagay ng size of an array, okay lang din, kase yung array na mismo magbibigay ng size at ng memory address niya.Bale mag iinput nalang yung user ng account niya then gagawa ka ng condition para ipasok siya sa array lists mo. Then possible na din na magchecking ka para hindi madoble yung maiinput na account.
Ahhhhhhhh edi pwede palang yung user ang mag dagdag tapos walang limit sa element ng array?
Sample, sa simula, ide-declare na size=0
Tas may char accounts[size]=0
Tas may process na size=size+1?
Ganyan ba, Ma'am?
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 6:10 pm
iramae wrote:Emie Ligutan wrote: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.??
Maaari siguro na ganto
num price[998]={9}
para yung unang element lang meron, yung mga susunod, 0 na kase wala nang katabi yung 9 ee, si array na bahala maglagay ng initial value sa iba pang element which is 0.
Depende po pala sa gagawing proposal
Sent from Topic'it App
- Alliah FaithExpert
- Posts : 10
Join date : 2018-08-18
Re: What is an Array?
Sun Aug 19, 2018 6:56 pm
iramae wrote:LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.
Ang list kase para siya sa series or sequence of a number or words. Yung array naman, collection siya ng data and useful siya kapag gusto mo lang itago yung mga data na makukuha mo sa program or process mo
Thankyou po sa mga new information na nalaman ko dito.
Sent from Topic'it App
- rslsExpert
- Posts : 11
Join date : 2018-08-05
Re: What is an Array?
Sun Aug 19, 2018 9:07 pm
Alliah Faith wrote:iramae wrote:James Navarro wrote:Maam ano po ba example ng mga program na may single dimentional array at program na may multidimentional array?
sa single dimensional, pwede ung items available, prices and kahit ano pa, sa multidimensional naman, nandito na yung parang grading sheet may 1st grading, 2nd grading etc. pa
Maam pwede po give ka papo ng another example of dimensional at multidimensional?
mas useful pala talaga ung multidimensional na array, thank u maam
Sent from Topic'it App
- rapalLeecher
- Posts : 4
Join date : 2018-08-09
Re: What is an Array?
Sun Aug 19, 2018 10:38 pm
mam ask ko lang po: is array can be a database?
Re: What is an Array?
Sun Aug 19, 2018 10:43 pm
rapal wrote:question: may maximum size po ba na pwede lang ilagay sa loob ng isang array? >>
as far as i know, walang max. size yun, depende nalang kung gusto mo, magdedeclare ka talaga at first
Re: What is an Array?
Sun Aug 19, 2018 10:44 pm
Jung kook wrote:iramae wrote:Jung kook wrote:iramae wrote:justjoking10 wrote:What is the difference of an array and a list?
Thank you for reminding me this question Brix.
Arrays and Lists can both used to store data but their main difference is that ARRAYS is a list of data that is usually stored in a blocks of memory and each element has their own index. While LISTS is a set of data that is arranged in some sort of order.
Another thing, the differences of the two is that ARRAYS can allow "direct access" and "sequential access" on the data while in LISTS allow only a sequential access.
Hindi ko po alam if nasagot na 'to, pero napakadami na kasing comments kaya itatanong ko na lang ulit, if natanong na nga.
Ano po yung "direct access" and "sequential access"?
(Kahit pede ko naman i-search sa google talaga xD)
Yung direct access, yun yung kahit nasa malayo pa yung data mo sa isang list, pwede mo siyang puntahan dahil sa memory address niya, while yung sequential access, kelangan niya muna dumaan sa lahat bago ka makapunta dun sa data memory address mo
Ayuuun. Thanks, Ma'am! Hehehehhe
Ma tatackle naman po 'to sa future lessons 'no, Ma'am?
Medyo 'di ko pa kasi ma gets bakit "Sequential access" lang ang pwede sa LISTS.
Yung iba lang matatackle sa class, maybe kapag programming na , dun mas malilinawan lahat Welcome
Re: What is an Array?
Sun Aug 19, 2018 10:45 pm
Alliah Faith wrote:iramae wrote:LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.
Ang list kase para siya sa series or sequence of a number or words. Yung array naman, collection siya ng data and useful siya kapag gusto mo lang itago yung mga data na makukuha mo sa program or process mo
Thankyou po sa mga new information na nalaman ko dito.
Sent from Topic'it App
Welcome
Permissions in this forum:
You cannot reply to topics in this forum