Arrays and Tuples Flashcards

1
Q

Julia as a Second Language

What can an Array contain?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Julia as a Second Language

What is a column vector and how is it created?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Julia as a Second Language

What is a row vector and how is it created?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Julia as a Second Language

What is the index of the first value of and array or tuple?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Julia as a Second Language

How can you add up all the items of an array?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Julia as a Second Language

How can you find the number elements in an array?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Julia as a Second Language

What if you need to multiply two arrays together?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Julia as a Second Language

What does dot arithmetic do?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Julia as a Second Language

What is the differenct between 1-based and 0-based indexing?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Julia as a Second Language

What if you need to call the last element of an array but don’t know which index it is?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Julia as a Second Language

What is the normal way to create an array, and then four other ways to create an array.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Julia as a Second Language

What is the default type of a number array, and how do you create a number array of a specific type?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Julia as a Second Language

How can you check they type of an array.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Julia as a Second Language

How does the map() work?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Julia as a Second Language

What are the building block of text?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Julia as a Second Language

How does join() work?

17
Q

Julia as a Second Language

How does collect() work?

18
Q

Julia as a Second Language

What is the difference between an array and a tuple when creating one or the other?

19
Q

Julia as a Second Language

What is filter() and how does it work?

20
Q

Julia as a Second Language

What is a predicate?

21
Q

Julia as a Second Language

What are the predicates to determine even or odd numbers?

22
Q

Julia as a Second Language

What predicates determine case of a character or is there is a space?

23
Q

Julia as a Second Language

How does mapreduce() work?

24
Q

Julia as a Second Language

How does reduce() work?