Search this site
Embedded Files
Skip to main content
Skip to navigation
Santovasi Mobile CSP Portfolio
Home
0.00 Class Rules & Machinery
0.01 About ME Susan Santovasi
0.03 About My Partners
0.04 Build Your Website
0.05 Preparing Your Android Device
0.06 Known Bugs in AI2
0.07 Installing the Emulator
0.08 Download Apps with QR Codes
0.10 How to Submit a Project
0.11 How to Submit an App Video
0.12 Android Life Cycle
Blown to Bits Book
2.01 B2B Chapter 1 Vocabulary
2.11 B2B Chapter 1 Homework
3.01 B2B Chapter 3 Vocabulary
3.10 B2B Chapter 3 Homework
4.01 B2B Chapter 2 Vocabulary
4.11 B2B Chapter 2 Homework
5.01 B2B Chapter 4 Vocabulary
5.09 B2B Chapter 4 Homework
6.01 B2B Chapter 6 Vocabulary
6.10 B2B Chapter 6 Homework
7.01 B2B Chapter 5 Vocabulary
7.08 B2B Chapter 5 Homework
Grading Rubrics: Create & Explore
Homework
Performance Tasks
Create #1
Create #2
Explore #1
Explore #2
Unit 1 Getting Started
1.00 Model Project
Unit 2 Intro to Mobile Apps
2.02 I Have a Dream Tutorial
2.03 The Internet and the Cloud
2.04 I Have a Dream Part 2
2.05 Mobile Apps and Mobile Devices
2.06 Algorithm Basics
2.07 I Have a Dream and Sound Board Projects
2.08 Abstraction
2.09 Binary Numbers
2.10 Hardware Abstractions: Logic Gates
Unit 3 Creating Graphics & Images
3.02 Paint Pot Tutorial
3.03 Representing Images
3.04 Paint Pot Projects
3.05 Paint Pot Refactoring
3.06 Error Detection
3.07 Parity Error Checking
3.08 Map Tour Tutorial Part 1 and Project
3.09 Map Tour Part 2 with GPS and TinyDB
3.10 Map Tour Tutorial and Project
Unit 4 Exploring Computing
4.02 Turn Off Lights
4.03 Turn Off Lights Projects
4.04 Logo 1
4.05 Coin Flip Simulations
4.06 Coin Flip Experiment
4.07 PRNG
4.08 Coin Flip Projects
4.09 Real World Models
4.10 Abstraction: Inside the CPU
Unit 5 Algorithms & Procedural Abstraction
5.02 Logo 2
5.03 Search Algorithms
5.04 Sort Algorithms
5.05 Caesar Cipher App
5.06 Debugging Caesar Cipher
5.07 Analyzing Algorithms
5.08 Limits of Algorithms
Unit 6 Using and Analyzing Data
6.02 Quiz App
6.03 Quiz App Projects
6.04 Big Data
6.05 Clicker App with TinyWebDB
6.06 Clicker App with Firebase DB
6.07 Visualizing Data
6.08 Data Visualization Project
6.09 Abstracting Data to the Web Projects
Unit 7 Communicating Through the Internet
7.02 Internet: Basic Concepts
7.03 No Texting Tutorial and Projects
7.04 How the Internet Works
7.05 Broadcast Hub Projects
7.06 Cryptography Basics
7.07 Cryptography: Securing the Internet
Unit 8 AP Exam Prep
Unit 9 Beyond the AP CSP Exam
9.01 Where is North Tutorial and Projects
9.02 My Directions Tutorial and Projects
9.03 Hello World Fusion Table Project
Santovasi Mobile CSP Portfolio
5.03 Search Algorithms
Questions for the Classroom ActivityAnswer the following questions:
(
POGIL
) Define a
pseudocode algorithm
that will efficiently play the guessing game.
Answer
(
POGIL
) To guess a number between 1 and 100, what's the maximum number of guesses your algorithm would take?
Answer
(
POGIL
) To guess a number between 1 and 500, what's the maximum number of guesses your algorithm would take?
Answer
Suppose you have a deck of cards and you want to find the Ace of Spades. If the deck is shuffled, which is the best search algorithm to use and why?
Answer
Give an example of a search problem you encounter in everyday life. Do it use sequential, binary, or some other search?
Answer
Select a random guess, if wrong select too high or too low, repeat until correct and select just right
7
9
Sequential search would be best because the deck is shuffled and not in order.
If I was looking for the correct channel to find a particular show, a binary search would be best as the channels are alphabetized in my listing.
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse