Share
Go down
avatar
Expert
Posts : 12
Join date : 2018-08-05
View user profile

Re: What is an Array?

on Sun Aug 19, 2018 12:00 pm
kylenicole wrote:
airojames wrote:Mam medyo witty po tanong ko kasi natanong na yata nila lahat haha
mam may perpendicular array po ba?
wala atang perpendicular array eh 😂


Sa math pre merong ganun hahaha

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

Re: What is an Array?

on Sun Aug 19, 2018 12:02 pm
Asdfghjkl wrote:
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.
Anong type of array po yung tinuro nyo nung nakaraan?
may ibat ibang mga types po pala ng array

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

Re: What is an Array?

on Sun Aug 19, 2018 12:03 pm
kylenicole wrote:
Rfrancis03 wrote:maam pwede kapa pobang maglagay ng array sa loob ng isang array ? just asking hahaha
sa pagkakaalam ko hinde


Natanong na pala ito dati at nasagot na ni maam hehehe.. Hinde pala sya pwede

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

Re: What is an Array?

on 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 Smile

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

Re: What is an Array?

on Sun Aug 19, 2018 12:06 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
magikaiba po yung list tas array?

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

Re: What is an Array?

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

Re: What is an Array?

on Sun Aug 19, 2018 12:10 pm
Asdfghjkl wrote:
Myra Monique Acuna wrote:
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

So pwede po palang kahit ilan po yung gamiting parallel arrays ma'am?


Oo erp kahit ilan depende sa ninanais mo😂

salamat sa information guys 😂

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

Re: What is an Array?

on Sun Aug 19, 2018 12:12 pm
iramae wrote:
Rfrancis03 wrote:maam pwede makahingi pa ng example ng array ?

string array[5] = {"mark", "jm", "clay", "jem", "mike"}
salamat po sa example mam hehe

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

Re: What is an Array?

on Sun Aug 19, 2018 12:13 pm
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.
madami po palang different types ng array

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

Re: What is an Array?

on Sun Aug 19, 2018 1:06 pm
Asdfghjkl wrote:
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.
Anong type of array po yung tinuro nyo nung nakaraan?

May ibat iba pa palang types ng array

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 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 Smile

Sent from Topic'it App

Welcome
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

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

Re: What is an Array?

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

Re: What is an Array?

on Sun Aug 19, 2018 1:19 pm
kylenicole wrote:
Asdfghjkl wrote:
Myra Monique Acuna wrote:
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

So pwede po palang kahit ilan po yung gamiting parallel arrays ma'am?


Oo erp kahit ilan depende sa ninanais mo😂

salamat sa information guys 😂

Depende po pala.

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

Re: What is an Array?

on Sun Aug 19, 2018 1:21 pm
James Navarro wrote:
kylenicole wrote:
Rfrancis03 wrote:maam pwede kapa pobang maglagay ng array sa loob ng isang array ? just asking hahaha
sa pagkakaalam ko hinde


Natanong na pala ito dati at nasagot na ni maam hehehe.. Hinde pala sya pwede

Ah hindi haha

Sent from Topic'it App
avatar
Leecher
Posts : 4
Join date : 2018-08-09
View user profile

Re: What is an Array?

on Sun Aug 19, 2018 1:51 pm
question: may maximum size po ba na pwede lang ilagay sa loob ng isang array? >>
Expert
Posts : 13
Join date : 2018-08-12
View user profile

Re: What is an Array?

on 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 Smile

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

Re: What is an Array?

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

Re: What is an Array?

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

Re: What is an Array?

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

Re: What is an Array?

on 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 Smile

Sent from Topic'it App
avatar
Leecher
Posts : 4
Join date : 2018-08-09
View user profile

Re: What is an Array?

on Sun Aug 19, 2018 10:38 pm
mam ask ko lang po: is array can be a database?
avatar
Admin
Posts : 139
Join date : 2018-07-19
Age : 19
View user profilehttp://iramaecomp.forumotion.com

Re: What is an Array?

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

Re: What is an Array?

on 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 Smile

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 Smile 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 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 Smile
Sponsored content

Re: What is an Array?

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