Advanced Placement (AP)
Advanced Placement (AP), 01.07.2019 07:10, jesus3426

Question 1(multiple choice worth 1 points)
what is the value of the variable?
double dnum = 2.02;
2
2.0
2.02
0.0
error: incompatible types
question 2(multiple choice worth 1 points)
what is the value of the variable?
int inum = 55/100;
0.55
0.6
0
0.0
error: incompatible types
question 3(multiple choice worth 1 points)
what is the value of the variable?
double dnum = (int)2.5 * 3;
6.0
7.0
7.5
9.0
error: incompatible types
question 4(multiple choice worth 1 points)
what is the value of the variable?
double dnum = 7;
7
7.0
0
0.0
error: incompatible types
question 5(multiple choice worth 1 points)
what is the value of the variable?
double dnum = (int)15.89;
15
15.0
15.98
16
error: incompatible types
question 6(multiple choice worth 1 points)
what is the value of the variable?
int inum = 14/5;
2
2.0
2.8
4
error: incompatible types
question 7(multiple choice worth 1 points)
what is the value of the variable?
double dnum = 45/100.0;
0.45
0.5
0
0.0
error: incompatible types
question 8(multiple choice worth 1 points)
what is the value of the variable?
double dnum = 55/100;
0.55
0.6
0
0.0
error: incompatible types
question 9(multiple choice worth 1 points)
what is the value of the variable?
double dnum = (double)(14/5);
2
2.0
2.8
4
error: incompatible types
question 10(multiple choice worth 1 points)
what is the value of the variable?
double dnum = (int)(2.5 * 3);
6.0
7.0
7.5
9.0
error: incompatible types
question 11(multiple choice worth 1 points)
what is the value of the variable?
int inum = 2.02;
2
2.0
2.02
0.0
error: incompatible types
question 12(multiple choice worth 1 points)
what is the value of the variable?
int inum = (int)15.89;
15
15.0
15.98
16
error: incompatible types
question 13(multiple choice worth 1 points)
what is the value of the variable?
double dnum = (double)10/3;
3
3.0
3.
1
error: incompatible types
question 14(multiple choice worth 1 points)
what is the value of the variable?
double dnum = 14/5;
2
2.0
2.8
4
error: incompatible types
question 15(multiple choice worth 1 points)
what is the value of the variable?
int inum = 5;
5
5.0
0
0.0
error: incompatible types

answer
Answers: 1

Other questions on the subject: Advanced Placement (AP)

image
Advanced Placement (AP), 24.06.2019 02:00, tommyaberman
Why did the separate car act not violate the 14th amendment?
Answers: 1
image
Advanced Placement (AP), 24.06.2019 22:30, amygutierrez34
Gneiss is formed. the mineral grains in which granite are flattened under pressure
Answers: 1
image
Advanced Placement (AP), 25.06.2019 06:30, dozsyerra
In florida, refusal the submit to testing (first offense) results in a) license revocation b)a 30 day suspension c) a 6 month suspension d) a 12 month suspension
Answers: 1
image
Advanced Placement (AP), 25.06.2019 14:10, kelli151
What impact does landscape management have on the world
Answers: 1
Do you know the correct answer?
Question 1(multiple choice worth 1 points)
what is the value of the variable?
double dn...

Questions in other subjects: