Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
How many times is the word ‘ADITYA’ printed in the following statements?S=’RATHEESH BARATHI’for ch in S[3:10]:
Home
Education
How many times is the word ‘ADITYA’ printed...
asked
Dec 25, 2021
in
Education
by
JackTerrance
How many times is the word ‘ADITYA’ printed in the following statements? S=’RATHEESH BARATHI’ for ch in S[3:10]: print(‘ADITYA’) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 25, 2021
by
JackTerrance
Best answer
The word will be printed 7 times. S[3:10] is a slice of 7 characters so the loop will run 7 times.
Related questions
0
votes
Q: How many times the following loop will execute? And, what will be the output of this loop?int m=3;for (; m<=30; ){System.out.println(m);m += 3;
How many times the following loop will execute? And, what will be the output of this loop? int m=3; for (; m...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: How many times the following loop will execute? And, what will be the output of this loop?int m=3;for (; m<=30; )1System.out.println(m);m += 3;
How many times the following loop will execute? And, what will be the output of this loop? int m=3; for (; m...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: State wheter the following statements are true or false. Use a regular font to highlight a word
State wheter the following statements are true or false. Use a regular font to highlight a word 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 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: 8. I can't think of insulting my friend, 9. She loves her parents immensely, 10. I am not going to give up, 11. The man's house was demolished, 2. He brought a whole bundle of plants, 3. Chetan is the youngest magician in the world, 4. Adventures fascinate you, There was a merry look in her eyes,
8. I can't think of insulting my friend, 9. She loves her parents immensely, 10. I am not going to give up ... merry look in her eyes, Select the correct answer from above options...
asked
Aug 3, 2022
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Neeta has tied a very long document solar system she went to search the word stars in the document s
Neeta has tied a very long document solar system she went to search the word stars in the document so that she ... find the word stars 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: Write and run (using appropriate calling program) a near procedure in 8086 assembly language that ch
Write and run (using appropriate calling program) a near procedure in 8086 assembly language that checks if the input ... AL register. 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: Plzz give me solution of ch 1 number system of it apps class 7 .
Plzz give me solution of ch 1 number system of it apps class 7 . 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: 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: 3.USING THE FOLLOWING STATEMENTS P : THE FOOD IS GOOD Q : THE SERVICE IS GOOD R : THE RATING IS 3 ST
3.USING THE FOLLOWING STATEMENTS P : THE FOOD IS GOOD Q : THE SERVICE IS GOOD R : THE RATING IS 3 STARS ... GOOD FOOD AND GOOD SERVICE 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: (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: How many relational operators are used in C? ( Answer in one word )
How many relational operators are used in C? ( Answer in one word ) 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: answer the following one word:1)To open virtual desktop.2)To personalize Windows, according to the user’s preferences.3)Power saving option in your computer
answer the following one word: 1)To open virtual desktop. 2)To personalize Windows, according to the user's ... your hard disk. Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: You are reading a word document containing 10 pages. You reach the 3rd page of the document by pressing the Page Down key, which type of key is being pressed by you?
You are reading a word document containing 10 pages. You reach the 3rd page of the document by pressing the Page ... pressed by you? Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...