# data[].attributes.body
A mix of both, it was meant to be a hub of information of some sort.

# data[].attributes.body
what could the app be used for? Grades or contact information

# data[].attributes.body
I made a small app to collect info about students and I used the array as a way to store meaningless data.

# data[].attributes.body
What is your project and how are you using the array?

# data[].attributes.body
Period 2 cp1

# data[].attributes.body
Make an app where users can set goals and steps, and then there will be a priority counter where they can set each goal to have a certain priority level, and it will sort goals in order of priority. Haven't tested it yet so I'm not sure if it will work

# data[].attributes.body
Awesome, I really Like that advice piece!!

# data[].attributes.body
I used the starter database project in android studio to make an app where people can set their goals and then write what they must do to achieve them. Then, other users on the app can write advice to help with the goal or a comment/question if they have a similar goal.

# data[].attributes.body
Hello?

# data[].attributes.body
wrapping up one group

# data[].attributes.body
for x in 0...5
{
myHand[x] = deckofCards[x]
}

# data[].attributes.body
Correct

# data[].attributes.body
for x in 0...5
{
myHand[x] = deckofCards[x]
}

?

# data[].attributes.body
Yes, how can we replace "varaible" with the deckofCards array reference?

# data[].attributes.body
for x in 0...5
{
myHand[x] = "variable"
}

??

# data[].attributes.body
9. How can we use a variable from the for loop to help us change all the values in the array? *What values do the variable from the below for loop represent and how can that help us with arrays?

for x in 0...5

{

}

# data[].attributes.body
YASSSSSSS

# data[].attributes.body
myHand[0] = deckOfCards[0]

# data[].attributes.body
8.Change the first value of the array named myHand by (setting it equal to) referencing  first position in the array named deckofCards

# data[].attributes.body
*much

# data[].attributes.body
thank you sooo omuch

# data[].attributes.body
deckofCards[0]

# data[].attributes.body
deckOfCards[0]

# data[].attributes.body
Need help?

# data[].attributes.body
7. Type the code to reference the first position in the array named deckofCards

# data[].attributes.body
perfect

# data[].attributes.body
myHand[0] = x

# data[].attributes.body
6. Change the first value of the array named myHand by referencing  the variable x you created

# data[].attributes.body
var x = "something new"

# data[].attributes.body
NICE!

# data[].attributes.body
var x = "something new"

# data[].attributes.body
5. Create a String variable named x and give it a value of "something new

# data[].attributes.body
Excellent!

# data[].attributes.body
myHand[1]

# data[].attributes.body
myHand[1]

# data[].attributes.body
How do you "reference" the second position in the array myHand?

Hint: you would type myHand[0] to reference the first value in the array

# data[].attributes.body
for x in 0...4 {myHand[0] = "something new"}

# data[].attributes.body
myHand[0) = "something new"

# data[].attributes.body
0

# data[].attributes.body
for x 0...4{

# data[].attributes.body
3. Change the first value of the array named myHand to "Something new"

# data[].attributes.body
var deckOfCards = ["snickerdoodle", "woohoo", "trot", "gallop", "gargantuan"]

# data[].attributes.body
Thank you!

# data[].attributes.body
var deckOfCards = ["yay, "ah!", "woah!!", "okay", "oh"]

# data[].attributes.body
Need help?

# data[].attributes.body
2. Create an array named: deckOfCards and contains 5 silly sentences

# data[].attributes.body
var myHand = ["space holder 1", "space holder 2"]

# data[].attributes.body
1. Create 1 array named: myHand and contains "space Holder 1" and "space Holder 2"

# data[].attributes.body
anyone doing cs fair?

# data[].attributes.body
pencil code

# data[].attributes.body
Great idea, are you using replit or pencil code?

# data[].attributes.body
I am going to use an array as a step by step almost checklist to show what I need to do to achieve my goal.

# data[].attributes.body
Anyone doing option one goal/dream?

# data[].attributes.body
Good job with both ways

# data[].attributes.body
Don't forget the "data type" .   ---> String[] array = ["good", "morning", "everyone"]

# data[].attributes.body
String[] myArray = new String[3];

# data[].attributes.body
["Good", "Morning", "Everyone"]

# data[].attributes.body
Create an array with 3 items, that stores strings.

# data[].attributes.body
Correct!

# data[].attributes.body
0

# data[].attributes.body
0

# data[].attributes.body
1. If this is an array, int[] myArray = new int[4]; , what number goes in the ? to indicate it is the first thing stored in the array?

myArray[?] = 7;

# data[].attributes.body
I think so

# data[].attributes.body
Great idea! Even though you didn't finish it do you think it helped you focus on managing your time?

# data[].attributes.body
I did option 2 as well, I didn't complete it either but I want to have a goal to help students organize their school schedule and allow them to better manage their time

# data[].attributes.body
Financially free is a fantastic goal!

# data[].attributes.body
*James

# data[].attributes.body
That is okay not to finish. Your project is really cool james.

# data[].attributes.body
I did option 2, my CS Fair, I never fully completed it, but I used a basic array with a while loop to figure out how I would auto fill and map out population data on an x y GUI

# data[].attributes.body
Just to have flexibility and be financially free

# data[].attributes.body
Can I ask what your goal is?

# data[].attributes.body
I’m doing option one and using the arrays to show different parts of my goal

# data[].attributes.body
Nice, anyone know how to create the array a different way?

# data[].attributes.body
String[]array = new String[3]

# data[].attributes.body
String[] yeah  =  new String[3]

# data[].attributes.body
String[] myArray = new String[3];

# data[].attributes.body
Create an array with 3 items, that stores strings.

# data[].attributes.body
Correct!

# data[].attributes.body
ur right its 0

# data[].attributes.body
0

# data[].attributes.body
Yeah 0

# data[].attributes.body
0

# data[].attributes.body
1. If this is an array, int[] myArray = new int[4]; , what number goes in the ? to indicate it is the first thing stored in the array?

myArray[?] = 7;

# data[].attributes.body
The Responses below for CP1 Period 5

# data[].attributes.body
for x in 0 ... 2 {
var number = Int.random(in: 0 ... 10)
}

# data[].attributes.body
Good Work on the for loop

# data[].attributes.body
for x in 0...3
{
var number = randomNumber
}

# data[].attributes.body
Any IDK

# data[].attributes.body
2. Create a for loop that runs 3 times, inside the for loop create a variable named number and use the random number code from question 1 to give it a value

# data[].attributes.body
Period 3 Swift with App Dev Responses Below:

# data[].attributes.body
Task 2: Last “big” Assignment  progress and idea due before class this week

Option1:  Make a “project” that represents a dream or goal you have and how you can achieve it.

Requirements: Has an array

Platform: Pencil code or repl.it

Option2: Submit your CS Fair, even if it is not 100% finished but has the following

Requirements:

Collect user input

If statements

Class you created with 3 methods

Object you created that uses your methods

while loop

array

# data[].attributes.body
How are you using the array in your cs fair?

# data[].attributes.body
What’s the final project

# data[].attributes.body
CS fair

# data[].attributes.body
YES!! String is capitalized

# data[].attributes.body
string[] stringArray = new string["one","two","three"];  something like this?

# data[].attributes.body
1. Create an array with 3 items, that stores strings.