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
natali 33
1 month ago
13

Sarah works in a coffee house where she is responsible for keying in customer orders. A customer orders snacks and coffee, but l

ater, cancels the snacks, saying she wants only coffee. At the end of the day, Sarah finds that there is a mismatch in the snack items ordered. Which term suggests that data has been violated?
Computers and Technology
2 answers:
Amiraneli [921]1 month ago
8 0

Answer:

c

Explanation:

Natasha_Volkova [897]1 month ago
5 0

Answer:

Stack

Explanation:

A Stack is a type of linear data structure that organizes operations or task sequences in a specific manner.

It operates on a LIFO (Last In, First Out) principle, often referred to as the first come, first served order, or a FILO (First In, Last Out) method.

There are several practical examples of this concept, one being the situation where Sarah replenishes snack items for customers.

If she follows the LIFO approach, it means she is placing new snack items on top of the existing ones, which could be the reason for the mismatch.

You might be interested in
A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a fi
oksian1 [797]

Answer:

Below is the Python code with suitable comments.

Explanation:

#Input file name acquisition

filename=input('Enter the input file name: ')

#Opening the input file

inputFile = open(filename,"r+")

#Dictionary definition.

list={}

#Read and split file content using a loop

for word in inputFile.read().split():

#Check if the word exists in the file.

if word not in list:

list[word] = 1

#Increment count by 1

else:

list[word] += 1

#Closing the file.

inputFile.close();

#Output a blank line

print();

#Sorting words according to their ASCII values.

for i in sorted(list):

#Display unique words along with their

#frequencies in alphabetical order.

print("{0} {1} ".format(i, list[i]));

3 0
1 month ago
In Python, what kind of error is returned by the following code? (e.g. NameError, ValueError, IOError, etc.) def my_func(n1, n2)
Harlamova29_29 [932]

Answer:

SyntaxError.

Explanation:

https://www.quora.com/In-Python-what-kind-of-error-is-returned-by-the-following-code-e-g-NameError-ValueError-IOError-etc-def-my_func-n1-n2-return-n1-n2-my_func-1-2-3          original source

brainlest plz

6 0
1 month ago
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 [894]

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
29 days ago
In the lab, you used the filter box in Wireshark to remove traffic from port 3389. What is that port used for? What filter synta
8_murik_8 [892]

Answer:

Port 3389 is designated for remote desktop access to graphical user interfaces.

The syntax for tracking ping traffic is " tcp.port eq 25 or icmp".

Explanation:

Wireshark serves as a network packet sniffer utilized for analyzing and troubleshooting packet transmission within a network.

The ping command is employed in networks to verify connectivity between two devices. It sends ICMP echo messages to an IP address and awaits their return if the connection exists. To filter ping traffic in Wireshark, the syntax " tcp.port eq 25 or icmp" is applied.

This port 3389 acts as a listening port for the Microsoft proprietary remote desktop protocol, allowing remote connections to graphical interfaces of systems running the RDP server.

6 0
1 month ago
Complete the function definition to output the hours given minutes. Output for sample program: 3.5
Harlamova29_29 [932]

#include <iostream>

using namespace std;


void OutputMinutesAsHours(double origMinutes) {

double hours = origMinutes / 60.0;

cout << hours;

}


int main() {

OutputMinutesAsHours(210.0); // This function will also be called with 3600.0 and 0.0.

cout << endl;

return 0;

}


The lines highlighted in bold perform the conversion from minutes to hours by dividing the input minutes by 60, since there are 60 minutes in one hour. The parameter origMinutes is a double, so the division uses 60.0 to keep consistent data types. Running this code with 210.0 will output 3.5.

4 0
1 month ago
Other questions:
  • Which of these is an example of the integrity principle that can ensure your data is accurate and untampered with?
    10·2 answers
  • 7. Which of these statements is true? Agile is a programming language MySQL is a database HTML stands for "Hypertext Markup Link
    15·1 answer
  • The part of the computer that contains the brain, or central processing unit, is also known as the A.monitor B.modem C.keyboard
    10·1 answer
  • Ajay wants to read a brief overview about early settlers in the United States. Which type of online text source should he most l
    9·2 answers
  • Allan needs to ensure that an object is in a very precise location on a slide. He decides to use the Ruler option to achieve thi
    5·2 answers
  • U.S. industries like steel, computers, and energy need to be protected from foreign competition to ensure which of the following
    6·2 answers
  • Consider the following skeletal C program: void fun1(void); /* prototype */ void fun2(void); /* prototype */ void fun3(void); /*
    11·1 answer
  • A 1.17 g sample of an alkane hydrocarbon gas occupies a volume of 674 mL at 28°C and 741 mmHg. Alkanes are known to have the gen
    14·1 answer
  • You work in the educational software industry. Your boss asks you to give a brief lecture to other employees about the digital d
    7·2 answers
  • An array subscript can be an expression, but only as long as the expression evaluates to what type?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!