Answer:
Explanation:
Mysql is an open source database management system written in C and C++ language used to store, retrieve or modify a database. Mysql is used as a web database. Mysql can be combined with other programs so as to provide relational database capabilities as well as its implementation.
% matches any number of characters as well as zero characters while _ matches exactly one character.
Answer:
Explanation:
The following code is written in Python. It asks the user for an input. Then cleans the input using regex to remove all commas, whitespace, and apostrophes as well as making it all lowercase. Then it reverses the phrase and saves it to a variable called reverse. Finally, it compares the two versions of the phrase, if they are equal it prints out that it is a palindrome, otherwise it prints that it is not a palindrome. The test case output can be seen in the attached picture below.
import re
phrase = input("Enter word or phrase: ")
phrase = re.sub("[,'\s]", '', phrase).lower()
reverse = phrase[::-1]
if phrase == reverse:
print("This word/phrase is a palindrome")
else:
print("This word/phrase is NOT a palindrome")
You have to ask you teacher to show you which ones you got wrong and the answers to them.
Answer:
microsoft windows, macOS, and linux
Explanation:
if you need help let me know
Answer:
Explanation:
The first diagram shows the DFA that accepts that accepts any string except 11 and 111
The second diagram shows every odd position of w is 1