difference between primary and secondary storage​

Answers

Answer 1

Answer:

Primary storage also called as main memory. RAM is an example of primary memory.

Secondary storage are popular as we use them for permanent storage.

Explanation:

Primary storage are temporary such RAM which are required for your program to execute. Without these storage, we can't use the computer for any operations. These memory keeps intermediate data and garbage out when the data no longer required.

On the other hand, when we need to store the data for future reference such as files, photos and videos we use secondary storage devices such as usb drive, hard disk etc.


Related Questions

Give a real-world example of a selection control structure.

Answers

An example of selection structure is when a group of people wanted to know the exact  number of days through the use of a data set that has the daily high temperature which ranges from above 80 degrees, and as such, a programmer can use the if-end statement.

What is an if statement?

An IF statement is known to be a kind of statement that is executed due to the happening of a specific condition.

Note that IF statements must start with IF and end with the END.

Therefore, An example of selection structure is when a group of people wanted to know the exact  number of days through the use of a data set that has the daily high temperature which ranges from above 80 degrees, and as such, a programmer can use the if-end statement.

Learn more about  if-end statement from

https://brainly.com/question/18736215

#SPJ1

import java.io.InputStream;
import java.io.StringReader;
import java.util.Scanner;

public class Main {

public void(String[] args) throws IOException, InterruptedException { Scanner scanner = new Scanner(System.in);
System.out.print("Enter the first name of a contributor: ");

final String firstName = scanner.nextLine(); System.out.println("The maximum contribution received was " + firstName + ".");
System.out.println("The minimum contribution received was " + firstName + ".");
System.out.println("The average contribution amount was " + firstName + ".");
System.out.println("A total of $" + (Integer)contributions * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1); } }

Answers

The error in the code is that "." was not declared as a variable.

What is Debugging?

This refers to the finding of errors in a code to help it to execute properly through either omission or addition of code.

Hence, we can see that the given code has the error of not declaring the "." as a variable and it is used in the print statement to make computations and this would result in an error code.

Read more about java programming here:

https://brainly.com/question/26642771

#SPJ1

Write an expression that executes the loop body as long as the user enters a non-negative number.

Note: If the submitted code has an infinite loop, the system will stop running the code after a few seconds and report "Program end never reached." The system doesn't print the test case that caused the reported message.

Sample outputs with inputs: 9 5 2 -1
Body
Body
Body
Done.


Preferred in Python

user_num = int(input())
while ''' Your solution goes here ''':
print('Body')
user_num = int(input())

print('Done.')

Answers

Answer:

user_num = 9

while user_num > -1:

 print("Body")

 user_num = int(input())

print("Done")

If this answer helped consider rating and marking brainliest :)

Answer:

user_num >= 0 or 0 <= user_num

Explanation:

You want to use one of the comparison operators, to solve this problem, and in this case you're going to specifically use: >= or <=, which is "greater than or equal to" and "less than or equal to", either can be used, it just depends where you place the numbers, kind of like how 10 >= 3 and 3 <= 10 are both true.

So in this case it says "non negative" number, this means that the number is greater than or equal to 0, The reason the equal to is included is because 0 is not negative. this means that you want to include it as well. So don't do user_num > 0, since that would exclude 0, which is not negative. So you're solution for the while loop will be:

while user_num >= 0:

   # code

or you can do

while 0 <= user_num:

   # code

Although I would probably go with user_num >= 0, since it seems to be the most understandable at a glance, although both should work.

functions of memory card​

Answers

Answer:

store data

Explanation:

it is secondary storage device

Follow the instructions for starting C++ and viewing the Introductory21.cpp file, which is contained in either the Cpp8\Chap11\Introductory21 Project folder or the Cpp8\Chap11 folder. (Depending on your C++ development tool, you may need to open the project/solution file first.) The program should calculate the average stock price stored in the prices array. It then should display the average price on the screen. Complete the program using the for statement. Save and then run the program.

Answers

Explanation:

I would use a for loop cycling through the array and adding the arrays values into a variable, then keep track of how many items in the array you have. Finally divide the total by the amount of stock prices and output it.

A spherical buoy may be

Answers

A spherical buoy may be lettered rather than being numbered.

What is a spherical buoy?

A spherical buoy can be defined as a type of buoy of which the larger part of the superstructure or the upper part of the body that has a spherical shape and it's distinctively lettered.

