T/F. an optimistic approach is based on the assumption that the majority of the database operations do not conflict.

Answers

Answer 1

False. An optimistic approach is based on the assumption that the majority of database operations do conflict.

What is database?
A database is an organized collection of data stored in a computer system. It is composed of multiple tables of information, with relationships between them, and is typically used to store data that can be quickly accessed, managed, and updated. Databases are used in many different applications, such as online banking, e-commerce, data analysis, and decision making. They are especially important for businesses, as they provide a reliable, structured way of storing and retrieving data. Database management systems (DBMS) provide a means for creating and managing databases, and are essential for businesses that need to store and access large quantities of data. The data is organized into tables and can be queried in order to extract meaningful information. Databases are typically highly secure, as they contain valuable data that must be protected from unauthorized access.

To learn more about database
https://brainly.com/question/29418402
#SPJ4


Related Questions

Please Answer Thank You!

Answers

A free body diagram is a straightforward drawing that depicts the forces operating on the elements of a physical system.

How do you calculate tension in Hooke's Law?By applying the formula Fs=-Kx (where k is the spring constant and x is extension), tension can be calculated using Hooke's equation. The spring system uses this.Any physical object that is in contact with another one can apply forces to that object. Depending on the types of objects in touch, we label these contact forces differently. If a rope, string, chain, or cable is one of the objects exerting the force, the force is referred to as tension.The tension is determined using the formula T = (Tx2 + Ty2)1/2. The component TX generates the centripetal force, hence TX = mv2 (m is the object's mass; v is its velocity).  TY = mg (m = mass of the object; g = acceleration due to gravity), where mg is the object's weight.

To learn more about  tension refer,

https://brainly.com/question/16688357

#SPJ1

A tank is constructed of a series of cylinders having diameters of 0.30, 0.25, and 0.15 m as shown in the figure. The tank contains ethanol, oil and water. Ethanol is exposed to air. A mercury manometer is attached to the bottom. Determine the manometer reading, h

Answers

The mercury manometer that attached to the bottom will reading 2.7 cm.

How to determine the manometer reading?

[tex]p_1[/tex] = ethanol density = 789 kg/m^3

[tex]p_2[/tex] = oil density = 918 kg/m^3

[tex]p_3[/tex] = water density = 1000 kg/m^3

[tex]p_4[/tex] = mercury density = 13600 kg/m^3

Since the ethanol is exposed to air and the manometer also exposed to air, we can determine the height of mercury is equal by extra pressure by liquid. So,

[tex]p_4[/tex]*g*h = [tex]p_1[/tex]*g*0.1+[tex]p_2[/tex]*g*0.1+[tex]p_3[/tex]*g*0.2

we can eliminate the g or gravity.

13600h = 789*0.1+918*0.1+1000*0.2

13600h = 78.9+91.8+200

13600h = 370.7

h = 0.027 m

h = 2.7 cm

Thus, the mercury manometer reading will be 2.7 cm.

You question is incomplete, but most probably your full question was

A tank is constructed of a series of cylinders having diameters of 0.30, 0.25, and 0.15 m as shown in the figure. The tank contains ethanol, oil and water. Ethanol is exposed to air. A mercury manometer is attached to the bottom. Determine the manometer reading, h

(image attached)

Learn more about mercury manometer here:

brainly.com/question/13898695

#SPJ4

According to Erikson, the major personality attainment of adolescence is __________. A) trust B) identity C) autonomy D) intimacy

Answers

According to Erikson, the major personality attainment of adolescence is identity. The correct option is B).

What is personality attainment?

Erik Erikson was the first to identify identity as a major personality achievement of adolescence and a critical step toward being a productive, content adult.

Creating an identity entails establishing who you are, what you value, and the life paths you pick. There are eight stages of Erickson's theory. Mistrust is the first stage. During this stage, the infant is unsure of their surroundings and looks to their primary caregiver for stability and consistency of care.

Therefore, the correct option is B) identity.

To learn more about personality attainment, refer to the link:

https://brainly.com/question/28096868

#SPJ1

Consider the cantilevered beam shown in the figure below

Express the internal shear in the beam as a function of x, where x is in feet. Draw Shear Diagram.

Express the internal moment in the beam as a function of x, where x is in feet. Draw Moment Diagram.

Answers

Shear Force variation is parabolic and bending moment variation is cubical.

Load variation rate at a distance of x from free end is

Wx = 200/6 *  X

Wx = 33.33 x

Internal Shear Force as a function of x

Vx = - 300 - 1/2 x 33.33 x X x

Vx = - 300 - 16.67 [tex]x^{2}[/tex]

Bending Moment Diagram

B. Mx = - 300 x x [ -1/2 x 33.33 x *  x ] x x/3

B.M x = - 300x - 5.55 [tex]x^{3}[/tex]

Shear force can be defined as the variation of the bending moment with respect to the length of the beam's longitudinal axis, and it can be calculated using the formula V=dM/dX. Therefore, when the bending moment is uniform across the beam, the shear force will be zero.


To learn more about shear
https://brainly.com/question/12910262
#SPJ4

Cyber criminals often demand ____ as a ransom payment because this type of money is difficult to trace and accessible through any Internet-connected device. Multiple Choice U.S. dollars euros gold cryptocurrency

Answers

Because cryptocurrency is hard to trace and available through any Internet-connected device, cybercriminals frequently utilize it as a ransom payment.

How is cryptocurrency used to pay ransoms, and what is it?

Threat actors typically demand cryptocurrency payments for ransomware because this method of payment protects the anonymity of the destination address linked to the ransom demand. Cryptocurrency is based on technology known as Blockchain.

A crypto wallet can be obtained without providing any personally identifiable information, unlike bank accounts. Except when determined by other means, the owner of the crypto wallet address keeps their identity a secret.

Due to its popularity and accessibility, Bitcoin has become the cryptocurrency of choice for numerous threat actors.

Using bitcoin as the ransom payment method makes it simpler for victims to abide by the ransomware's demands because it offers some level of anonymity and is quite simple to get.

Threat actors prefer to stay anonymous, and getting a bitcoin wallet address doesn't require any information about an individual.

To know more about Blockchain, visit: https://brainly.com/question/25758020

#SPJ4

Which among the following is not a privacy harm?
O Behavioral profiling
O An employee's copyright violation
O Intrusion into seclusion
O Identity theft

Answers

The options above which are not privacy harm is the employee's copyright violation. Usually, employers are entitled to all intellectual property created in/for their business, unless a contract states otherwise.

How dangerous is privacy harm?

Privacy harm has become one of the main obstacles to the enforcement of privacy laws. In most out-of-contract and out-of-contract lawsuits, the plaintiff must prove that they suffered damages. Even when the law doesn't require it, the courts have added the element of prejudice on their own. Harm is also a requirement to establish standing in federal court. In Spokeo v. Robins, the U.S. Supreme Court has ruled that courts can overturn congressional rulings on known harms and dismiss privacy infringement lawsuits.

Learn more about privacy harm https://brainly.com/question/1189272

#SPJ4

How do you reboot your router?

Answers

Answer:

there is a restart button in the top of the router press it

Explanation:

... are pictures composed of straight and curved lines.A. IconsB.SymbolsC.GraphicsD.Shapes

Answers

You can finish the sentence like this: Consisting of both straight and curved lines, icons are images.

What is sentence?
A sentence is indeed a linguistic expression in linguistics as well as grammar, as in the English instance "The quick brown fox jumps so over lazy dog." It is typically described in traditional grammar as a group of words that conveys a complete thought or as a unit made up of a subject as well as predicate. It is typically described in non-functional linguistics as a maximal component of syntactic structure, such as a constituent. According to functional linguistics, it is a group of written texts that are separated by markers like periods, question marks, as well as exclamation points as well as graphological features like capital letters. Contrast this idea with a curve, which is defined by phonological characteristics like pitch and loudness as well as markers like pauses.

To learn more about sentence
https://brainly.com/question/29403600
#SPJ1

Given the following grammar and the right sentential form, draw a parse tree and show the phrases and simple phrases, as well as the handle.
S→AbB | bAc A→Ab | aBB B→Ac | cBb | c
a. aAcccbbc

Answers

The phrases and simple phrases, as well as the handle: The parse tree is given below:

    S

   / \

  A   B

 / \   \

a   B   c

   / \

  c   b

 / \

c   b

What is parse tree?

A partreese is a graphical representation of the structure of a sentence. It is used in natural language processing to show the syntactic structure of a sentence. A parse tree can be used to show the different components of a sentence, such as the subject, verb, object, and any modifiers. It is also used to determine the meaning of a sentence by break it down into its component parts. The tree is made up of nodes, which represent words, and branches, which represent the relation between the words. By analyzing the structure of the tree, linguists can determine the meaning of a sentence and understand how it is constructed.

To learn more about parse tree
https://brainly.com/question/14855906
#SPJ4

assume that all expected frequencies have been computed. what is the next step in the cross tab analysis?

Answers

Use the t-test to compare the estimated expected frequencies with the actual frequencies.

(Row Total * Column Total)/N is the formula for expected frequency.

Each table cell's top value represents the observed frequency, and its bottom number represents the predicted frequency.

By dividing each sample's total by the combined total of both samples, a constant multiplier for each sample is obtained in order to determine the expected results. For sample A in table 8.1, this is 155/289 = 0.5363. Then, this fraction is multiplied by 22, 46, 73, 91, and 57 in that order.

Chi-square goodness-of-fit test for the statistical model. Significant Assumption Each category's expected value must be more than or equal to 5. Ei=npi=(400)(.20)=805 for each category in this case, indicating that the model is adequate.

Know more about frequency here:

https://brainly.com/question/29679696

#SPJ4

describe (a) the similarities and (b) the differences between the bulk-deformation processes described in chapter 6 and the sheet metal forming processes described in this chapter.

Answers

Similarity: Both procedures entail shaping metal into the desired shape. Dissimilarity: Compared to bulk-deformation methods, the sheet metal forming process uses much thinner materials.

Describe deformity.

Deformation in physics is the change of a body from the a star shape to a present condition using continuum mechanics. A config is a collection of all the positions of a body's constituent particles. External loads, intrinsic activity (such as muscle contraction), bodily forces (such gravity or electromagnetic forces), variations in temperature, moisture content, chemical reactions, etc. can all induce deformations. When rigid-body motions are not included, strain and deformation are related in terms of the relative movement of anatomical structures.

To know more about deformity
https://brainly.com/question/13491306
#SPJ4

list and describe the five major dimensions for developing an international information systems architecture.

Answers

the five major dimensions for developing an international information systems architecture are:

Global environment: Understand business drivers and challenges.Cooperate global strategy: How will your firm respond.Organization structure: How will you accomplish the division of labor across a global environment.Management and business processes: How can you discover and manage user requirements.Technology Platforms: You need to have corporate strategy and structure before choosing the right.

What is an information systems architecture?

A corporate or organizational information system's business operations, rules, system structure, technical foundation, and product technologies are all formally defined by the information system architecture. A system's structure, behavior, and other aspects are all defined by its conceptual model or system architecture.

An architecture description is a formal description and representation of a system that is set up to facilitate analysis of its components' structures and actions. Organizing and categorizing content in an efficient and long-lasting manner are the main goals of information architecture (IA). Helping users locate information and do tasks is the aim.

To learn more about an information system architecture, use the link given
https://brainly.com/question/29462466
#SPJ4

Determine the minimum initial velocity and the corresponding angle at which the ball must be kicked in order for it to just cross over the 3 m high fence. Picture shows distance from kicker to the fence (x) is 6m and fence is 3m high (y).

Answers

Minimum initial velocity is 9.76 m/s and the corresponding angle is 58.3° is at which ball must be kicked in order for it to cross over the 3m high fence.

Velocity is the rate at which an object's location is changing as perceived from a particular point of view and as measured by a certain unit of time. It is the direction speed of an object in motion. Velocity is a fundamental concept in kinematics, the branch of classical mechanics that analyzes how bodies move. Being a physical vector quantity, velocity must have both a magnitude and a direction in order to be defined. The scalar absolute value magnitude of velocity is referred to as speed, and it is measured in the SI metric system as metres per second (m/s), which is a coherently derived unit. An object must move at a constant speed in the same direction to have a constant velocity.

To learn more about Velocity click here

brainly.com/question/18084516

#SPJ4

Which of the following is NOT part of a rack-and-pinion steering system?
a. pitman arm
b. idler arm
c. center link
d. all answers are correct

Answers

The one that is not a part of a rack-and-pinion steering system are the pitman arm, idler arm, and center link. The correct option is d. all answers are correct.

What is a rack-and-pinion steering system?

Rack and pinion steering employs a gear set to transform the steering wheel's circular motion into the linear motion required to turn the wheels. Tie rods, the shaft, and rack and pinion are the key components of a rack and pinion system.

When the steering wheel is rotated, the shaft transfers the steering wheel's action to the gear. This causes the gear to rotate, which causes the rack to move.

Therefore, the correct option is d. all answers are correct

To learn more about the steering system, refer to the link:

https://brainly.com/question/11210624

#SPJ1

a motor compressor unit with a rating of 32 amps is protected from over loads by a separate overload relay selected to trip at not more than amps.

Answers

It sounds like you are asking about a motor compressor unit that is protected from overloading by a separate overload relay.

A particular amount of amps of current are chosen to trigger the overload relay.

Selecting an overload relay with a trip point that is appropriate for the motor rating will help to guarantee that the motor compressor unit is protected appropriately. Given that the motor in this instance has a 32 amp rating, the overload relay should be set to trigger at currents no greater than 32 amps. By doing this, you can make sure that the overload relay trips and turns the engine off before it sustains damage from too much current.

It's crucial to regularly check the overload relay to make sure it's working properly.

To know more about Motor Compressor kindly visit
https://brainly.com/question/14456994

#SPJ4

