Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What will be the output produced by following code statements? State reason(s).i. (17%5) == (17%5.0)ii. (87 // 5.0) == (87 / 5.0)
Home
Education
What will be the output produced by following...
asked
Dec 19, 2021
in
Education
by
JackTerrance
What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5.0) == (87 / 5.0) iii. (87 // 5.0) == int((87 / 5.0)) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 19, 2021
by
JackTerrance
Best answer
Answer: AC bracket on the 47 of the on the Himalaya India 50.0
Related questions
0
votes
Q: What will be the output produced by following code statements? State reason(s).i. (17%5) == (17%5.0)ii. (87 // 5.0) == (87 / 5.0)
What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked
Dec 18, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: State the type of errors if any in the following statements:(i) switch ( 2 );(ii) System.out.println(670/0);
State the type of errors if any in the following statements: (i) switch ( 2 ); (ii) System.out.println(670/0); pls answer Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be output produced by following: (2)
What will be output produced by following: (2) (i) 12/4 (ii) 14//14 (iii) 14%4 (iv) 14.0/4 Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Analyse the given program segment and answer the following questionsi) write the output of the program segment ii)how many times does the body of the loop gets executefor(int m=5 ; m<=20 ;m+=5){if (m%3= = 0)break;elseif (m%5= = 0) System.out.println(m) continue;}
Analyse the given program segment and answer the following questions i) write the output of the program segment ii)how many times ... body of the loop gets execute for(int m=5 ; m...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In Java,what will be the output of the following code and how?double x=2.9,y=2.5;(SOP is abbreviated form of System.out.println)SOP(Math.min(Math.floor(x),y));SOP(Math.max(Math.ceil(x),y));
In Java, what will be the output of the following code and how? double x=2.9,y=2.5; (SOP is abbreviated form ... x),y)); Explain how Select the correct answer from above options...
asked
Nov 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: (i) x=5, y=6,2=20Q8) Consider the following statements and describe the output/statement required:(a) To retrieve the data type of the inputted string “Covid 19” stored inside the variable Disease.(b) x,y=”99″, “9”,Find the concatenated value of x and y and also retrieve the address of x and y.(c) Q= “Class XI” * 3
(i) x=5, y=6,2=20 Q8) Consider the following statements and describe the output/statement required: ... multiple assignment statements. Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: II. State whether the following statements are True or False.
II. State whether the following statements are True or False. 1. Data is very secure in a Bus Topology. 2. ... distance like a city Select the correct answer from above options...
asked
Dec 21, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Express the decimal number 68.5 in i) bcd code ii) xs-3 code iii) gray code
Express the decimal number 68.5 in i) bcd code ii) xs-3 code iii) gray code Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: – What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo(&p);
- What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo( ... (D) Segmentation fault/code crash Select the correct answer from above options...
asked
Dec 24, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Consider a list2 with values 70,60,50. What will be the output statements considering that the above objecthas been created already.a. print (list2*2)
Consider a list2 with values 70,60,50. What will be the output statements considering that the above object has ... print(list2*3) Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: b. Write a java statement to accomplish each of the following tasks:i. Declare a variable, sum and a to be of type int.ii. Assign 1 to variable a.iii. Assign 0 to variable sum.iv. Add variable a to variable sum and assign the result to variable sum.
b. Write a java statement to accomplish each of the following tasks: i. Declare a variable, sum and a to be ... value of variable sum. Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In the circuit shown below steady state is obtained before the switch closes at t = 0. The switch is closed for 1.5 s and is then opened. At t = 1 s, V (t) will be?
In the circuit shown below steady state is obtained before the switch closes at t = 0. The switch is closed for ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 16, 2021
in
Education
by
JackTerrance
network-theory-questions-and-answers
network-theory-questions-pdf
network-theory-question-bank
network-theory-gate-questions-and-answers-pdf
mcq-on-network-theory-pdf
gate-network-theory-questions-and-solutions
network-theory-mcq-test
0
votes
Q: The circuit shown below is at steady state before the switch closes at t=0. The switch is closed for 1.5 s and is then opened. At t = 2 s, V (t) will be?
The circuit shown below is at steady state before the switch closes at t=0. The switch is closed for 1.5 s ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 16, 2021
in
Education
by
JackTerrance
network-theory-questions-and-answers
network-theory-questions-pdf
network-theory-question-bank
network-theory-gate-questions-and-answers-pdf
mcq-on-network-theory-pdf
gate-network-theory-questions-and-solutions
network-theory-mcq-test
0
votes
Q: What would be the output of the following program segments? Give reasons to justify your answer.i) System.out.print(“Sum =”+6 + 2);ii) System.out.print(“Sum = ”+ ‘B’+ ‘2’);iii) System.out.print(“Sum = ”+ 6 + ‘B’);iv) System.out.print(“Sum = ”+ (‘B’ + ‘a’));
What would be the output of the following program segments? Give reasons to justify your answer. i) System.out.print( Sum ... + a ); Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: OUTPUT PRODUCED BY THE INFORMATION SYSTEM AFTER PROCESSSING, WHAT IS IT CALLED?
OUTPUT PRODUCED BY THE INFORMATION SYSTEM AFTER PROCESSSING, WHAT IS IT CALLED? Select the correct answer from above options...
asked
Dec 12, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...