answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
I am Lyosha
2 months ago
13

Discussion Question 10: A bank in California has 13 branches spread throughout northern California , each with its own minicompu

ter where its data are stored. Another bank has ten branches spread throughout California , with the data being stored on a mainframe in San Francisco . Which system do you think is more vulnerable to unauthorized access
Computers and Technology
1 answer:
Harlamova29_29 [1K]2 months ago
3 0
The banking system that poses greater risk of vulnerabilities is the one with ten branches dispersed across California, where data resides on a central mainframe located in San Francisco. If the branches do not share data across the network, the risk of hacking is reduced. However, with a network setup, both data sharing and centralized storage increase exposure to unauthorized access.
You might be interested in
OCR Land is a theme park aimed at children and adults. Entrance tickets are sold online. An adult ticket to OCR Land costs £19.9
Rzqust [1037]

Answer:

count = 0

while count!= 8:

height = float(input("Enter the height of the rider: "))

if height >= 140:

print("You may ride")

count += 1

else:

if height >= 120:

answer = input("Is the rider accompanied by an adult (yes/no): ")

if answer == "yes":

print("You may ride")

count += 1

else:

print("You are not permitted to ride")

else:

print("You are not permitted to ride")

Explanation:

Begin with a count of zero, which will track the number of riders allowed. Use a while loop that continues until the count reaches 8. During each iteration, request the user's height. If the height is 140 cm or taller, display "You may ride" and increment the count. If the height is 120 cm or more, check if the rider is with an adult. If not, show the message "You are not permitted to ride"; otherwise, allow the ride and increase the count. If the height is below 120 cm, deny the ride.

5 0
2 months ago
Dairy Farm decided to ship milk in containers in the form of cubes rather than cylinders. Write a program called ws4.cpp that pr
Harlamova29_29 [1022]

Answer:

1. #include <iostream>

2. #include <cmath>

3.  

4. using namespace std;

5.  

6. int main()

7. {

8.     float radius;  

9.     cout << "Type the radius of the base: "; // Input a number

10.     cin >> radius; // Capture user input

11.      

12.     float height;  

13.     cout << "Type the height: "; // Enter a number and press enter

14.     cin >> height; // Get user input

15.      

16.     float volumeCylinder = 3.1416 * radius * radius * height;

17.     float cubeSide = std::pow(volumeCylinder, 1/3.);

18.     cout<<"Cube side is: "<< cubeSide;

19.      

20.     return cubeSide;

21. }

Explanation:

  • Lines 1 to 5 observe two libraries
  • Lines 6 to 7 declare the main function
  • Lines 8 to 11 solicit the radius of the cylinder from the user
  • Lines 12 to 15 request the user to input the cylinder's height
  • Line 16 calculates the cylinder's volume with the formula        V=pi*(r^2)*h
  • Line 17 computes the side length of a cube with a matching volume as the cylinder using side=∛(V)
  • Lines 18 to 21 display and return the cube's side length
Download cpp
3 0
2 months ago
The function below takes a single string parameter: sentence. Complete the function to return a list of strings that are in the
Rzqust [1037]

Response:

#section 1

def listofWordswitha(text):

   ''' This function outputs all words from a string that include the letter 'a' '''

   tex = text.split()

   new = []

#section 2

   for word in tex:

       for char in word:

           if char == 'a':

               new.append(word)

               

               break

   return new

Clarification:

#section 1

First, you need to establish your function and provide an argument representing the string that will be utilized.

It's beneficial to include a docstring that describes the function's purpose, which I've added.

Then, use the split method to break the string into a list. In conclusion, you create a list to store all the words that contain 'a'.

#section 2

The terminology chosen is specific to facilitate understanding.

FOR EVERY WORD inside the list and FOR EACH LETTER in the WORD.

IF a LETTER 'a' is found in the word, ADD that WORD to the NEW LIST.

The append function serves to incorporate new entries into the list.

A break statement is employed to avoid redundancy since some words might have multiple instances of 'a'. Thus, upon encountering a word containing 'a', it appends it and shifts to the next word.

Ultimately, the new list is returned.

I will utilize your inquiry to validate the code and provide the results for you.

4 0
2 months ago
Other questions:
  • A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output i
    15·1 answer
  • Two middle-order batsmen are compared based on their performance in their previous cricket match.
    7·1 answer
  • The video clip on driverless cars explained that brain signals from the individual wearing the headset are converted by computer
    13·2 answers
  • According to the author, there are five hedging strategies organizations can pursue. One of them is: Select one: a. commit with
    5·1 answer
  • (Java)Write a program that calculates and displays the conversion of an entered number of dollars into currency denominations—20
    11·1 answer
  • Sketch the developments in multimedia. What do you expect to be the commercial impact of multimedia in the (near) future?
    12·1 answer
  • According to the book, if your CPU usage levels are greater than ________ during most of your work session, a faster CPU can gre
    6·1 answer
  • Access-lists pose a logical problem which often has more than one solution. Can you think of a different set of rules or placeme
    8·1 answer
  • Which are the common database operations that can help organize data for easy retrieval? helps return search results faster in a
    5·2 answers
  • Dr. Robbins wants to know if there are different opinions regarding the value of public school education between Native American
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!