1E Computer Programming & Methods Flashcards

(7 cards)

1
Q

What is Moore’s law?

A

The notion that the number of transistors in an IC doubles every two years.

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

What is FLOP?

A

Floating-point Operations per Second, a measure of computational speed

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

If dogs are a class in an object, then what’s a beagle?

A

An instance

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

Objects have adjectives and verbs, AKA?

A

Attributes and methods

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

In object-oriented programming, what is encapsulation?

A

Keeping attributes and methods private from other parts of the program

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

What is nominal data? What is ordinal data?

A

Nominal - categorical, like smoking status or state

Ordinal - ordered data, like small, medium, and large (or a pain scale)

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

What is the key difference between interval and ratio data?

A

Ration data has a true zero, meaning the absence of the variable, while with interval data zero is part of the scale (like temp)

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