Design & Development 003 Flashcards

1
Q

What is casting?

A

It is when you change a data type into another data type.

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

What is Implicit Casting?

A

It is when the casting is done for you automatically by the program without instruction.

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

What is Explicit Casting?

A

It is when the casting is written by you and done with instruction.

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

What is a Widening Operation?

A

It is when you change the data type to a bigger memory store data type.

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

What is a Narrowing Operation?

A

This is when you change the data type completely (e.g. making a Str into a Int).

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