Big Idea 3: Algorithms and Programming

studied byStudied by 1014 people
4.7(18)
get a hint
hint

Algorithm

1 / 26

27 Terms

1

Algorithm

is a set of steps to do a task.

New cards
2

Computer science algorithms

are the set of steps to solve a problem or complete a task.

New cards
3

Algorithms

are implemented with software.

New cards
4

Section of code

may work independently or can be used with other programming modules.

New cards
5

Variables

are placeholders for values a program needs to use.

New cards
6

Strings

are text fields that are just a series of characters and are denoted with quotation marks around the string field.

New cards
7

Expressions

are calculations to be evaluated to an answer or single value.

New cards
8

Boolean values

are one of the foundations of computer code.

New cards
9

Iterative statements

are also referred to as repetitive statements or loops.

New cards
10

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.

New cards
11

Lists

are a collection of items, such as a grocery list or a playlist of music.

New cards
12

Index positions

are always integers and are enclosed within square brackets [index].

New cards
13

Length

The length of a list is the number of elements in the list.

New cards
14

Searching

deals with finding the needed element from everything in the dataset or determining that it is not there.

New cards
15

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.

New cards
16

Binary Search

are far more efficient than linear searches.

New cards
17

Procedures

are also called functions in some programming languages.

New cards
18

Parameters

allow the calling program to send values to the procedure.

New cards
19

Procedural abstraction

You only need to know the name of the procedure, the number and type of parameters, and the output to expect.

New cards
20

Random number generator programs

are useful tools for writing software, mainly in designing games.

New cards
21

Procedures

have an optional feature called a return statement.

New cards
22

Built-in Procedures

Built-in procedures are prewritten and tested code that are included with the programming language.

New cards
23

DISPLAY()

is a built-in procedure used for this course on the exam.

New cards
24

INPUT()

It accepts data from the user, usually from the keyboard.

New cards
25

Simulations

Simulations are designed to represent and mirror the real world for testing.

New cards
26

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.

New cards
27

Heuristic approach

This is an approach that may not be optimal or the best but is close enough to use as a solution.

New cards

Explore top notes

note Note
studied byStudied by 60 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 37 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 37 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard83 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard95 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard122 terms
studied byStudied by 49 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard54 terms
studied byStudied by 33 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard87 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard75 terms
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard62 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard30 terms
studied byStudied by 248 people
Updated ... ago
4.7 Stars(7)