1E Computer Programming & Methods Flashcards
(7 cards)
What is Moore’s law?
The notion that the number of transistors in an IC doubles every two years.
What is FLOP?
Floating-point Operations per Second, a measure of computational speed
If dogs are a class in an object, then what’s a beagle?
An instance
Objects have adjectives and verbs, AKA?
Attributes and methods
In object-oriented programming, what is encapsulation?
Keeping attributes and methods private from other parts of the program
What is nominal data? What is ordinal data?
Nominal - categorical, like smoking status or state
Ordinal - ordered data, like small, medium, and large (or a pain scale)
What is the key difference between interval and ratio data?
Ration data has a true zero, meaning the absence of the variable, while with interval data zero is part of the scale (like temp)