CIS 260
Exam 4 Summer 2013
First Name_ Last Name _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers
the question.
1) _ represents an entity in the real world that can be distinctly
1) _
identified.
A) An object
B) A
CIS260
Summer 2012 - Exam 1
First Name_ Last Name: _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) _ is the physical aspect of the computer that can be seen.
1) _
A) Application program
B) Hardwa
CIS260 Summer 2013
Exam 3
First Name_ Last Name _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) What is the representation of the third element in an array called a?
1) _
A) a[2]
B) a(2)
C) a(3)
CIS260 / Summer 2013
Exam-2 Java Methods
First Name_ Last Name: _
(10 points) MULTIPLE CHOICE.
Choose the one alternative that best completes the statement or answers the question.
1) Suppose your method does not return any value, which of the following
k
CIS260 Summer 2013
Exam-1
First Name_ Last Name:_
MULTIPLE CHOICE. ( 30 + 4 extra pts)
Choose the one alternative that best completes the statement or answers the question.
1) _ is the physical aspect of the computer that can be seen.
A) Software
B) Appli
CIS260
Exam2 Summer 2012
First Name_ Last Name _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) The equal comparison operator in Java is _.
1) _
A) <>
B) ^=
C) =
D) !=
2) Which of the following co
CIS260 - Exam 3 Summer 2012
First Name_ Last Name: _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) Suppose your method does not return any value, which of the following 1) _
keywords can be used
CIS 260 Exam 5 Summer 2012
First Name_ Last name: _
MULTIPLE CHOICE.
Choose the one alternative that best completes the statement or answers the question.
1) Suppose s is a string with the value "java". What will be assigned to x if
1) _
you execute the f
CIS 260
Exam6
Summer2012
First Name_ Last Name: _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) Object-oriented programming allows you to derive new classes from
1) _
existing classes. This is ca
CIS 260
Exam-4
Summer 2012
First Name_ Last Name: _
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or
answers the question.
1) Which of the following statements are correct?
1) _
A) char[ ][ ] charArray = cfw_'a', 'b';
B) ch
CIS260
Exam 5
First Name: _ Last Name: _
(50 points)
Write a method that checks whether two words are anagrams. Two words are anagrams if they contain the same letters
in any order. For example, "silent" and "listen" are anagrams. The header of the method