Undecided Problems Homework
Total points20/22
AP CSP Homework for undecided problems
The respondent's email (ptleigh08@gmail.com) was recorded on submission of this form.
What is your name?  *
1/1
Peyton Leigh
Incorrect
In proof by contradiction, what is the original assumption? *
1/1
Which pathway will lead to a contradiction
1/1
Captionless Image
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/2
What will the result of this code be?
2/2
Captionless Image
How do many programming environments avoid running indefinite loops?
2/3
Correct answer
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/2
What is an undecidable problem? A decidable problem?  *
2/2
An undecidable problem is a problem where there is no algorithmic solution that can always determine the correct answer for all possible inputs. A decidable problem is a problem that does have an algorithm to determine a correct solution for any case.
Incorrect

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/3
Since there is no algorithm that takes into account every potential threat, it is challenging to ensure detection and prevention of undecidable security issues, which makes it impossible to create flawless security solutions. A few restrictions on program prediction include the susceptibility of unidentified security risks, which highlights how difficult it is to create total security.
Incorrect
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/2
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?
*
0/1
Correct answer
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/2
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy