Answer:
It uses a recursive method to find out if a string is a palindrome
Explanation:
Palindrome is a word or a sequence which is read same as backward as forwards. There are various method to find a palindrome. Palindrome can be determined recursively by identifying the first and last letters of the word. These first and last letter should be same. If they are same then the word or sequence is palindrome.
The user cannot close all the programs if he closes the open virtual desktop.
<h3>What are virtual desktops?</h3>
A virtual desktop is a computer operating system that does not run directly on the endpoint hardware from which a user accesses it. The desktop environment is separated from the physical device used to access it.
I call it a false desktop.
It is use to separate your work activities.
Therefore, the user cannot close all the programs if he closes the open virtual desktop.
learn more on virtual desktop here: brainly.com/question/14332029
#SPJ12
Answer:
1) B (++ and --)
2) A (1 2 3 4 5)
Explanation:
In the first question, the operators ++ and -- are used in almost all programming languages for adding and subtracting 1 respectively from an operand.
In the second question using a while statement the numbers 1-5 is printed out because the variable n=1 is increased by 1 after each iteration.
Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands.
<h3>What does polymorphism helps?</h3>
Polymorphism is known to be that which helps its users to be able to carry out one action in a lot of ways that is many forms.
Note that Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands and thus makes one to work faster.
Learn more about Polymorphism from
brainly.com/question/20317264
#SJ1
1.mouse input
2.keyboard input
3.monitor output
4.speakers output
5.printer output , and input if has scanner
5.microphone input