Big Idea 3: Algorithms and Programming

4.7(18)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/26

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards
Algorithm
is a set of steps to do a task.
2
New cards
Computer science algorithms
are the set of steps to solve a problem or complete a task.
3
New cards
Algorithms
are implemented with software.
4
New cards
Section of code
may work independently or can be used with other programming modules.
5
New cards
Variables
are placeholders for values a program needs to use.
6
New cards
Strings
are text fields that are just a series of characters and are denoted with quotation marks around the string field.
7
New cards
Expressions
are calculations to be evaluated to an answer or single value.
8
New cards
Boolean values
are one of the foundations of computer code.
9
New cards
Iterative statements
are also referred to as repetitive statements or loops.
10
New cards
Combining Algorithms
One of the key features of algorithms is that once they are created, you can use them over and over, combine them for more complex problem solving, or modify them for a new use.
11
New cards
Lists
are a collection of items, such as a grocery list or a playlist of music.
12
New cards
Index positions
are always integers and are enclosed within square brackets [index].
13
New cards
Length
The length of a list is the number of elements in the list.
14
New cards
Searching
deals with finding the needed element from everything in the dataset or determining that it is not there.
15
New cards
Linear Search
also called sequential searches, check each individual record, starting at the beginning and going to the end, one after the other in order to either find the desired data or to determine it is not in the dataset.
16
New cards
Binary Search
are far more efficient than linear searches.
17
New cards
Procedures
are also called functions in some programming languages.
18
New cards
Parameters
allow the calling program to send values to the procedure.
19
New cards
Procedural abstraction
You only need to know the name of the procedure, the number and type of parameters, and the output to expect.
20
New cards
Random number generator programs
are useful tools for writing software, mainly in designing games.
21
New cards
Procedures
have an optional feature called a return statement.
22
New cards
Built-in Procedures
Built-in procedures are prewritten and tested code that are included with the programming language.
23
New cards
DISPLAY()
is a built-in procedure used for this course on the exam.
24
New cards
INPUT()
It accepts data from the user, usually from the keyboard.
25
New cards
Simulations
Simulations are designed to represent and mirror the real world for testing.
26
New cards
Efficiency
can be determined by mathematically proving it and informally measured by actually running it on datasets of different sizes and measuring how long it took and the memory resources needed.
27
New cards
Heuristic approach
This is an approach that may not be optimal or the best but is close enough to use as a solution.