A legacy system is all of the following EXCEPT:Usually found on a mainframe.A system that is already in place, from the past.A system that often holds the middle tier of a multiple-tier system.Old systems that often require hard-to-use command languages.Systems that most often have detailed information that can be accessed by a system at a higher tier.All of the following relate to securing assets EXCEPT:Access to networksAccess to end-user devicesHow third-party vendors ensure securityThe ease with which the system runs after a failure is correctedAccess to servers

Answers

A legacy system is all of the following except a system that often holds the middle tier of a multiple-tier system. The correct option is c.

What is a legacy system?

Any outdated computing system, hardware, or software that is still in use is considered a legacy system. Computer hardware, software programs, file formats, and programming languages are all examples of legacy systems.

It refers to software or IT systems that have been around for a long time but should be replaced by a more recent one due to technical advances.

Therefore, the correct option is c, A system that often holds the middle tier of a multiple-tier system.

To learn more about the legacy system, refer to the link:

https://brainly.com/question/29468465

#SPJ1

5.8.9 Broken Calculator For this exercise, we are going to take a look at an alternate Calculator class, but this one is broken. There are several scope issues in the calculator class that are preventing it from running. Your task is to fix the Calculator class so that it runs and prints out the correct results. The CalculatorTester is completed and should function correctly once you fix the Calculator class.

Answers

An  example of how you can fix the Calculator class:

public class Calculator {

 private static double result;

 

 public static void main(String[] args) {

   add(1, 2);

   subtract(4, 2);

   multiply(2, 3);

   divide(6, 2);

   System.out.println("Result: " + result);

 }

 

 public static void add(double num1, double num2) {

   result = num1 + num2;

 }

 

 public static void subtract(double num1, double num2) {

   result = num1 - num2;

 }

 

 public static void multiply(double num1, double num2) {

   result = num1 * num2;

 }

 

 public static void divide(double num1, double num2) {

   result = num1 / num2;

 }

}

What is the Calculator class?

In the above implementation, the result variable is marked as private static, which means that it can only be accessed within the Calculator class and it is shared among all instances of the class.

The main() method calls the various calculator methods, which perform the necessary calculations and store the result in the result variable. Finally, the main() method prints out the value of result.

Note that this example is just one way to fix the Calculator class. There are other ways to do it as well.

Learn more about Calculator class from

https://brainly.com/question/3198566

#SPJ1

write the code to declare and initialize a one-dimensional array of 10 items. each element is assigned a random integer within a range based on its index. example: For index 0, assign a random integer from 0 to 99, inclusive For index 1, assign a random integer from 100 to 199, inclusive For index 2, assign a random integer from 200 to 299, inclusive (and so on...)

Answers

To write the code to declare and initialize a one-dimensional array of 10 items. each element is assigned a random integer within a range based on its index, check the code given below.

What is one-dimensional array?

A type of data structure called an array is used in computer science to store identical data type elements in continuous memory locations. In a single variable, an array enables us to store multiple values of the same type.

The values can be kept in a variety of structures thanks to different types of arrays. The one-dimensional array structure is one of the types of arrays where values are stored that are used the most frequently. 

One of Array's most straightforward forms is this one. Both their definition and application in programmes are very simple. It is simple to initialise and modify the values kept in a one-dimensional array.

//CODE//

import java.util.Random;

 public class RandomArray {

     public static void main(String[] args) {

        int[] arr = new int[10];

        Random random = new Random();

        for(int i = 0; i < arr.length; ++i) {

            arr[i] = i*100 + random.nextInt(100);

        }

        // print array

        for(int i = 0; i < arr.length; ++i) {

            System.out.println(arr[i]);

        }

    }

 }

Learn more about one-dimensional array

https://brainly.com/question/28505614

#SPJ4

Consider the relation R, which has attributes that hold schedules of course and sections at a university: R = {Course_no, Sec_no, Offering_dept, Credit_hours, Course_level, Instructor_ssn, Semester, Year, Days_hours, Room_no, No_of_students}. Suppose that the following functional dependencies hold on R. {Course_no} rightarrow {Offering_dept, Credit_hours, Course_level} {Course_no, Sec_no, Semester, Year} rightarrow {Days_house, Room_no, No_of_students, Instructor_ssn} {Room_no, Days_hours, Semester, Year} rightarrow {Instructor_ssn, Course_no, Sec_no} Try to determine which sets of attributes from keys of R, How would you normalized this relation?

Answers

The sets of attributes {Course_no, Sec_no, Semester, Year} and {Room_no, Days_hours, Semester, Year} are both keys of R. This relation can be normalized by dividing it into two separate relations, R1 and R2.

What is attributes?
The traits or features that characterise someone or something are known as their attributes. They are employed to specify the features and traits of a person, location, thing, or idea. Bodily, physical, emotional, or religious attributes are all possible. Physical characteristics include things like height, weight, eye colour, gender, and skin tone. Intelligence, creativity, and issue abilities are examples of mental qualities. Empathy, self-control, and compassion are examples of emotional qualities. Faith, patience, & humility are spiritual qualities. In order to comprehend and recognise the distinctive characteristics of a person, area, item, or idea, attributes are crucial.

R1 equals the following: "Course no, Offering dept, Credit hours, Course level"

R2 is equal to "Course no, Sec no, Semester no, Year, Days hours, Room no, Number of Students, Instructor ssn"
R1 would have details on the courses the university provided, and R2 would contain details about the parts of those courses. By doing so, any data duplication would be removed, and data maintenance would be simpler.


To learn more about attibutes
https://brainly.com/question/1997724
#SPJ4

if the maximum load capacity (or buckling load) of column 1 (fixed-fixed) is 100 kn, the load capacity (or buckling load) of column 2 (fixed-free) will be equal to:

Answers

if the maximum load capacity (or buckling load) of column 1 (fixed-fixed) is 100 kn, the load capacity (or buckling load) of column 2 (fixed-free) will be = 1.56kN.

What is buckling load?

Buckling is simply the out-of-plane bending of a vertical compression member. The slenderness of the vertical compression member is typically to blame. This phenomenon is clearly explained by Euler, who has provided elaborate formulas to determine the actual amount of buckling in the compression member.

The compression member may be a column (long, short, or medium), a built-up steel member with a slender web, a readily available steel member with a slender web, etc. For various support situations, different buckling conditions exist. The terms "buckling load" and "crushing load" are interchangeable. We must fortify the slender member to prevent buckling.

Learn more about Buckling

https://brainly.com/question/14338077

#SPJ4

Question 18.Which data type stores only one of two values?a.OLE objectc.Yes/Nob.Hyperlinkd.Null Background image

Answers

The Boolean type describes a logical object that has two values that are; true or false.

What is Boolean data?

A Boolean data type contains two possible values (often labeled true and false), which are supposed to represent the two truth values of logic and Boolean algebra. It is called from George Boole, who established an algebraic logic system in the mid-nineteenth century.

The Python boolean class is one of Python's built-in data types that represents one of two values which are; True or False.

This is commonly used to indicate the truth values of expressions.

For an instance, 1==1 is True whereas 2<1 is False.

Learn more about boolean type here;

brainly.com/question/13853177

#SPJ4

Consider the curb shown in (Figure 1). Suppose that 1 = 2 m, a = 180 mm, b = 100 mm. Part A Determine the volume of concrete needed to construct the curb. Express your answer to three significant figures and include the appropriate units. Figure < 1 of 1 > V= 3 mm Submit Previous Answers Request Answer X Incorrect; Try Again; 2 attempts remaining 4301 Provide Feedback

Answers

Volume of the concrete needed to construct the curb is 4.341 m2 (meter square)

A=∑(θ¯rl)

=π6 ((la) + a(l+a2) + (l+3a2)(√a2+b2) + 2a(l+2a) + 2a(l+a))

=6al + 132a2 + (l+3a2)(√a2+b2)

=(6×0.18×2) + 6.5(0.18)2 + (9.3)(0.2119)

=4.341 m2

Three-dimensional space is quantified by volume. Numerous imperial or US customary measures, including the gallon, quart, and cubic inch, as well as SI-derived units like the cubic metre and litre, are frequently used to quantify it quantitatively. Volume and length cubed have a symbiotic relationship. The volume of a container is typically thought of as the container's capacity, or the quantity of fluid gas or liquid that it could hold, rather than the amount of space the container occupies. Utilizing naturally occurring containers of a comparable shape and subsequently, standardized containers, it is measured. Arithmetic formulas make it simple to determine the volume of some basic three-dimensional shapes.

To learn more about Volume click here

brainly.com/question/1578538

#SPJ4

rder the steps in secondary enrichment. tems (4 items) Drag and drop into the appropriate area) Items in order First activity ceases after ore-bearing 1 flows through deposit and leaches out New ore minerals are tated in a new location. 2 ore-bearing deposit cools 3 4 Last

Answers

Secondary enrichment is an important ore forming procedure. This process is known to be secondary because of the fact that in this case the valuable ore minerals do not directly precipitate from a cooling magma.

In this process ore deposits which are exposed to the ground surface, are weathered just as other rocks. When the ore minerals come in contact to the atmospheric oxygen, it gets oxidized and this oxidized forms are readily soluble in the water.

This solution with high concentration of many valuable materials start its journey downwards. As it gets down, it loses some of its dissolved materials in the surrounding areas and forms the Colorful oxidized zone below the surface.

As the solution leaks further downward and reaches the groundwater table the conditions suddenly changes from oxidizing to reducing. In this circumstances the dissolved materials in the leaking water precipitates and forms secondary sulfide deposits.

From the above discussion the points given in the question can be arranged in the following manner:

