
midterm 1 review!
Authored by mags mags
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The literal 3.7F represents which of the following data types?
float
int
double
long
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is printed to the screen?
13.1
13.10
13
13.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following specifiers for System.out.printf would be used to output the double data type?
%d
%s
%f
%b
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following data types stores a sequence of characters?
int
sequence
char
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
whcih of the following characters represents a new line?
\n
\nl
\new
\L
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the "f" in %f means what?
floating-point notation
scientific notation
base 2 notation
fixed-point notation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is printed to the screen?
6.800
6.793
6.7925
6.7925
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?