Chapter Five - PowerPoint PPT Presentation

About This Presentation
Title:

Chapter Five

Description:

Title: Jeopardy Author: Jerry Myers Description: Created by Jerry Myers is 1998 for a class. Last modified by: Andersoniii, Edwin Created Date: 8/3/1998 10:24:04 PM – PowerPoint PPT presentation

Number of Views:246
Avg rating:3.0/5.0
Slides: 23
Provided by: JerryM398
Category:
Tags: chapter | five | jeopardy | math

less

Transcript and Presenter's Notes

Title: Chapter Five


1
Jeopardy
  • Chapter Five

2
boolean
Expressions
Strings
More Strings
100
100
100
100
200
200
200
200
300
300
300
300
400
400
400
400
500
500
500
500
3
What is 1?
This value of true
  • 100pts

4
What is ?
Use this to test if two ints are the same
  • 100pts

5
What is .length()?
Method to find the number of characters in a
String
  • 100pts

6
What is .equals?
Method to test if Strings are the same
  • 100pts

7
What is .length()?
Method to find size of String
  • 200pts

8
What is true?
if( true false) evaluates to ?
  • 200pts

9
What is Math.abs(x1 x2) lt epislon?
Used to compare two doubles to be the same
  • 200pts

10
What is toUpper())?
String method to capitalize a String
  • 2,4

11
What is .charAt()?
Method to find a single character in a String
  • 300pts

12
What is false?
if( true false) evaluates to ?
  • 300pts

13
What is .equals?
Used to determine if two objects are the same
  • 300pts

14
What is immutable?
Programmers say Strings do not change ---
they are ?
  • 300pts

15
What is .substring()?
Method to break Strings apart
  • 400pts

16
What is ! ?
Notation to switch false to true
  • 400

17
What is (and) ?
Connects two if statements where both must be
true to execute a statement
  • 400pts

18
What is String str?
Statement to identify a variable With a (String)
type
  • 4,4

19
What is String str new String()?
Formal wording to create a String str
  • 500pts

20
What is deMorgans Law?
!( x y) becomes (!x !y)
  • 500pts

21
What is (or)?
Connects two if statements where both must be
false to NOT execute a statement
  • 500pts

22
What is compareTo() ?
String method that returns 0, or less than 0, or
greater than 0
  • 500pts
Write a Comment
User Comments (0)
About PowerShow.com