Chapter 7 Flashcards

Stringing Characters

1
Q

What are Collection Data Types?

A

Data types that are comprised of smaller pieces.

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

What is a Character?

A

A string that contains exactly 1 element, such as ‘a’, ‘?’, or “ “ (single spaced)

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

What are Ordered Collections?

A

Collection types that allow their elements to be ordered.

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

What is Bracket Notation?

A

The special syntax that allows us to access the individual characters that make up a string.

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

What does an expression using bracket notation evaluate to when the index is invalid?

A

Undefined

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

What is an Object?

A

A collection of related data and operations.

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

What is a Method?

A

An operation that can be carried out on an object.

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

What is a Property?

A

A piece of data associated with an object.

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

What is Dot Notation?

A

Dictates that we use the object name, followed by a ‘.’ , followed by the property or method name.
console.log(typeof console);

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

What does string property Length tell us?

A

It tells us how many characters are in the string.

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

What does the toLowerCase() string method return?

A

It returns the string in all lowercase letters.

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

What is Immutable?

A

When an object cannot be changed. Strings are immutable, for example.

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

What is Method Chaining?

A

When string methods can be combined in a process.

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

What is a Bit?

A

Each 0 and 1 on a computer’s memory.

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

What is a Byte?

A

A set of 8 bits.

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

What is a Binary Number?

A

A number representation that uses only 0’s and 1’s.

17
Q
A