In this context, we can infer and logically deduce that a spherical buoy may be lettered and it is usually anchored in a swimming pool to mark the course for swimmers and triathletes.

Read more on buoy here: https://brainly.com/question/14931928

#SPJ1

enter formula that uses the IF function to test whether the number of years of experience (cell M5) is greater than or equal to 4

Answers

Answer:

if n mod cell m5 >=4 then

and continue your programming

The formula that uses the IF function to test is:

IF(M5 >= 4, "Qualified", "Not Qualified")

In Excel, use the IF function to test whether the number of years of experience (cell M5) is greater than or equal to 4.

The formula would be:

=IF(M5 >= 4, "Qualified", "Not Qualified")

This formula will check if the value in cell M5 is greater than or equal to 4. If it is, the result will be "Qualified".

Otherwise, if it's less than 4, the result will be "Not Qualified".

Learn more about Excel here:

https://brainly.com/question/33209328

#SPJ3

Why is haptic feedback important?

Answers

[tex]\huge\underline{\red{A}\green{n}\blue{s}\purple{w}\pink{e}\orange{r} →}[/tex]

Haptic feedback is used to engage more of the user's senses to provide a deeper and more immersive experience. Products that offer haptic feedback, such as some game controllers, often provide different kinds of sensations to correspond with different visual and audio stimuli.

Explanation:

Hope it helps you !!

Which is a valid I
P address?

Answers

Answer:

2001:0db8:85a3:0000:0000:8a2e:0370:7334" and "2001:db8:85a3:0:0:8A2E:0370:7334" are valid IPv6 addresses, while "2001:0db8:85a3::8A2E:037j:7334

Explanation:

Below functions flatten the nested list of integers (List[List[int]]) into a single list and remove duplicates by leaving only the first occurrences. When the total number of elements is N, choose the one that correctly compares the time complexity with respect to N of each function.

f1 = f3 < f2
f1 = f2 < f3
f3 < f1 = f2
f3 < f1 < f2
f1 = f2 = f3

Answers

If the the total number of elements is N, the option that correctly compares the time complexity with respect to N of each function is f3 < f1 < f2.

What does it mean to flatten a list?

Flattening lists is a term that connote the act of changing a multidimensional or any kind of nested list into  what we call a one-dimensional list.

Note that For example, the act of changing this list of [[1,2], [3,4]] list to [1,2,3,4] is known as flattening.

So, If the the total number of elements is N, the option that correctly compares the time complexity with respect to N of each function is f3 < f1 < f2.

Learn more about computer coding from

https://brainly.com/question/23275071

#SPJ1

What three files do you need to perform a mail merge?

HELP ASAP PLEASE!!

Answers

The 3 files you need to have for a successful mail merge are:

An Excel spreadsheet worksOutlook Contact List. Apple Contacts List or Text file, etc.

What is Mail Merge?

This is known to be the act of carrying out  a Mail Merge and it is one where a person will need to use a Word document and a recipient list, that is an Excel workbook.

Files needed are:

Text file,address files, etc.

The 3 files you need to have for a successful mail merge are:

An Excel spreadsheet worksOutlook Contact List.

Apple Contacts List or Text file, etc.

Learn more about mail merge from

https://brainly.com/question/20904639

#SPJ1

Write the pseudocode for a program that merges the two files into one file containing a list of all students in the district, maintaining student ID number order

Answers

The Pseudocode for a program that performs the above function is given below.

What is a pseudocode?

Pseudocode is a fictitious and informal language that aids programmers in the development of algorithms.

Pseudocode is a detailed (algorithmic) design tool that is "text-based."

Pseudocode sample:

start

Declarations

InputFile customerData

OutputFile mailingLabels

string studentid

string firstName

string LastName

string streetAddress

housekeeping( )

while bothDone = "N"

mainLoop( )

endwhile

finishUp( )

stop

housekeeping( )

open customerData "VernonHillsMailOrderBoxes.txt"

open mailingLabels "CutomerMailingLabels.txt"

Jefferson( )

Audubon( )

if jeffId = 9999 then

if audId = 9999 then

bothDone = "Y"

endif

endif

return

Jefferson( )

if eof then

jeffId = 9999

endif

return

Audubon( )

if eof then

audId = 9999

