1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
float
used for numbers with decimal points (heigh, temperature, money with cents)
string
holds one text value
string array
holds multiple text values (like a list of names)
constant integer
used for constants for fixed values that dont change (secondsperminute = 60)
equality operator ==
checks if two values are equal (i == 20 checks if i is 20)
programming library functions
relates to the same purpose
library advantages
pre written & tested / saves time & reduces bugs
dynamically typed language
can assign different types to the same variable (python)
non-object oriented
C is not object oriented, it is procedural (uses functions & data instead of classes and objects)
object orientated language
supports classes and objects with internal data and operations
statically typed language
throws errors when types dont match (Java & C++)
markup language
uses tags to format text (HTML & XML)
interpreted language
runs without compilation and works across different systems like python
advantage of interpreted programs
can be modified at runtime / great for scripting
do-while loop
runs code at least once before checking the condition - perfect for user input loops
pseudocode output
x=3, output is 3 2 1 with a do-while loop
agile implementation phase
when actual code is written
agile design phase
planning the components and features that are needed
waterfall implementation phase
where coding begins after planning
agile analysis phase
review feedback and adjust program goals
agile iterative implementation
each version adds features - implementation continues
algorithm timing
develop the algorithm before writing the program
algorithm example
step by steps (insert key, turn key, open door)
class diagram elements
includes classes, attributes, methods, and relationships