1) Igneous activity ceases after producing ore bearing deposits.

2) The bearing deposit cools entirely.

3) Groundwater flows through an ore deposit and leaches out material.

4) New ore minerals are precipitated in new locations.

To learn more about enrichment items
https://brainly.com/question/29440642
#SPJ4

bsquare(k) takes k as a parameter and returns a list containing all perfect squares less than k. (not including k). bsquare(5) will return the list [1, 4] print that list

Answers

A program where bsquare(k) takes k as a parameter and returns a list containing all perfect squares less than k (not including k) is given below in the code.

What is parameter?

A parameter, in general, is any feature that helps define or categorize a particular system (meaning an event, project, object, situation, etc.). To put it another way, a parameter is a system component that is essential or helpful for identifying the system or evaluating its functionality, status, or other properties.

The term "parameter" has more specific meanings in some disciplines, including mathematics, computer programming, engineering, statistics, logic, linguistics, and electronic music composition.

It has broader meanings in addition to its technical applications, especially when used in non-scientific contexts. Examples of defining characteristics or boundaries are "test parameters" and "game play parameters."

//CODE//

def ASquare(k):

    lst = []

    for i in range(k):

        lst.append((i + 1) ** 2)

    return lst   print(ASquare(5))

  def BSquare(k):

    lst = []

    i = 1

    while i * i < k:

        lst.append(i * i)

        i += 1

    return lst

  print(BSquare(5))

Learn more about parameter

https://brainly.com/question/13794992

#SPJ4

write the techi gadgets account program. the program will read a text file containing the following account data:

Answers

Below is the C++ code in we have created a techi gadgets account program and this program can read a text file containing the following account data.

Coding Part:

#include <iostream>

#include <iomanip>

#include <cstdlib>

#include <ctime>

#include <cmath>

#include <string>

#include <fstream>

using namespace std;

void showAll(string theAccounts[5][7]);

void sortInput(string theAccounts[5][7]);

bool readFile(string theAccounts[5][7]);

bool validateUser(string theAccounts[5][7], string, string, int*);

int main()

{

   cout << setprecision(2) << fixed << showpoint;  

   bool userGood;                                    

   bool fileGood;                                    

   int saveRow;                                    

   string username;                              

   string password;                                

   string accountData[5][7] = { " " };            

   

   fileGood = readFile(accountData);  

   {

       if (fileGood == true)

           cout << "The file was read succesfully...\n\n";

       else

       {

           cout << " The file was not read succesfully... exiting program.\n\n";

           return 0;

       }

   }

   sortInput(accountData);  

   do

   {

       

       username = "";

       password = "";

       cout << "Enter the following information, or press 0 to Exit anytime..." << endl;

       cout << "Please enter your User Name :";

       cin >> username;

       if (username == "0")

       {

           cout << "\nThank You, have a nice day.\n\n";

           return 0;

       }

       cout << "Please Enter your User Password :";

       cin >> password;

       if (password == "0")

       {

           cout << "\nThank You, have a nice day.\n\n";

           return 0;

       }

       userGood = validateUser(accountData, username, password, &saveRow); 

       {

           if (userGood == true)  

           {

               if (accountData[saveRow][5] == "A")  

               {  

                   showAll(accountData);

               }

               else

               {

                   cout << "\nWelcome Back " << accountData[saveRow][1] << "!\n\n";

                   cout << setw(8) << left << accountData[saveRow][1];

                   cout << setw(8) << left << accountData[saveRow][2];

                   cout << setw(6) << left << accountData[saveRow][4];

                   cout << setw(4) << left << accountData[saveRow][5];

                   cout << setw(15) << left << accountData[saveRow][6];

                   cout << endl << endl;

               }

           }

           else  

           {

               cout << "Username and password do not match, please try again ...\n" << endl;

           }

       }

   } while (password != "0" || username != "0");

   return 0;

}

void showAll(string theAccounts[5][7])

{

   

   ofstream outputFile;

   outputFile.open("sortedBackup.txt");

   int row = 5;

   cout << "\n";

   for (int index = 0; index < row; index++) 

   {

       cout << setw(20) << right << theAccounts[index][0];

       cout << setw(8) << right << theAccounts[index][1];

       cout << setw(8) << right << theAccounts[index][2];

       cout << setw(10) << right << theAccounts[index][3];

       cout << setw(6) << right << theAccounts[index][4];

       cout << setw(4) << right << theAccounts[index][5];

       cout << setw(15) << right << theAccounts[index][6];

       cout << endl;

       outputFile << setw(20) << right << theAccounts[index][0];

       outputFile << setw(8) << right << theAccounts[index][1];

       outputFile << setw(8) << right << theAccounts[index][2];

       outputFile << setw(10) << right << theAccounts[index][3];

       outputFile << setw(6) << right << theAccounts[index][4];

       outputFile << setw(4) << right << theAccounts[index][5];

       outputFile << setw(15) << right << theAccounts[index][6];

       outputFile << endl;

   }

   cout << "Backup file created ....\n " << endl;

   outputFile.close();

}

