Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
s=ScHoO12@CoM’k=1en(s)m=” “for i in range (0 , k ) :if(s ( i ) . isupper ( ) ) :m=m+s ( i ) . lower ( )elif. s ( i ) . isalpha ( ) :m=m+s ( i ) .upper ( )else :m=m+ ‘bb ‘
Home
Education
s=ScHoO12@CoM’k=1en(s)m=” “for i in range...
asked
Dec 14, 2021
in
Education
by
JackTerrance
s=ScHoO12@CoM’ k=1en(s) m=” “ for i in range (0 , k ) : if(s ( i ) . isupper ( ) ) : m=m+s ( i ) . lower ( ) elif. s ( i ) . isalpha ( ) : m=m+s ( i ) .upper ( ) else : m=m+ ‘bb ‘ print ( m )| Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 14, 2021
by
JackTerrance
Best answer
Answer: Disneyland the specific Explanation: Sukhdev.prisip remember
Related questions
0
votes
Q: s=ScHoO12@CoM’k=1en(s)m=” “for i in range (0 , k ) :if(s ( i ) . isupper ( ) ) :m=m+s ( i ) . lower ( )elif. s ( i ) . isalpha ( ) :m=m+s ( i ) .upper ( )else :m=m+ ‘bb ‘
s=ScHoO12@CoM' k=1en(s) m= for i in range (0 , k ) : if(s ( i ) . isupper ( ) ) : m=m+s ( i ) . ... else : m=m+ bb print ( m )| Select the correct answer from above options...
asked
Dec 14, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: int find(int j) {if(>1Xj=find(j/ 10)+(%10);}else {j=0;return j;void main()int i=1000,int k;k=find(i);
int find(int j) { if(>1X j=find(j/ 10)+(%10); } else { j=0; return j; void main() int i=1000, int k; k=find(i); printf(“%d”, k); 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: 5. Write a program to count the number ofspaces, upper case and lower case charactersin a string, where the string needs to be entered
5. Write a program to count the number of spaces, upper case and lower case characters in a string, where the ... entered by the user Select the correct answer from above options...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: /determiningstatic void sortint al){ int x = a.length;int m.p:for(int i=0; i<x-1; i++)( m alu:pofor(int j=i+1; }<x;j++){ if(alm)llassume ali i
/determining static void sortint al) { int x = a.length; int m.p: for(int i=0; i...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: int fun(int n){if(n!=0) {return n – fun(n-5);}else {return n;}}int main(){int n = 20, z;z = fun(n);printf(“%d”, z);
int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 8. Rewrite the following using ternary operator.(a) if (bill>10000)discount=bill*10.0/100;else
8. Rewrite the following using ternary operator. (a) if (bill>10000) discount=bill*10.0/100; else discount=bill*5.0/100; Select the correct answer from above options...
asked
Nov 30, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: names1=[‘Amir’,’barry’]names2=[name.lower() for name is names1]print names2[2][0]
names1=[‘Amir’,’barry’] names2=[name.lower() for name is names1] print names2[2][0] what gets printed? 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: 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: 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 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: >>> list(range(0, -9,-1)) will print[-1, -2, -3, -4,-5, -6, -7, -8)[0,-1, -2, -3, -4,-5, -6, -7, -8][0,-1, -2, -3, -4, -5, -6, -7, -8,-9)
>>> list(range(0, -9,-1)) will print [-1, -2, -3, -4,-5, -6, -7, -8) [0,-1, -2, -3, -4,-5, -6, -7, -8 ... [0,-1, -2, -3, -4,-5, -6, -7] Select the correct answer from above options...
asked
Dec 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: For a function given by F = 4x i + 7y j +z k, the divergence theorem evaluates to which of the values given, if the surface considered is a cone of radius 1/2π m and height 4π^2 m.
For a function given by F = 4x i + 7y j +z k, the divergence theorem evaluates to ... theory proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked
Nov 11, 2021
in
Education
by
JackTerrance
electromagnetic-theory-interview-questions
electromagnetic-theory-interview-questions-answers
electromagnetic-theory-multiple-choice-questions
electromagnetic-theory-mcq-with-answers
electromagnetic-theory-mcq
electromagnetic-theory-questions
0
votes
Q: dues. Find the output of followingA.X = 3 .Y = x + 2x+ =yprint (x,y)a = 5b = 2xaa+ = a+bb* = a+bprint (a,b)
dues. Find the output of following A. X = 3 . Y = x + 2 x+ =y print (x,y) a = 5 b = 2xa a+ = a+b b* = a+b print (a,b) ) Select the correct answer from above options...
asked
Dec 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: dues. Find the output of followingA.X = 3 .Y = x + 2x+ =yprint (x,y)a = 5b = 2xaa+ = a+bb* = a+bprint (a,b)
dues. Find the output of following A. X = 3 . Y = x + 2 x+ =y print (x,y) a = 5 b = 2xa a+ = a+b b* = a+b print (a,b) ) Select the correct answer from above options...
asked
Dec 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: .Whatcommand should weuse to :-b= 10a)To describe the data type of bb) To
. What command should we use to :- b= 10 a) To describe the data type of b b) To retrieve the address of variable b. Select the correct answer from above options...
asked
Dec 24, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...