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 a means of defining similar yet different classes in an object-oriented program?
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
A
Which of the following is not constructed by a typical compiler?
Free
(Multiple Choice)
4.9/5
(31)
Correct Answer:
A
In addition to the procedure's name, what other information is contained in a typical procedure header?
____________________________________
Free
(Short Answer)
4.9/5
(40)
Correct Answer:
A list of the formal parameters
A data structure in which all elements have the same type is called ___________________, whereas a ________________ may have elements of different types.
(Short Answer)
4.7/5
(40)
Explain why key words in a programming language are often reserved words.
(Essay)
4.7/5
(37)
Which of the following is not a type of statement found in a typical high-level imperative programming language?
(Multiple Choice)
4.9/5
(25)
Based on the grammar below, draw a parse tree showing that the string "drip drip drip" is a Leak. 

(Essay)
4.8/5
(29)
Which of the following is not a parse tree of an expression based on the following grammar? 

(Multiple Choice)
4.9/5
(35)
Explain why the generation approach to classifying programming languages fails to capture the full scope of today's languages.
(Essay)
4.7/5
(40)
Why is the straightforward "goto" statement no longer popular in high-level programming languages?
(Essay)
4.8/5
(38)
To say that a grammar is ambiguous means that ___________________________________________
_____________________________________________________________________ .
(Essay)
4.9/5
(43)
Positions within arrays are identified by means of numbers called
(Multiple Choice)
4.9/5
(37)
What clause would produce the resolvent
P OR R OR S
when resolved with the clause
P OR Q
__________________
(Short Answer)
4.8/5
(29)
Which of the following does not require a Boolean structure?
(Multiple Choice)
4.9/5
(33)
Explain the distinction between a formal parameter and an actual parameter.
(Essay)
5.0/5
(40)
List two disadvantages of both machine languages and assembly languages that are overcome by high-level programming languages.
_____________________________________
_____________________________________
(Essay)
4.9/5
(25)
Which of the following is not a way of referring to a value in a program?
(Multiple Choice)
4.8/5
(42)
Rewrite the following instructions using a single if-then-else statement. 

(Short Answer)
4.9/5
(28)
Which of the following is an example of a language that is based on the object-oriented paradigm?
(Multiple Choice)
4.7/5
(36)
Showing 1 - 20 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)