By
:
Mohammed
H.
Kurdi
10/27/14
Computer
programming
Array
1
Introduction
of
content
Denition
of
array
in
programing.
Declaring
One-
Dimensional
integer
array
Given
an
array
size
Assign
a
number
to
the
index.
Declaring
One-
Dimensional
string
array.
Given
an
array
size
Assign
a
word
to
the
index.
+
Short
Quiz.
+
Summary.
10/27/14
By
:
Mohammed
H.
Kurdi
Denition
of
array
in
programing
An
array
is
a
container
object
that
holds
a
xed
number
of
values
of
a
single
type.
10/27/14
By
:
Mohammed
H.
Kurdi
Declaring
One-
Dimensional
integer
array
Declaring
integer
:
Int
..[];
Create
an
array
size:
=
new
int
[];
Assing
the
integer
to
the
rst
index
:
[..] =
;
10/27/14
By
:
Mohammed
H.
Kurdi
Declaring
One-
Dimensional
string
array
Declaring
integer
:
String
..[];
Create
an
array
size:
=
new
string
[];
Assing
the
integer
to
the
rst
index
:
[..] =
;
10/27/14
By
:
Mohammed
H.
Kurdi
Short
Quiz
Create
an
array
by
using
One-
Dimensional
as
a
following
:
[Link]
an
array
of
integers
by
giving
size
(4)
and
assign
these
numbers
(45,66,35,87,100)
to
the
index.
[Link]
an
array
of
string
by
giving
size
(5)
and
assign
these
words
(moh,
boos,
sea,
red,
two)
to
the
index.
Comment
:
pot
each
number
and
each
word
in
the
rst
index.
10/27/14
By
:
Mohammed
H.
Kurdi
Summary
Denition
of
array
in
programing.
Declaring
One-
Dimensional
integer
array
Given
an
array
size
Assign
a
number
to
the
index.
Declaring
One-
Dimensional
string
array.
Given
an
array
size
Assign
a
word
to
the
index.
10/27/14
By
:
Mohammed
H.
Kurdi
Thank
You
These
are
the
references
that
help
you
with
a
lot
of
examples
for
one-dimensional
array.
[Link]
[Link]
[Link]
[Link]
10/27/14
By
:
Mohammed
H.
Kurdi