Exam 6: Programming Languages
Exam 1: Data Representation64 Questions
Exam 2: Data Representation63 Questions
Exam 3: Operating Systems47 Questions
Exam 4: Networks and the Internet62 Questions
Exam 5: Algorithms53 Questions
Exam 6: Programming Languages54 Questions
Exam 7: Software Engineering54 Questions
Exam 8: Data Abstractions53 Questions
Exam 9: Database Systems52 Questions
Exam 10: Computer Graphics47 Questions
Exam 11: Artificial Intelligence52 Questions
Exam 12: Theory of Computation51 Questions
Select questions type
Which of the following is not constructed by a typical compiler?
(Multiple Choice)
4.7/5
(39)
List four data types that occur as primitive types in many high-level programming languages.
____________________ ____________________
____________________ ____________________
(Short Answer)
4.8/5
(31)
Based on the sketch of a class definition below,which methods can be invoked from outside an instance of the class?
class Example
{public void method1( )
{ ...}
private void method2( )
{ ...}
public void method3( )
{…}
private void method4( )
{ ...}
}
_________________________________________________________
(Short Answer)
4.7/5
(40)
What clause would produce the resolvent
P OR R OR S
when resolved with the clause
P OR ¬Q
__________________
(Short Answer)
4.9/5
(34)
Which of the following statements is not a resolvent of the following clauses?
(Multiple Choice)
4.9/5
(31)
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).
(Short Answer)
5.0/5
(39)
A data structure in which all elements have the same type is called ___________________,whereas a ________________ may have elements of different types.
(Short Answer)
4.9/5
(33)
In addition to the function's name,what other information is contained in a typical function header?
____________________________________
(Short Answer)
4.9/5
(28)
In the context of the object-oriented paradigm,what is a constructor?
(Short Answer)
4.8/5
(32)
Which of the following is not a possible value of the expression 4 + 6 / 2 - 1
(Multiple Choice)
4.8/5
(37)
Which of the following is an example of a language that is based on the object-oriented paradigm?
(Multiple Choice)
4.7/5
(43)
Give three examples of key words that are often found in high-level imperative or object-oriented languages.
___________________ _____________________ ______________________
(Short Answer)
4.9/5
(35)
In the context of the object-oriented paradigm,a __________________ is an imperative program unit that describes how an object should react to a particular stimulus.
(Short Answer)
4.9/5
(32)
Showing 41 - 54 of 54
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)