Exam 5: Algorithms
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
Which of the following is not associated with the concept of data type?
(Multiple Choice)
4.8/5
(38)
Which of the following is a means of nullifying conflicts among data types?
(Multiple Choice)
4.9/5
(38)
Based on the sketch of a class definition below, which methods can be invoked from outside an instance of the class?
_________________________________________________________

(Short Answer)
4.7/5
(22)
Explain the distinction between translating a program (in a high-level language) and interpreting the program.
(Essay)
4.8/5
(39)
In contrast to _______________ languages such as English and Spanish, programming languages are
considered _______________ languages and are rigorously defined by their grammars.
(Short Answer)
4.8/5
(30)
Explain the distinction between the imperative and declarative programming paradigms.
(Essay)
4.9/5
(36)
Which of the following is not associated with object-oriented programming?
(Multiple Choice)
4.8/5
(30)
Which of the following is an example of a language that is based on the functional paradigm?
(Multiple Choice)
4.9/5
(33)
In the context of the object-oriented paradigm, ____________ are templates from which
____________ are constructed. We say that the latter is an instance of the former.
(Short Answer)
4.9/5
(35)
Which of the following is not a step in the process of translating a program?
(Multiple Choice)
4.7/5
(29)
Which of the following can Prolog conclude from the following program? parent(jill, sue).
Parent(jill, sally).
Parent(john, sue).
Parent(john, sally).
Sibling(X, Y) :- parent(Z, X), parent(Z, Y).
(Multiple Choice)
4.7/5
(44)
In the context of the object-oriented paradigm, what is a constructor?
(Essay)
4.8/5
(27)
Which of the following is not a possible value of the expression 4 + 6 /2 - 1
(Multiple Choice)
5.0/5
(37)
What general rule should be added to the Prolog program below so that Prolog can conclude that ice cream is better than spinach?
better(icecream, peanutbutter).
better(peanutbutter, spinach).
___________________________________________________________
(Essay)
4.7/5
(32)
Show that the grammar below is ambiguous by drawing two distinct parse trees for the string "drip drip drip." 

(Essay)
4.8/5
(30)
Showing 21 - 40 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)