void sortInput(string theAccounts[5][7]) 

{

 

   bool sorted = false;

   string temp;

       while (!sorted) {

           sorted = true;

           for (int index = 0; index < 4; ++index) {

               if (theAccounts[index][2] > theAccounts[index + 1][2]) {

                   sorted = false;

                   for (int last = 0; last < 7; ++last) {

                       temp = theAccounts[index][last];

                       theAccounts[index][last] = theAccounts[index + 1][last];

                       theAccounts[index + 1][last] = temp;

                   }

               }

           }

       }

}

bool readFile(string theAccounts[5][7])  

{

   bool fileRead = false;

   int row = 5;

   int col = 7;

   ifstream inputFile;                  

   inputFile.open("AccountData.txt");  

   

   if (inputFile)

   {

       fileRead = true; 

       for (int index = 0; index < row; index++)

           for (int index2 = 0; index2 < col; index2++)

               inputFile >> theAccounts[index][index2];

   }

   inputFile.close();

   return fileRead;

}

bool validateUser(string theAccounts[5][7], string username, string password, int *saveRow)  

{

   bool passed = false;

   int user = 0;

   int pass = 3;

   int row = 0;

   

   

   for (int row = 0; row <= 4; row++)

   {

       if ((username == theAccounts[row][user]) && (password == theAccounts[row][pass]))

       {

           passed = true;

           *saveRow = row;

       }

   }

  return passed;

}

To know more about Program in C++, visit: https://brainly.com/question/27019258

#SPJ4

An algorithm can fall into an infinite loop when ____. the input operations were missing the algorithm uses more than one loop the output operations were missing the continuation condition of the loop never becomes false

Answers

An algorithm can fall into an infinite loop when the continuation condition of the loop never becomes false.

What is loop?

Loop is a set of code or instruction in most programming language to iterate or repeatedly execute the code in loop body without written it multiply times.

There are different method to call the loop, but the basic rule of the loop is still same which is the loop will continuously execute the code as long as condition is true.

Thus, until the condition in loop becomes false, the loop still running into infinite loop.

Learn more about loop here:

brainly.com/question/26098908

#SPJ4

Coal can contain up to about 2000 ppm (by mass) of natural uranium. Compare the chemical energy content of the coal with the available fission energy from the 235U content of the uranium (as used in a thermal reactor) and the total available fission energy from the uranium including 238U (as might be used in a breeder reactor).

Answers

About 1 MW is released each day when 1 g of uranium or plutonium fissions. This is roughly equivalent to 3 tons of coal or 600 gallons of fuel oil burned each day, which releases about 1/4 tonne of carbon dioxide when burned. (One metric ton, or tonne, is equal to 1000 kg.)

How much energy is released during a fission of uranium-235?

The total binding energy released during the fission of an atomic nucleus varies depending on the exact breakdown but typically ranges between 200 MeV* and 3.2 x 10-11 joules for U-235. About 82 TJ/kg is this.

How much more energy is contained in one gram of 235U than one gram of coal?

In actuality, burning 3 tons of coal produces the same amount of energy as fissioning 1 gram of uranium 235 (1)! It is possible to use the energy generated by the fission of uranium or plutonium to generate electricity, launch spacecraft, and power weapons like the atomic bomb.

To know more about binding energy visit:-

brainly.com/question/10095561

#SPJ4

Which of the following is most closely associated with
hairlike receptors in the semicircular canals?
a. Body position
E b. Smell
non
c. Hearing
d. Pain

Answers

The gelatinous membrane that stretches across the tube to form a fluid-tight seal akin to the skin of an ear drum covers the semicircular canal receptor cells, also known as hair cells, only in the center of the circular tubes in a special epithelium.

You can sense your body's position and keep your balance thanks to the stimulation of hair-like receptors that send signals to the cerebellum at the back of the brain.

What functions do semicircular canals perform?

Your inner ear contains three tiny, liquid-filled tubes called semicircular canals that aid in balance. The fluid in the semicircular canals sloshes around as your head moves, moving the fine hairs that line each canal.

To know more about semicircular canals visit:-

brainly.com/question/15873430

#SPJ4

which of the following functions calculate the amount used to repay the principal of a loan? select all options that apply
a. PPMT
b. CUMIPMT
c. IPMT
d. CUMPRINC

Answers

CUMPRINC function calculates the amount used to repay the principal of a loan.

What is a loan?

