Quiz
Week 3 Practice 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)
1The boolean data type may contain values in the following range of values:
- Atrue or false
- B-128 to + 127
- C- 2,147,483,648 to +2,147,483,647
- D- 32,768 to +32,767
2Variables of the boolean data type are useful for:
- Aworking with small integers
- Bevaluating true/false conditions
- Cworking with very large integers
- Devaluating scientific notation
3Variables are classified according to their:
- Avalue
- Bdata type
- Cnames
- Dlocation in the program
4Which of the following is NOT a primitive data type?
- Ashort
- Blong
- Cfloat
- DString
5 What will be the value of z as a result of executing the following code?
int x = 5, y = 28;
float z;
z = (float) (y / x);- A5.60
- B5.6
- C3.0
- D5.0
6The char data type is made up of how many characters?
- Aone
- Btwo
- Cthree
- Dfour
7The Java library class, java.text.NumberFormat, is used for _________?
- Adrawing letters
- Bformatting letters
- Cformatting numbers
- Ddrawing numbers
8A computer program is:
- AA set of instructions that enable the computer to solve a problem or perform a task
- BMain memory
- CPseudocode
- DA flow chart
9Another term for programs is:
- AHardware
- BSoftware
- CFirmware
- DShareware
Information
- Description
- CPSI 1413 Quiz on Week 3 Practice Quiz, created by Adam Peterson on 11/03/2019.
- Author
- Adam Peterson
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz