Undecided Problems Homework
AP CSP Homework for undecided problems
Email *
What is your name?  *
1 point
In proof by contradiction, what is the original assumption? *
1 point
Which pathway will lead to a contradiction
1 point
Captionless Image
Clear selection
A 5 year old visits the Computer History Museum and gets excited about everything computers can do. They ask their mother, "Mom, can computers solve every problem?"
*
2 points
What will the result of this code be?
2 points
Captionless Image
Clear selection
How do many programming environments avoid running indefinite loops?
3 points
A software engineer is developing a new operating system. The operating system has to make a decision when it sees an application taking a long time to finish executing an instruction. Should the operating system force quit the application, assuming it will run forever? Or can the operating system detect that the application will finish processing, if it has a bit more time?
The engineer does some research and discovers that this is an undecidable problem.
*
2 points
What is an undecidable problem? A decidable problem?  *
2 points

Describe the implications of undecidable problems in security-related tasks, such as virus detection in software. Discuss the challenges and limitations imposed by undecidable problems in developing foolproof security measures.


*
3 points
A security engineer is developing antivirus software that detects when downloaded programs look similar to known viruses. They would like the software to be able to detect viruses that it's never seen before, by predicting whether or not a program will ever execute malicious code.
After a bit of research, the engineer realizes that virus detection is an undecidable problem.
*
2 points
A software engineer at a mapping company is tasked with coming up with an algorithm to solve a new problem. The engineer is nervous about whether they'll be able to solve it. What is least likely to occur?
*
1 point
An online news website relies on in-page advertisements to make money. Their article pages have multiple slots for advertisements, and each slot can be used for a full-size ad or multiple smaller ads. Advertisers specify their size and desired display count per day.
A diagram of a webpage. Article text is shown alongside multiple advertising boxes on the page.
The news site uses a scheduling algorithm to determine which advertisements to display in each slot at each time of day. The algorithm's goal is to maximize money earned while not exceeding the display count per day, so it tries out every possible combination and picks the best one.
As the number of advertisers and articles increases, the news site realizes the scheduling algorithm is taking an unreasonable amount of time and costing them valuable server time.
What is the most promising way that they can improve the run time of the algorithm?
*
2 points
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy