Exam 11: Artificial Intelligence
Exam 1: Data Storage31 Questions
Exam 2: Data Manipulation35 Questions
Exam 3: Operating Systems48 Questions
Exam 4: Networking and the Internet33 Questions
Exam 5: Algorithms46 Questions
Exam 6: Programming Languages42 Questions
Exam 7: Software Engineering34 Questions
Exam 8: Data Abstractions46 Questions
Exam 9: Database Systems41 Questions
Exam 10: Computer Graphics40 Questions
Exam 11: Artificial Intelligence39 Questions
Exam 12: Theory of Computation40 Questions
Select questions type
Are all problems in P solvable in a reasonable amount of time? Explain your answer.
Free
(Essay)
4.9/5
(29)
Correct Answer:
No. Simply because the time complexity of a problem is bounded by a polynomial does not mean that the problem can be solved quickly. If the degree of the polynomial is large, the time required could be enormous-even for small inputs.
What is a universal programming language?
Free
(Essay)
4.7/5
(34)
Correct Answer:
A universal programming language is a programming language with which a solution to any solvable problem can be expressed.
Why is a public key encryption system based on the RSA algorithm secure?
Free
(Essay)
4.8/5
(37)
Correct Answer:
It is secure because no one knows a fast way to find the prime factors of the public key n.
Is a problem in O(n3) more complex than a problem in O(n2)? Explain your answer.
(Essay)
4.8/5
(34)
Write a sequence of statements in the Bare Bones language that is equivalent to the statement
if X not 0 then S1 else S2
where S1 and S2 are sequences of Bare Bones statements.
(Essay)
4.8/5
(28)
Place an X in the blank before each of the following statements that guarantees that a problem is in P. 

(Short Answer)
4.9/5
(31)
Which of the following questions has not yet been answered by researchers?
(Multiple Choice)
4.9/5
(37)
If an RSA public key encryption system were based on the primes p = 3 and q = 7, which of the following pairs of values would be suitable for the encryption and decryption keys e and d?
(Multiple Choice)
4.9/5
(36)
Place a T in the blank before each of the following statements that are true. Leave the other blanks blank.
_____ All Bare Bones programs that do not contain a while statement are self-terminating.
_____ All Bare Bones programs that contain a while statement are not self-terminating.
_____ Some Bare Bones programs are both self-terminating and not self-terminating.
_____ No Bare Bones program is both self-terminating and not self-terminating.
(Short Answer)
4.9/5
(37)
Identify a problem that does not have an algorithmic solution.
_____________________
(Essay)
4.9/5
(39)
Which of the following best describes what the following Bare Bones program does? copy X to Z;
Clear X;
Incr X;
While Z not 0 do;
Clear X;
Decr Z;
End;
(Multiple Choice)
4.9/5
(29)
Which of the following algorithms represents an optimal solution (in terms of time complexity) for sorting a list?
(Multiple Choice)
4.9/5
(31)
Place an X in the blank before each of the following statements that contradict the Church-Turing thesis. Leave the other blanks blank.
_____ All functions are computable.
_____ Some functions that are not computable by Turing machines are computable by other
means.
_____ All computable functions are Turing-computable.
_____ Some problems cannot be solved by any Turing machine.
(Short Answer)
4.9/5
(38)
What is the time complexity of the problem of sorting a list?
(Multiple Choice)
4.9/5
(34)
Which of the following sets of values constitutes a valid RSA public key encryption system?
(Multiple Choice)
4.8/5
(41)
Suppose the variables X and Y in the following Bare Bones program have the values 3 and 2, respectively, when execution begins. clear Z;
While X not 0 do;
While Y not 0 do;
Decr Y;
Incr Z;
End;
Incr Z;
Decr X;
End;
What will be the value of Z when the program terminates?
(Multiple Choice)
4.9/5
(25)
Give an example of a universal programming language.
_____________________
(Essay)
4.8/5
(40)
Write a program in Bare Bones that terminates with the variable Z equal to 1 if the variables X and Y start with non-zero values and with Z equal to 0 otherwise.
(Essay)
4.8/5
(38)
If a solution with time complexity (n2) is known to exist, then the problem is known to be in which of the following?
(Multiple Choice)
4.7/5
(42)
What action is performed by the Turing machine described below? 

(Multiple Choice)
4.8/5
(32)
Showing 1 - 20 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)