CIS 355 Week 6 Quiz
Click Below Link To Purchase
www.foxtutor.com/product/cis-355-week-6-quiz
1. (TCO 6) For
String c = "welcome to java";
The Java statements
int i = c.indexOf( 'e' );
int j = c.lastIndexOf( 'o' );
will result in
2. (TCO 6) Consider the String below.
String r = "a toyota";
Which of the following will create the String r1 = "a TOYOTa"?
3. (TCO 6) Consider the Java segment:
String line1 = new String( "c = 1 + 2 + 3" ) ;
StringTokenizer tok = new StringTokenizer( line1, "+=" );
String foo = tok.nextToken();
String bar = tok.nextToken();
The values of foo and bar are
4. (TCO 6) What does the first pass of selection sort do?