Professional Documents
Culture Documents
Quiz01 Feb. 082022
Quiz01 Feb. 082022
Email *
michaeljohnserdan@gmail.com
Lastname, Firstname MI *
Course/Year/Section *
CEIT-37-401A
The methods return true if the argument is not null and is an object of 1/1
the same type and with the same numeric value. *
short shortValue()
https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 1/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings
00461012
461012
+461012
461,012
What is the output of the following syntax: public class BasicMathDemo { 1/1
public static void main(String[] args) { double a = -191.635; double b =
43.74; int c = 16, d = 45;System.out.printf("The min of of %d " + "and %d is
%d%n", c, d, Math.min(c, d)); *
td
ty
tB
te
https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 2/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings
tl
td
te
ty
ty
tp
tM
tm
Math.Exp
Math.PI
Math.Dm
Math.E
https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 3/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings
An escape sequence that tells the compiler to insert a tab in the text at 1/1
this point. *
\t
\b
\n
\r
An escape sequence that tells the compiler to insert a double quote 1/1
character in the text at this point. *
\\
\'
\[
\"
An escape sequence that tells the compiler to insert a newline in the text 1/1
at this point. *
\-
\nl
\n
\l
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 4/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings
Forms
https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 5/5