CSP TEST - MONDAY (JAN 12th)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

33 Terms

1
New cards

arguments

The actual values passed to a procedure’s parameters when it is called.

2
New cards

binary search

A search algorithm that repeatedly halves a sorted list to find a target.

3
New cards

brute force

A method that tries every possible option.

4
New cards

distributed computing

A model where multiple networked computers run a program together.

5
New cards

heuristic algorithm

An algorithm that finds an approximate solution quickly for complex problems.

6
New cards

intractable problems

Problems that cannot be solved in reasonable (polynomial) time.

7
New cards

linear or sequential search

A search algorithm that checks each element from start to end.

8
New cards

parallel computing

A model where parts of a program run simultaneously using multiple processors or computers.

9
New cards

parameters

Input variables defined by a procedure.

10
New cards

reasonable time

Polynomial time.

11
New cards

sequential computing

A model where operations run one at a time on a single processor.

12
New cards

sorting algorithm

An algorithm that arranges items in numeric or alphabetical order.

13
New cards

The Halting Problem

The undecidable problem of determining whether a program will stop or run forever.

14
New cards

The Traveling Salesman Problem

Finding the shortest route visiting each city once and returning to the start.

15
New cards

undecidable problems

Problems with no algorithm that always gives a correct yes-or-no answer.

16
New cards
Binary Search Worst Case
⌈log2 N⌉ + 1 (or O(log N)).
17
New cards
Linear Search Worst Case
N (or O(N)).
18
New cards
Binary Search Usage
Use when data is sorted.
19
New cards
Linear Search Usage
Use when data is unsorted or very small.
20
New cards
Binary Search Pseudocode
Set low=1, high=N; loop while low
21
New cards
Logo 2 Parameters
:SIDES (number of sides) and :LENGTH (side length/size).
22
New cards
Procedure Calls
Executing a defined procedure (function) with specific values (arguments) for its parameters.
23
New cards
Algorithm Rating Elements
Efficiency (Time/Space complexity) and Clarity/Correctness.
24
New cards
Intractable Problems Importance
They form the basis of cryptography (encryption); security relies on these problems being too hard for computers to solve quickly.
25
New cards
Parallel Computing Benefits
Faster execution and the ability to handle massive datasets.
26
New cards
Parallel Computing Challenges
Complexity in coding, deadlocks, and the overhead of coordinating processors.
27
New cards
Search Engine Spider
A program that automatically "crawls" the web, visiting pages and following links to build an index.
28
New cards
Search Ranking Elements
Words on the page (Keywords), Location of words (Title vs. Body), Links from other pages (PageRank/Authority), and Anchor text of those links.
29
New cards
Search Result Consistency
Results generally vary due to personalization (user history), geographic location, and different data centers.
30
New cards
SEO (Search Engine Optimization)
The practice of tuning a website (using keywords, linking strategies) to rank higher in search engine results.
31
New cards
Google and "Do No Evil" in China
Dishonored by launching a censored search engine (2006); Honored by withdrawing search services to Hong Kong (2010) to refuse censorship.
32
New cards
Overture Innovations Copied
Pay-per-click and Keyword Auction.
33
New cards
Google's Auction Modification
Google modified the auction by adding a "Quality Score" (relevance), so ranking is determined by Bid * Quality, not just the highest bid.