Which of the following expressions will evaluate to true? (3 points)
7 == 7.0
7 != 7.0
...
Computers and Technology, 14.01.2021 05:10 unknownday7
Which of the following expressions will evaluate to true? (3 points)
7 == 7.0
7 != 7.0
7 < 7.0
Question 1 options:
1)
I only
2)
II only
3)
III only
4)
I and III only
5)
II and III only
Question 2 (3 points)
Saved
Which of the following expressions will evaluate to true? (3 points)
12 / 5 != 2.0
12 / 5.0 == 2.0
(int)(12.0 / 5.0) == 2.0
Question 2 options:
1)
I only
2)
II only
3)
III only
4)
I and II only
5)
I and III only
Question 3 (3 points)
Assume an integer variable named num is assigned a value of 20. What is the value of num - 7 < 15? (3 points)
Question 3 options:
1)
True
2)
False
3)
0
4)
1
5)
An error occurs
Question 4 (3 points)
What is the result of the following code segment? (3 points)
int x = 10;
if(x + 1 < 20)
x += 5;
System. out. println(x);
Question 4 options:
1)
10
2)
11
3)
15
4)
16
5)
20
Question 5 (3 points)
Assume the integer variable num has been assigned a valid value. What is the purpose of the following code segment? (3 points)
if(num % 10 != 0)
System. out. print(num);
Question 5 options:
1)
It prints num if its value is a multiple of 10.
2)
It prints num if its value is not a multiple of 10.
3)
It always prints the value of num.
4)
It never prints the value of num.
5)
An error occurs at compile time.
Answers: 1
Computers and Technology, 23.06.2019 17:10, madams4450
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi, be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
Computers and Technology, 24.06.2019 17:30, leenzazou98241
What is the next step if your volume does not work on computer
Answers: 2
Computers and Technology, 25.06.2019 04:00, saggirl1209
Use the wrap text icon to modify which graphic appears in the front of layered images modify the picture effects change the way text is wrapped around an object apply wordart to the text
Answers: 1
Computers and Technology, 25.06.2019 04:40, hazeleyes2006
Ineed ! i need a computer whiz to me complete my study guide on computers, it's 50 questions. if anyone can me i'll be greatly appreciated.
Answers: 1
History, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Chemistry, 14.09.2020 14:01
Biology, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01
Mathematics, 14.09.2020 14:01