Share
Go down
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 12, 2018 10:10 pm
Myra Monique Acuna wrote:
Lawrence wrote:
judedominguiano wrote:Ano pong example ng isang program na may array?
sir pwede po ata example is yung sa subdivision po bale yung array po yung name ng subdivision tapos po yung mga element po yung mga bahay tapos yung value po nung element is kung ilan po yung tao sa bawat bahay.

Pwede din po bang gamitin ang parallel array kapag about sa grades? Yung ilalagay po yung equivalent ganon?

Sent from Topic'it App

Yes pwede siya, bale ang mangyayare, parang yung sa discount na example ko sa lecture, yung parang may limit yung ka-parallel niya
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 12, 2018 10:12 pm
Pox wrote:
Lawrence wrote:
Sean Monacillo wrote:Ma'am may limit po ba sa paglalagay ng array sa isang program ?

wala ata pre as long as walang kang dineclare kung ilan ang limit ng array mo

Wala pre kasi parang nabanggit ni mam na pwede multidimentional yung array and pwedeng hindi lang dalaqa

Sent from Topic'it App

Ang multidimensional na nabanggit ko before, isa siyang array pero mas pinalaki na version nga lang siya Smile kase sa single dimensional, isang haba lang siya, parang list, perp sa multidimensional, medyo lalaki yung arrays Smile
avatar
Expert
Posts : 10
Join date : 2018-08-08
View user profile

Re: What is an Array?

on Wed Aug 15, 2018 8:07 am
iramae wrote:
Pox wrote:
Lawrence wrote:
Sean Monacillo wrote:Ma'am may limit po ba sa paglalagay ng array sa isang program ?

wala ata pre as long as walang kang dineclare kung ilan ang limit ng array mo

Wala pre kasi parang nabanggit ni mam na pwede multidimentional yung array and pwedeng hindi lang dalaqa

Sent from Topic'it App

Ang multidimensional na nabanggit ko before, isa siyang array pero mas pinalaki na version nga lang siya Smile kase sa single dimensional, isang haba lang siya, parang list, perp sa multidimensional, medyo lalaki yung arrays Smile
It's limitless.
avatar
Expert
Posts : 10
Join date : 2018-08-08
View user profile

Re: What is an Array?

on Wed Aug 15, 2018 8:09 am
iramae wrote:
Myra Monique Acuna wrote:
Lawrence wrote:
judedominguiano wrote:Ano pong example ng isang program na may array?
sir pwede po ata example is yung sa subdivision po bale yung array po yung name ng subdivision tapos po yung mga element po yung mga bahay tapos yung value po nung element is kung ilan po yung tao sa bawat bahay.

Pwede din po bang gamitin ang parallel array kapag about sa grades? Yung ilalagay po yung equivalent ganon?

Sent from Topic'it App

Yes pwede siya, bale ang mangyayare, parang yung sa discount na example ko sa lecture, yung parang may limit yung ka-parallel niya
Nice examples. Mukhang gamay niyo na talaga ang arrays.
avatar
Posts : 1
Join date : 2018-08-15
View user profile

Re: What is an Array?

on Wed Aug 15, 2018 4:43 pm
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?
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 16, 2018 7:14 am
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.
avatar
Expert
Posts : 17
Join date : 2018-08-05
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 7:16 am
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.

Ma'am, what are their differences?

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 16, 2018 7:20 am
Myra Monique Acuna 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.

Ma'am, what are their differences?

Sent from Topic'it App

single dimensiona arrayl - yung one way list lang siya
multidimensional - dalawa na yung list of array mo, may rows at column na
associative array - arrays na may named keys
indexed array - arrays na numbers ang index


Common lang naman ginagamit yung single and multidimensional array. Pang malakihan na yung ibang types niya.
avatar
Expert
Posts : 17
Join date : 2018-08-05
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 7:27 am
iramae wrote:
Myra Monique Acuna 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.

Ma'am, what are their differences?


single dimensiona arrayl - yung one way list lang siya
multidimensional - dalawa na yung list of array mo, may rows at column na
associative array - arrays na may named keys
indexed array - arrays na numbers ang index


Common lang naman ginagamit yung single and multidimensional array. Pang malakihan na yung ibang types niya.

Okay po ma'am. Thank you po! 💓

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 16, 2018 7:28 am
Myra Monique Acuna wrote:
iramae wrote:
Myra Monique Acuna 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.

Ma'am, what are their differences?


single dimensiona arrayl - yung one way list lang siya
multidimensional - dalawa na yung list of array mo, may rows at column na
associative array -  arrays na may named keys
indexed array -  arrays na numbers ang index


Common lang naman ginagamit yung single and multidimensional array. Pang malakihan na yung ibang types niya.

Okay po ma'am. Thank you po! 💓




Sent from Topic'it App

You're welcome Smile
Expert
Posts : 10
Join date : 2018-08-16
Location : Hanapin mo~
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:04 am
LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.

Sent from Topic'it App
Malay ko sa list mo, pero yung Array is isang klase ng List.
Expert
Posts : 10
Join date : 2018-08-16
Location : Hanapin mo~
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:04 am
Bookmarked wrote:
LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.

Sent from Topic'it App
Malay ko sa list mo, pero yung Array ay isang klase ng List.
Expert
Posts : 10
Join date : 2018-08-16
Location : Hanapin mo~
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:14 am
Khen Asparin wrote:
LouiseSebastianeYagi wrote:Baka kaya walang list kasi type of list na yung Array. Opinion ko lang.

Sent from Topic'it App
Malay ko sa list mo, pero yung Array ay isang klase ng List.
avatar
Expert
Posts : 16
Join date : 2018-08-03
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:18 am
Pwede po ba gumamit ng boolean expression sa array? example po [3]=<16,18,>60
Expert
Posts : 10
Join date : 2018-08-16
Location : Hanapin mo~
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:20 am
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 ?

Sent from Topic'it App

Tama pre. Pero iniiwasan ata ang sobrang laking array.

Pagkaalam ko pre, naka-depende kasi sa logic kung may limit o wala~.
avatar
Expert
Posts : 16
Join date : 2018-08-03
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:21 am
Napansin ko po kasi sa flowchart na example at ginawa puro bad input lang po yung output, pwede po ba yun dagdagan kung ilan po yung nahanap example po for inventory lang ganun?
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 16, 2018 10:23 am
Asdfghjkl wrote:Napansin ko po kasi sa flowchart na example at ginawa puro bad input lang po yung output, pwede po ba yun dagdagan kung ilan po yung nahanap example po for inventory lang ganun?

pwede naman, icount mo nlng din siya
Expert
Posts : 10
Join date : 2018-08-16
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:24 am
LouiseSebastianeYagi wrote:Eh paano po ma’am kapag sa pseudo-code na siya ilalagay? Same lang po kapag dineclare na?

Sent from Topic'it App

depende yags Wink
Expert
Posts : 10
Join date : 2018-08-16
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:25 am
LouiseSebastianeYagi wrote: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

sayang nawala ung picture lol! lol! lol! lol! lol! lol! lol!
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 16, 2018 10:27 am
jandercoliao wrote:
LouiseSebastianeYagi wrote: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

sayang nawala ung picture lol! lol! lol! lol! lol! lol! lol!

Actually madame online, but different ways nga lang yun XD
avatar
Expert
Posts : 16
Join date : 2018-08-03
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:30 am
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.


so mam paano po yung multidimentional? pwede po bang parallel din po yung gagamitin i mean nakaset in order sila like parallel pero multidimentional?
avatar
Expert
Posts : 11
Join date : 2018-08-16
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:32 am
iramae wrote:
What is Arrays?

• Arrays is a series or list of values in computer memory
• All the values must be the same data type
• Each data item is one element of the array
• You can indicate the number of elements an array will hold—the size of the array









• Each array element is differentiated from the others with a unique subscript, also called an index

In this example, it shows a three-element array declaration

num prices[3] = {25.00, 36.50, 47.99}
prices[0] = 25.00
prices[1] = 36.50
prices[2] = 47.99











There are some reminders in declaring an arrays, these are:

1. Make sure any subscript remains less than the constant value.
2. Declare a named numeric constant to be used every time the array is accessed.


What are the characteristics of an array?

1. An array is a list of data items in contiguous memory locations.
2. Each data item in an array is an element.
3. Each array element is the same data type; by default, this means that each element is the same size.
4. Each element is differentiated from the others by a subscript, which is a whole number.
5. Usable subscripts for an array range from 0 to one less than the number of elements in an array.
6. Each array element can be used in the same way as a single item of the same data type.


ma'am salamat po! sana ay gabayan niyo pa po kami upang ang aming kaalaman ay umusbong ng sobra Very Happy
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 16, 2018 10:33 am
Asdfghjkl 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.


so mam paano po yung multidimentional? pwede po bang parallel din po yung gagamitin i mean nakaset in order sila like parallel pero multidimentional?

sa multidimensional, dun na yung may rows at column, parang sa excel na environment.
avatar
Expert
Posts : 11
Join date : 2018-08-16
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:33 am
LouiseSebastianeYagi wrote:About dun sa example kanina ma’am, yung 998 po, if yung array mo po is 998, bale yung zeros mo po sa declaration ay ganun din po kadami meaning mahaba po yung sa declarations. Paano po paiikliin yun? Hindi ko po kasi naintindihan masyado kanina kung paano po.

Sent from Topic'it App
Laughing Laughing Cool Cool ako nga rin ee medyo nakaligtaaan ko na
avatar
Expert
Posts : 16
Join date : 2018-08-03
View user profile

Re: What is an Array?

on Thu Aug 16, 2018 10:34 am
Pano po kung sa dalawang array po gusto ko po is example Laughing sa product 1 at 5 at iba pa pong product parehas lang po ng price sa second array may shortcut po ba yun or iisa isahin ko pa po yun
Sponsored content

Re: What is an Array?

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