endif

return

mainLoop( )

if jeffId > audId then

Audubon( )

else

Jefferson( )

endif

if jeffId = 9999 then

if audId = 9999 then

bothDone = "Y"

endif

endif

return

finishUp( )

close files

return

Learn more about pseudocode at;
https://brainly.com/question/24953880
#SPJ1

class Login: def __init__(self): self.login_name = 'none' self.login_password = 'none' # TODO: Define class method - check_credentials(self, user_login, user_passwd) if __name__ == "__main__": login = Login() timeout = 5 #variable used for login attempts login = input() password = input() # TODO: Create boolean variable that receives return value from # calling check_credentials(login, password) # TODO: Create a loop that will continue until login attempts run out or a successful login is returned # TODO: Create a loop that only allows 5 failed login attempts

Answers

Create boolean variable that receives return value from # calling check_credentials(login, password) # TODO a loop that will continue until login attempts run out or a successful login is returned # TODO #elegance Login elegance Login: #_init def _init_(self)  #initializing login_name as none self.login_name = 'none'.

What is a code in programming?

In laptop programming, laptop code refers back to the set of instructions, or a device of rules, written in a specific programming language (i.e., the supply code). It is likewise the time period used for the supply code after it's been processed via way of means of a compiler and made equipped to run at the laptop (i.e., the item code).

CODE#elegance Loginelegance Login: #_init_ def _init_(self):  #initializing login_name as none  self.login_name = 'none'  #initializing login_password as none  self.login_password = 'none' #check_credentials() def check_credentials(self, user_login, user_passwd):  #initializing simlogin as 'Test'  simlogin = 'Test' #initializing simpass as 'Test'  simpass = 'test1234' #if consumer despatched an appropriate credentials  if user_login == simlogin and user_passwd == simpass:   #print "Successful login!"   print("Successful login!")   #returns False   go back False    #returns False   go back False   #timeout variable used for login attempts timeout = five #spark off for password password = input() #if now no longer legitimate login  else:   #decrements timeout  timeout = timeout - 1   #if timeout equals 0   if timeout == 0:    #prints "five failed login attempts. No extra login attempts."    print("five failed login attempts. No extra login attempts.")     #exits the loop    break  #spark off for consumer call  login = input()

Read more about the code:

https://brainly.com/question/4514135

#SPJ1

Can someone make me a edit please I’ll give you my socials to do it

Answers

Answer:

I can only make logos and other stuff

Explanation:

my 1nsta is lovcgui

Explain the different hardware used by local network

Answers

The different hardware used by local network are:

Routers hubsswitchesbridges, etc.What is the role of the hardware?

The hardware are tools that aids in the act of connecting a computer or device to any form of local area network (LAN).

Note that hardware components needed also are:

A network interface card (NIC) A wireless network interface controller (WNIC) A transmission medium , wired or wireless.

Learn more about  local network from

https://brainly.com/question/1167985

#SPJ1

One benefit of using a CRM system to segment a market (rather than another type of market segmentation tool) is that a good CRM tool

Answers

Customer relationship management (CRM) software is one that has a lot of vital customer preferences, demographics, and purchasing Techni yes that may be able to use to segment markets and this set it apart from others.

What are the benefits of using CRM?

The benefits of CRM platforms are:

It is known to have Trustworthy reporting.It has an Improved messaging that is said to have automation.They carry out Proactive service and others.

So, Customer relationship management (CRM) software is one that has a lot of vital customer preferences, demographics, and purchasing Techni yes that may be able to use to segment markets and this set it apart from others.

Learn more about CRM from

https://brainly.com/question/25656282

#SPJ1

if you get a messge online saying you just won a game you just need to give ame email address and phone number to have it shipped what should you do

Answers

Answer:

block the number and cancel all notifications form that scammerrr

Explanation:

We're given the training set data with the following values for variable X1:

X1 Feature Values
6
7
12
-5


We chose to perform scaling Using t-distribution standardization.
Which of the following answers is true, regarding the values of the feature after scaling?
Remark: a 2-digit accuracy after the decimal point is sufficient.
Select the best answer

Select one:
A.
The value of the feature of the third example after scaling is about 0.6
B.
The value of the feature of the third example after scaling is about 1.33
C.
The value of the feature of the third example after scaling is about 1.67
D.
The value of the feature of the third example after scaling is about 0.97

Answers

The option that is true, regarding the values of the feature after scaling is that The value of the feature of the third example after scaling is about 0.6.

What is standard t-distribution?

The t-distribution is one that the standardized distances of sample mean implies to the population mean if the population standard deviation is said to be unknown, and the observations is originated from a normally distributed population.

Note that The option that is true, regarding the values of the feature after scaling is that The value of the feature of the third example after scaling is about 0.6.

Learn more about t-distribution standardization from

https://brainly.com/question/24277447

#SPJ1

How would it be feasible to combine both formats in a single disk?

Answers

It be feasible to combine both formats in a single disk are Field \lenght should be placed after the information saved withinside the area to expose in which it ends.

What is fixed-length area and variable length?

Fixed-length method having a fixed length that by no means varies. In database systems, an area will have a hard and fast or a variable period. A variable-period area is one whose period may be special in every document, relying on what information is saved withinside the are.

You should determine what number of characters it is able to contain. If a area is of the variable period then an End-Of-Field marker should be placed after the information is saved withinside the area to expose in which it ends. If a document incorporates a few fields that have variable lengths then the document period can be variable.it's miles feasible to mix each constant period and variable period on a single disk.

Read more about the single disk:

https://brainly.com/question/11600913

#SPJ1

1. Create a program that determines and displays the number of unique characters in a string entered by a user. for example , Hello, World! has 10 unique characters while zzz has only 1 unique character. solve this problem

Answers

The given code that would determine and displays the number of unique characters in a string entered by a user.

def main():

   #We create a dict but leave it blank for now

   letterDict = {}

   text = input("Enter a text string: ")

   for c in text:

       #We don't want to count non alphabetic characters

       if c.isalpha():

           #We don't need to count how many times we have seen this item so just store any

           #value using the current character as a key

           letterDict[c] = 1

   #Now len(letterDict) will return the number of items in the dict and that is also

   #the number of unique characters

   print("The number of unique characters in that string = ", len(letterDict))

if __name__ == '__main__':

   main()

Read more about programs here:

https://brainly.com/question/23275071

#SPJ1

Identify the correctly constructed ALTER TABLE statement to add a UNIQUE constraint to the column user_number with the constraint name user_number_unique on the table called 'user'.

Answers

ALTER TABLE user ADD CONSTRAINT user_number_unique UNIQUE (user_number); 

Common mistakes with adding the UNIQUE constraint to an existing column include not having ( ) around the column names, omitting the keyword UNIQUE, incorrectly spelling the column name, and not including the constraint name.

What can quantum computers do more efficiently than regular computers?

Answers

Answer:

QC process the same information in quantum bits or qubits which are 1s and 0s. qubits have a third state called “superposition” that allows them to represent a one or a zero at the same time

For Example, Factoring / Multiplying two large numbers is easy for any computer. But calculating the factors of a very large (say, 200-digit) number, on the other hand, is considered impossible for any PC. While Quantum Computers can perform the same task in few seconds.

question in file i need this work done tonight

Answers

This is to much work for 5 points cmon

Pick the 3 correct Python functions that parse and output only the date and time part of each log in log.txt as follows.


parse1
parse2
parse3
parse4
parse5

Answers

Answer:

1, 4, 5

Explanation:

parse2:

. In this case it's passing "r" as an argument, which really does absolutely nothing, because whenever you call open("file.txt") it defaults to reading mode, so all you're doing is explicitly passing the "r". So let's look at the first line. Whenever you call str.split() without any arguments, by default it splits it by empty text, and filters any empty text. So str.split() is not the same as str.split(" ") although it has similar behavior. "     ".split(" ") will output ['', '', '', '', '', ''], while "     ".split() will output []. So in this case the line.split() will split the string '10.1.2.1 - car [01/Mar/2022:13:05:05  +0900] "GET /python HTTP/1.0" 200 2222' into the list ['10.1.2.1', '-', 'car', '[01/Mar/2022:13:05:05', '+0900]', '"GET', '/python', 'HTTP/1.0"', '200', '2222']. As you can see the the data is split into two pieces of text, AND they include the brackets in both strings. So when it gets the 3 index and strips it of the "[]" it will have the incomplete date

parse3:

 In this instance the "r" does nothing as mentioned before the "r" is already defaulted whenever you call open("file.txt") so open("file.txt") is the same as open("file.txt", "r"). So in this case we won't be working left to right, we're going inside the brackets first, kind of like in math you don't don't work left to right in equation 3 + 3(2+3). You work in the brackets first (inside brackets you do left to right). So the first piece of code to run is the line.split("[" or "]"). I actually kind of misspoke here. Technically the "[" or "]" runs first because this doesn't do what you may think it does. The or will only return one value. this is not splitting the line by both "[" and "]". The, or will evaluate which is true from left to right, and if it is true, it returns that. Since strings are evaluated on their length to determine if they're true. the "[" will evaluate to true, because any string that is not empty is true, if a string is empty it's false. So the "[" will evaluate to true this the "[" or "]" will evaluate to "[". So after that the code will run line.split("[") which makes the list: ['10.1.2.1 - car ', '01/Mar/2022:13:05:05  +0900] "GET /python HTTP/1.0" 200 2222']. Now the [3:5] will splice the list so that it returns a list with the elements at index 3 (including 3) to 5 (excluding 5). This returns the list: [], because the previous list only has 2 elements. There are no elements at index 3 to 5 (excluding 5). So when you join the list by " ", you'll get an empty string

parse4:

  So I'm actually a bit confused here, I thought the "r+" would open the file in read-writing mode, but maybe this is a different version of python I have no idea, so I'm going to assume it is reading/writing mode, which just means you can read and write to the file. Anyways when you split the line by doing line.split(), as mentioned before it will split by empty spaces and filter any empty spaces. This line will return: ['10.1.2.1', '-', 'car', '[01/Mar/2022:13:05:05', '+0900]', '"GET', '/python', 'HTTP/1.0"', '200', '2222']. and then you splice the list from indexes 3 to 5 (excluding 5). This will return the list: ['[01/Mar/2022:13:05:05', '+0900]'] which has the two pieces of information you need for the date. Now it joins them by a space which will output: '[01/Mar/2022:13:05:05 +0900]'. Now when you strip the "[]" you get the string: '01/Mar/2022:13:05:05 +0900' which is the correct output!

parse 5:

 So in this example it's using re.split. And the re.split is splitting by "[" or "]" which is what re.split can be used for, to split by multiple strings, which may be confused by string.split("[" or "]") which is not the same thing as explained above what the latter does. Also the reason there is a backslash in front of the [ and ] is to escape it, because normally those two characters would be used to define a set, but by using a \ in front of it, you're essentially telling regex to interpret it literally. So in splitting the string by "[" and "]" you'll get the list: ['10.1.2.1 - car ', '01/Mar/2022:13:05:05  +0900', ' "GET /python HTTP/1.0" 200 2222'] which has 3 elements, since it was split by the [ and the ]. The second element has the date, so all you need to do is index the list using the index 1, which is exactly what the code does

write the function and syntax of the following QBASIC statement.
i. INPUT
i. PRINT ​

Answers

The the function and syntax of the INPUT and PRINT command is written below.

What is the syntax of INPUT statement?

The syntax is known to be:

INPUT #file_stream, variable1 ; variable2$ ' where a lot of variables can be taken.

What is the syntax of print statement in QBasic?

First. write all about the program that is ("PRINT "Hello World") into any text editor or a  QBasic IDE and then save it with the term "1HELLO. BAS" and then open the file in QBasic and click on F5.

What is the function of print command in QBasic?

PRINT statement givens  one the output on the screen as it is known to prints the values of the expression.

What is the function of input command?

The INPUT command is said to be used to put together input from any given user.

Learn more about INPUT command from

https://brainly.com/question/23338965

#SPJ1

PLease don't copy I need new code

c++

The acronym for a given string is formed by combining the first letters from a series of words, as in this example: "self contained underwater breathing apparatus" ==> "SCUBA".

Your program generates and displays the acronyms for each of the strings in a data file named “acronym.dat”.

The output of your program should be of the following format:

Self contained underwater breathing apparatus ==> SCUBA

White anglo saxon protestant ==> WASP

……

North Atlantic Treaty Organization ==> NATO

The strings in the data file may have mixed upper and lower letters. You may assume that no hyphen and underscore, and no punctuation marks is present in the data file. The acronyms generated should all be in upper case letters. Your program output should have the exact format as shown above.

You are required to write a value-returning function to convert one line of characters into its corresponding acronym. This function needs to be called within a loop that reads lines of characters from the data file one line at a time, and performs the acronym conversion.

acrynom.data

Self contained underwater breathing apparatus
White anglo saxon protestant
North Atlantic Treaty Organization
Defense Advanced Research Projects Agency
Laugh Out Loud
By the way
Best Friends Forever
I Love You
In my humble opinion
Oh my god
Wicked Evil Grin
Wish you were here
National Science Foundation
National Institute Health

#include
using namespace std;

int main() {


return 0;
}

describe/define each variable used in that module. Variable names must be descriptive. Separate variable definitions from variable descriptions. Use the following form for this description: variable declared; // variable description in English sentence(s)

Properly indent all code according to descriptions given in “Indent C Programs” (http://www.cs.arizona.edu/~mccann/indent_c.html). You must be consistent in the number of spaces used for indentation.

• To improve readability, use a moderate amount of white space, i.e., insert blank lines between blocks of code, and between different modules/functions.

• Comments need to be written for each logically related block of code. This include a while or for loop, a if decision statement, a switch statement, a group of statements that compute a value, a block of code that read in user data, a group of statements that displays output, etc.

4. For each user defined function, comments need to be written above the function describing:

o What does this function do?

o What are the expected input values?

o What are the expected return values?

Answers

Using knowledge of computational language in C++ it is possible to write a function that "self contained underwater breathing apparatus"SCUBA". In this program generates and displays the acronyms for each of the strings in a data file named.

Writting in C++

#include<iostream>

#include<fstream>

#include<string>

using namespace std;

// Your program is required to have at least one user-define function.

// This function takes one string as input and returns the acronym corresponding to that string.

string getAcronym(string str){

string message = "";

if(str[0]>='a' && str[0]<='z')

message += str[0]-32;

else

message = str[0];

for(int i=1; i<str.length()-1; i++)

{

if(str[i-1]==' '){

if(str[i]>='a' && str[i]<='z')

message += str[i]-32;

else

message += str[i];

}

}

return message;

}

// Write a C++ program named acronym.cc

int main(){

// Your program generates and displays the acronyms for each of the strings in a data file named

See more about C++ at brainly.com/question/19705654

#SPJ1

9. Changing from a bystander to an advocate requires
A. a large social media following.
B. a high-speed Internet connection.
C. bravery.
D. piracy.

Answers

9
The answer is bravery

An information system will be developed to keep track of a utility company's assets, such as buildings, vehicles, and equipment. As new asset information becomes available, staff working in the field can update it using mobile devices. This system should integrate several existing asset databases that the company has. Based on the generic information system architecture shown in Figure 6.18 of the recommended key text, page 187, create a layered architecture for this asset management system.

Answers

The four standard layers of a layered architecture are:

presentation, business, persistence, database.

What is a Layered Architecture?

This refers to the architectural style that is used to show components with similar functions in horizontal layers that have specific roles.

Hence, we can see that no generic info system architecture was attached to the answer, so it would be impossible to create a layered architecture, so a general overview was given about layered architecture.

Read more about layered architecture here:

https://brainly.com/question/2563702

#SPJ1

briefly explain how human thinking is mapped to artificial intelligence components

Answers

Mind mapping is a method that uses visual representations of concepts and details to make material simpler to recall is the  human thinking is mapped to artificial intelligence components

What is artificial intelligence?

The replication of human intelligence functions by machines, particularly computer systems, is referred to as "artificial intelligence." Expert systems, speech recognition, machine vision, and natural language processing are also included.

Thus, Mind mapping is a method that uses visual representations

For more details about artificial intelligence, click here:

https://brainly.com/question/22678576

#SPJ1

Answer first before explanation please

Which of the following scenarios reflect the atomicity
property?

A) 1. A transaction has completed executing.
2: The changes are saved to volatile memory.
3. The changes are then saved to non-volatile
memory.

B) 1. The product quantity starts at 200.
2. Transaction 1 runs to read the quantity of the
product to be updated.
3. Transaction 2 attempts to read the quantity of
the same product.
4. Transaction 2 has to wait until transaction 1 is
complete.
5. Transaction 1 updates the product quantity to
reduce it by 100.
6. Transaction 2 is now able to read the quantity
to be updated.
7. Transaction 2 updates the product quantity to
reduce it by 5.
8. The product quantity ends at 95.

C) 1. The newsletter column can only accept Y or N
as options.
2. The user tries to attempt to enter in Maybe.
3. The transaction is denied.

D) 1. A transaction has two SQL requests.
2. Both successfully complete.
3. The data is then committed.

Answers

D) Transaction has two SQL requests, both successfully complete, the data is then committed.

Explanation: Atomicity requires that all SQL requests in a transaction should be fully completed and if not, the entire transaction should be aborted. The transaction should be viewed as a single logical unit of work that is indivisible.

A transaction has two SQL requests both successfully completed and then the data is committed. Option (d) is correct.

What do you mean by Transaction?

An executed contract between a buyer and a seller to trade goods, services, or financial assets in exchange for money is known as a transaction. The phrase is also frequently used in business accounting.

Atomicity mandates that each SQL request inside a transaction be fully finished; otherwise, the transaction must be canceled. The transaction should be seen as a single, indivisible logical unit of work.

A database's atomicity assures that it adheres to the all or nothing principle. In other words, the database views each transaction as a single, complete entity. As a result, when a database processes a transaction, it either executes it in full or not at all.

Therefore, Option (d) is correct. A transaction has two SQL requests both successfully completed and then the data is committed.

Learn more about Transaction, here;

https://brainly.com/question/24730931

#SPJ2

Other Questions
A patient was in refractory ventricular fibrillation. A third shock has just been administered. Your team looks to you for instructions. What is your next action?. Draw a histogram and a box-and-whisker plot to represent the combined data, and answer the questions. Be sure to include the new graphs as part of your final submission.How do the graphs of the combined data compare to the original graphs?Compared to the original graphs, do the new graphs make it easier or more difficult to estimate the price of a book? three pieces of piping are needed on construction site. The second piece needs to be 2m longer than the first, and the third piece needs to be 7m longer than the first, the combined length of the piping is 72m. Determine the lengths of the three pieces of pipe A defect in the formation of the neural tube during early fetal development can occur from a lack of. Women and men typically have the same normal microbiota in their reproductive systems. Group of answer choices True False Find the volume of the prism. you have been invited to a night party by a friend, write a letter to the friend giving at least three reasons why you cannot attendpls I want very important answer to my question 4Al(s) + 30(g) 2Al2O3 (s)How many molecules of O are used in the reaction?How many oxygen atoms are required?How many moles of Al2O3 are formed?What is the mole ratio of Al to O? Caterpillar is a manufacturer of heavy equipment. The company imports steel parts such as buckets for end loaders from China. Once the products arrive from China, Caterpillar must remove rust from the items that developed during ocean transport. What area of the marketing mix best characterizes this issue related to the imported steel parts Write the equation for a parabola with a focus at (9,0) and a directrix at y=-4y Find a degree 3 polynomial with real coefficients having zeros 2 and 3 i and a lead coefficient of 1. Write P in expanded form. Be sure to write the full equation, including P ( x ) = . Which two of the following allied offenses were key victories against Germany I. Think about what you've done so far today, and what you still have to do. Writethree sentences using the present perfect tense to tell what you've done, and threesentences in the present perfect to tell what you haven't done yet. For example: Yahe asistido a mis clases. Todava no he hecho mi tarea.2. Which of the following can be used to pierce the corporate veil? Group of answer choices adequate capitalization alter ego theory formation of the corporation to avoid personal liability Jake packed 12 jars of paint in a wooden tool box. Each jar and its contents weigh 10 ounces. The empty box weighs 1 pound 14 ounces. What is the total weight of the packed box The length and width of a rectangle are consecutive integers. The perimeter of the rectangle is 30 meters. Find the length and width of the rectangle. 1. If f={(-1,6), (0,3), (2,9), (6,10)} and g={(0,2), (3,7), (12,3)}, what is (fog)(0)?(a) 9(b) 3(c) 2(d) 7 These trianglesare congruent bythe trianglecongruencepostulate [ ? ]A. SSSB. SASC. Neither, they are not congruent Use the law of sines to find the length of side c Hamza buys a car for 900 and sells it for 1,280. Write the sale price as a percentage of the original price. Give your answer to the nearest whole percent and include the % symbol.