A loan is a kind of credit arrangement in which a certain amount of money is given to another party in return for the value or principal amount being repaid in the future. The lender will frequently increase the principal amount by adding interest or finance charges, which the borrower must pay in addition to the principal balance.

In addition to being available as an open-ended line of credit up to a predetermined limit, loans can be for a specific, one-time sum. Secured, unsecured, commercial, and personal loans are just a few of the many different types of loans available.

One type of debt that a person or other entity may incur is a loan. A sum of money is advanced to the borrower by the lender, which is typically a business, financial institution, or government.

Learn more about loans

https://brainly.com/question/26011426

#SPJ4

Categorizing Departmental Business Processes Drag each item listed on the left to its correct category Processing Sales Accounting and Finance Marketing and Sales Creating Production Schedules Communicating Marketing Campaigns Attracting Customers Promoting of Discounts Collecting of Accounts Receivable Creating Financial Statements Human Resources Operations Management Enrolling Employees in Health Care Tracking Vacation and Sick Time Hiring Employees Manufacturing Goods Paying of Accounts Payable Reset Ordering Inventory

Answers

Accounting and Finance is for business processes related to finance, Marketing and Sales is for business process related to selling product, Operation Management is for business process related to production, Human Resource is for business process related to employees.

What is business process?

Business process is the set activities to achieve the business goal.

For Accounting and Finance the business process is related to finance. So, Paying of Accounts Payable, Creating Financial Statements, Collecting of Accounts Receivable is a part of Accounting and Finance.

For Marketing and Sales the business process is related to selling product. So, Processing Sales, Communicating Marketing Campaigns, Attracting Customers, Promoting Discounts, Ordering Inventory is a part of Marketing and Sales.

For Operations Management the business process is related to production. So, Manufacturing Goods and Creating Production Schedules is a part of Operations Management.

For Human Resources the business process is related to employees. So, Hiring Employees, Enrolling Employees in Health Care, Tracking Vacation and Sick Time is a part of Human Resources.

You question is incomplete, but most probably your full question was

(image attached)

Learn more about business process here:

brainly.com/question/14476382

#SPJ4

Other Questions
what are the equivalent ratios to the number 65 : 100 ? The brains alarm system is known as the _____ response.A.HPA axis B.Flight-fright-freeze response C.Cortisol response D.Neurochemical response Which action would most likely create a light wave ?A- pouring water into a pile of dirtB- hitting a drum with a drumstickC- producing a fire from fuel D- dropping a pebble in a pond 76.57143 nearest tenth What is the distance between the points (3, 4) and (3, -7) Chlorofluorocarbons may be harming the ozone layer by ____.a.adding more ozone moleculesc.destroying ozone moleculesb.blocking ultraviolet radiationd.adding carbon dioxide moleculesPlease select the best answer from the choices provided EMERGENCY!!!!! what amino acid causes sickle cell anemia?!!!!!?? If t represents the amount of time Neda has spent typing the second letter, which equation states the rule used to determine the number of words, W, Neda has typed today? Can some one help me its due today please help im struggling!!! What is phages of moon? What is a factor that does NOT go into an economic analysis?1. marginal analysis 2. societal concerns 3 ethical concerns4 sunk costs What is the STRONGEST piece of evidence the author provides to support his thesis?Taken from the article "Drowning in Debt"A) People could no longer afford their mortgage payments. Banks foreclosed on homes. B) Unable to pay their full credit-card balances each month, many people made only the minimum payment. C) Midway through the year 2011, the United States national debt was estimated to be over fourteen trillion dollars. D) People borrowed money from banks without knowing precisely how much their monthly mortgage payments would be in the future. E) People used their credit cards to buy more expensive things like computers, high-definition televisions, or vacations to Europe. Q Review / Finish TestTools -ABCQuestion 3Theo is an athletic trainer who works with high school football and baseball players. This clients, 40% play football, and the rest play baseball. Of the students who play football, 30% are on the varsity team,while 50% of Theo's baseball clients are on the varsity team. What percent of Theo's clients are on the varsity team? HOW THIS CONTRIBUTE TO THE FALL OF THE SOVET UNION? please help me with this asap Which phrase from the text most clearly explains the main idea of the third paragraph? (5 points)Memory uses general knowledgeOther memories and other storiesWhen telling a friend about the eventRather than the actual participant Emily's snack allowance at school exceeds $7. Her snack allowance is one-fourth of her monthly allowance. Write and solve an inequality to determine a, what could be Emily's monthly allowance? Thompson and Thompson is a steel bolts manufacturing company. Their current steel bolts have a mean diameter of 136 millimeters, and a variance of 36. If a random sample of 50 steel bolts is selected, what is the probability that the sample mean would differ from the population mean by greater than 1.9 millimeters Light travels at the same speed at all times. True False What influence did operatic composers have on politics??? Will give brainliest! No scammers please..