1answer.
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
Marta_Voda [28]
3 years ago
10

ASAP please

Computers and Technology
1 answer:
Semenov [28]3 years ago
5 0
I think it’s 4


a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
You might be interested in
The application reliability team at your company this added a debug feature to their backend service to send all server events t
Paraphin [41]

Answer:

The correct answer to the following question will be Option A.

Explanation:

The given question is incomplete and the complete question will be:

The event records are at least 50 KB and at most 15 MB and are expected to peak at 3,000 events per second. You want to minimize data loss. Which process should you implement?

Append metadata to file the body.

Compress individual files.

Name files with a random prefix pattern.

Save files to one bucket

(B)

Batch every 10,000 events with a single manifest file for metadata.

Compress event files and manifest files into a single archive file.

Name files using serverName-EventSequence.

Create a new bucket if a bucket is older than 1 day and save the single archive file to the new bucket. Otherwise, save the single archive file to the existing bucket.

(C)

Compress individual files.

Name files with serverName-EventSequence.

Save files to one bucket

Set custom metadata headers for each object after saving.

(D)

Append metadata to file the body.

Compress individual files.

Name files with serverName-Timestamp.

Create a new bucket if the bucket is older than 1 hour and save individual files to the new bucket. Otherwise, save files to the existing bucket.

  • Therefore, in option A, a name file can be used with a prefix pattern randomly. So, it will be the right answer
  • The other three options such as C, B and D are incorrect because they are using name files with "serverName-EventSequence" or "serverName-Timestamp" which causes the distribution in the backend irregularly.

7 0
4 years ago
I’ll mark brainliest, thanks
Mrrafil [7]

Answer:

if that is a tutorial, than just hit submit, the teacher doesn't see it.

Explanation:

i do online schooling on the same website

7 0
3 years ago
Read 2 more answers
Construct a class that will model a quadratic expression (ax^2 + bx + c). In addition to a constructor creating a quadratic expr
stich3 [128]

Answer:

Following are the code to this question:

#include <iostream>//header file

#include<math.h>//header file

using namespace std;

class Quadratic//defining a class Quadratic  

{

private:

double a,b,c;//defining a double variable

public:

Quadratic()//defining default constructor

{

a = 0;//assigning value 0  

b = 0;//assigning value 0  

c = 0;//assigning value 0  

}

Quadratic(double a, double b, double c)//defining a parameterized constructor  

{

this->a = a;//use this keyword to hold value in a variable

this->b = b;//use this keyword to hold value in b variable

this->c = c;//use this keyword to hold value in c variable

}

double getA() //defining a get method  

{

return a;//return value a

}

void setA(double a)//defining a set method to hold value in parameter

{

this->a = a;//assigning value in a variable

}

double getB() //defining a get method  

{

return b;//return value b

}

void setB(double b)//defining a set method to hold value in parameter  

{

this->b = b;//assigning value in b variable

}

double getC() //defining a get method

{

return c;//return value c

}

void setC(double c)//defining a set method to hold value in parameter

{

this->c = c;//assigning value in c variable

}

double Evaluate(double x)//defining a method Evaluate to hold value in parameter

{

return ((a*x*x)+(b*x)+c);//return evaluated value

}

double numberOfReal()//defining a method numberOfReal to calculates the real roots

{

return (b*b)-(4*a*c);//return real roots

}

void findroots()//defining a method findroots

{

double d=numberOfReal();//defining double variable to hold numberOfReal method value

if(d<0)//use if block to check value of d less than 0

cout<<"Equation has no real roots"<<endl;//print message

else

{

double r1=(-b+sqrt(numberOfReal()))/(2*a);//holding root value r1

double r2=(-b-sqrt(numberOfReal()))/(2*a);//holding root value r2

if(r1==r2)//defining if block to check r1 equal to r2

cout<<"Equation has one real root that is "<<r1<<endl;//print message with value

else//else block

cout<<"The equation has two real roots that are "<<r1<<" and "<<r2<<endl;////print message with value

}

}

void print()//defining a method print  

{

cout<< a << "x^2 + " << b << "x + " << c <<endl;//print Quadratic equation

}

};

int main()//defining main method  

{

Quadratic q(5,6,1);//creating Quadratic class object that calls parameterized constructor

q.print();//calling print method

cout<<q.numberOfReal()<<endl;//calling method numberOfReal that prints its value

q.findroots();//calling method findroots

cout<<q.Evaluate(-1);//calling method Evaluate that prints its value

return 0;

}

Output:

5x^2 + 6x + 1

16

The equation has two real roots that are -0.2 and -1

0

Explanation:

In the above code, a class "Quadratic" is declared, which is used to define a default and parameter constructor to holds its parameter value.

In the next step, the get and set method is defined that holds and returns the quadratic value, and "Evaluate, numberOfReal, findroots, and print" in the evaluate method a double variable is used as a parameter that returns evaluated value.

In the "numberOfReal" method it calculates the real roots and returns its value. In the "findroots" method a double variable "d" is declared that hold "numberOfReal" value,

and use a conditional statement to check its value, and in the print method, it prints the quadratic equation.

In the main method, the lass object it calls the parameterized constructor and other methods.

5 0
3 years ago
When I try to make an account, it always says that they are not able to complete the registration at this time. And I didn't alr
Anastasy [175]
Maybe just wait a day and try again
7 0
3 years ago
What software can only be modified by the company that owns it?
podryga [215]

Answer:

Proprietary

Explanation:

Free and Open source is available for anyone to do modifications.

7 0
3 years ago
Other questions:
  • What file formats can you safely use in a video presentation
    14·1 answer
  • Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate t
    14·1 answer
  • When a subdomain has been delegated to a zone on another server, the DNS server hosting the parent zone maintains only an NS rec
    14·1 answer
  • Consider the problem of making change for n cents using the fewest number of coins. Assume that each coins value is an integer.
    7·1 answer
  • Design a class called NumDays. The class’s purpose is to store a value that represents a number of work hours and convert it to
    7·1 answer
  • Work-based learning can be defined as educational experiences that focus on
    11·1 answer
  • ⚠️⚠️⚠️⚠️⚠️⚠️Help! What is not an advantage of using virtual machines?
    14·1 answer
  • Select the correct answer.
    8·1 answer
  • 1.
    9·1 answer
  • Assume that the client wants to retrieve the www.cnn home page but has no information about the www.cnn web server IP address. D
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!