Quiz
Formatting quiz
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (9)
1For NumberFormat and DateFormat you can only set the locale at instantiation
- ATrue
- BFalse
2What does regex's * mean?
- Azero or more instances
- Bzero or 1 instances
- C1 or more instances
3What does regex's ? mean?
- AZero or more instances
- BOne or more instances
- CZero or one instances
4How do you get a new Pattern object?
- Anew Pattern()
- B.compile(String)
- C.compile()
5printf() arguments is preceded by a dollar sign
- ATrue
- BFalse
6printf()'s + flag means:
- APad to the right
- BInclude + and - signs
- CPut negatives in parentheses
7If printf()'s conversion character doesn't match it silently fails
- ATrue
- BFalse
8What is the correct format for printf()?
- A%[arguments]$[width][flags][precision]conversion char
- B%$[arguments][flags][width][precision]conversion char
- C%[arguments]$[flags][width][precision]conversion char
9Regex's \w includes:
- Aletters, spaces, and underscores
- Bletters, digits, and underscores
- Cletters, digits, and backslashes
Information
- Description
- Quiz on Formatting quiz, created by ncsujenn on 18/11/2015.
- Author
- ncsujenn
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz