in

Two decades of programming and I can’t answer a simple AP CSP question

Two decades of programming and I can’t answer a simple AP CSP question | programming-memes, code-memes, program-memes, list-memes, algorithm-memes, search-memes, bot-memes, cs-memes | ProgrammerHumor.io
programming-memes, code-memes, program-memes, list-memes, algorithm-memes, search-memes, bot-memes, cs-memes | ProgrammerHumor.io

Content

AP Compu 46. 44. Which algorithm should be used to find a phone number on a contact list? I. Sort the contact list by name Search for the phone number using a binary search Display the correct phone number lI. Sort the contact list by area code Search for the phone number using a linear search Display the correct phone number (A) I (B) II (C) I and II are equally effective. (D) A combination of both I and II should be used. 45. Why does a computer playing chess use a heu- ristic algorichm? 47.