Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
what will be the output for the following code fragment: first=2second=3third=first*second
Home
Education
what will be the output for the following code...
asked
Dec 23, 2021
in
Education
by
JackTerrance
what will be the output for the following code fragment: first=2 second=3 third=first*second print(first,second,third) first=first+second+third third=second*first print(third,second,first) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 23, 2021
by
JackTerrance
Best answer
Answer: Please answer me it proprely what is question
Related questions
0
votes
Q: Consider below given code fragment. What will be their outputs if the inputs are entered
Consider below given code fragment. What will be their outputs if the inputs are entered in the given order are i. ... t it fun? ) 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 the output of following python code?flowers =[‘rose’, ‘lotus’,”lily’ for x in flowers:print’flowers name:, x
What will be the output of following python code? flowers =[ rose', lotus', lily' for x in flowers: ... x plsss give write answer 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: what will be the output of following python code print(‘ab12’.isalnum())
what will be the output of following python code print(‘ab12’.isalnum()) 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: – 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: b) What will be the output of the following Python code?
b) What will be the output of the following Python code? print(‘ab12’.isalnum()) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: e)What will be the output of the following code? (2)x,y=4,8z=x/y*y
e)What will be the output of the following code? (2) x,y=4,8 z=x/y*y print(z) 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: 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 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] 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: 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: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] 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: (a) What will be the output of the following Python code?from math import factorial
(a) What will be the output of the following Python code? from math import factorial print (math.factorial (5) ... : print(factorial(5) Select the correct answer from above options...
asked
Dec 17, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of following code? (2)Value=”Simar”Age=17print(Value,”, your are “, 17, “now but”)
What will be the output of following code? (2) Value= Simar Age=17 print(Value, , your are , 17, now but ) ... ,Age+1, next year ) Select the correct answer from above options...
asked
Dec 13, 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: Suppose we run the multistage algorithm on the data of exercise 6.3.1, with the same support threshold of 4. The first pass is the same as in that exercise, and for the second pass, we hash pairs to nine buckets, using the hash function that hashes {i, j} to bucket i + j mod 9. Determine the counts of the buckets on the second pass. Does the second pass reduce the set of candidate pairs
Suppose we run the multistage algorithm on the data of exercise 6.3.1, with the same support threshold of 4. ... set of candidate pairs 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: Write the output of the following code:str2=list(“***@123*”)for l in range(len(str2)-1):if l==5:
Write the output of the following code: str2=list( ***@123* ) for l in range(len(str2)-1): if l==5: str2[i ... str2[i]='D' print(str2) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...