u3: algorithms and programming

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards
loops
traverse through lists/arrays/strings
2
New cards
data types
integers, strings, lists and booleans
3
New cards
List (array)
an ordered sequence of element
4
New cards
strings
ordered list of characters. (substrings are part of a string)
5
New cards
string concatenation
occurs when two strings or more are connected w/ a “+”
6
New cards
algorithm
instructions that accomplish a task or solve a problem (all algorithms are created using sequencing, selection, and iteration)
7
New cards
sequencing
all of the code is executed in the order they are written in
8
New cards
selection
statements are processed through if statements that all have conditions that need to be met for the selection to run (Else statements are attached to if statements which specify what happens if a condition is not met)
9
New cards
iteration
code repeats until condition is met
10
New cards
expression
statement that only returns one value. (Evaluated with PEMDAS)
11
New cards
MOD (%)
gives you the remainder of two numbers
12
New cards
nested conditional statements have…
conditional statements inside of conditional statements
13
New cards
procedures
programming instructions that are also called methods or functions
14
New cards
parameters
input variables of a procedure
15
New cards
arguments
a call with defined values + attributes
16
New cards
logical operators
NOT, AND and OR
17
New cards
element
an individual value in a list & all elements have an index