Answer:
ababababab
Explanation:
The code above is written in python and python uses indentation .So let me rephrase the code accordingly and explain what the code really do.
Note x and y is a global variable which can be used by any of the function declared. According to the question x and y are 2 and 3 respectively
The first block of code describes a function f1 without any argument but the code should return the string "ab"
def f1():
return "ab"
The second block of code defines a function f2 and returns the value of f1 multiply by x. This means you are multiplying the string "ab" by 2 which will be equals to abab
def f2():
return f1() * x
The third block of code declared a function f3 and returns the sum of f2 and product of f1 and y. using PEMDAS principle the multiplication aspect will be solved first so, ab × 3 = ababab, then we add it to f2 . ababab + abab = ababababab.
def f3():
return f2() + f1() * y
Finally, we print the function f3 value to get ababababab
print(f3())
If you run the code on your IDE like below you will get ababababab
x = 2
y = 3
def f1():
return "ab"
def f2():
return f1() * x
def f3():
return f2() + f1() * y
print(f3())
Answer:
- Gather customer feedback: Email Survey
- Tell customers about the extended opening hours: Social Media Page
- Show customers Hamish’s latest hair looks: An online gallery
- Help customers find the new salon: A map
Explanation:
1. By sending a questionnaire or survey via email, Hamish can gather customer feedback. Customers can answer these questionnaires directly in attached questions. They can also give feedback over email. Email survery is an economical way to collect feedback and can be sent to a many customers at the same time.
2. Hamish can tell customers about opening hours by a Social Media Page is a mean to assist social media accounts through QR Codes. He can update with his salon information via this web page. When customers scan can see salon's logo, information etc on this page in order to follow.
3. Hamish can display his latest hair looks through an online gallery by sharing his photos to many people. These images are stored, organized displayed and shared on the website (online gallery). This is a better option than using expensive albums and hard copies.
4. Hamish can help customers to find a new salon by providing a map on his website. This makes easier for customers to locate the new salon as map provides with the navigation information. Customers can get a route from their current location to the salon.
The pen drive was invented in 1998 by IBM
The utility you would use to return the common
name of the computer you are at is Ping.exe. This is the one of the utility
which are in first command line utilities. It's easy, first you need to open cmd.exe then you
should enter ping-your ip adress, this reveals the TCP/ICP name of the computer
you are at.
Answer:
Option D is correct.
Explanation:
Solutions to protecting toward potential the following authentication assaults on his website are that he may not fully stop the intruders attempt because he continuously turn proxy as the intervening behavior would slow down the attacker's efforts. Samuel intends to prevent the violent attack efforts of attackers on his site.
The other options are not correct due to the following reason that describe the option D is correct.