Quirks and Bits Flashcards

1
Q

What does weakly typed mean?

A

The type of a variable may be changed at runtime and supports implicit type conversion.

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

What does statically typed mean?

A

That the type of a variable is checked at compile time

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

What does the term Endianness describe and what are the two options for endianness?

A

Describes the position of the most significant bit in a system, can be either Big-Endian or Little-Endian.

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

What is the difference between a struct and a union?

A

A struct stores the data in seperate memory locations, whereas a union will store all of the data in the same memory location.

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

What is an enumeration?

A

A set of user-defined integral constants

enum days{
Monday,
Tuesday
Wednesday,
Thursday,
Friday,
Saturday,
Sunday,
}

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

What is a variadic function?

A

A function that can accept a variable number of parameters.

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

What is the equivalent of the “this” keyword in Objective-C?

A

self

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