Explain ACID rule of thumb for transactions.

1 Answer

Answer :

A transaction must be: 1. Atomic - it is one unit of work and does not dependent on previous and following transactions. 2. Consistent - data is either committed or roll back, no “in-between” case where something has been updated and something hasn’t. 3. Isolated - no transaction sees the intermediate results of the current transaction). 4. Durable - the values persist if the data had been committed even if the system crashes right after. 

Related questions

Description : Explain ACID rule of thumb for transactions.

Last Answer : A transaction must be: 1. Atomic - it is one unit of work and does not dependent on previous and following transactions. 2. Consistent - data is either committed or roll back, no in-between ... 4. Durable - the values persist if the data had been committed even if the system crashes right after.

Description : Is there a rule of thumb in English for which of two equivalent contractions to use [see examples]?

Last Answer : no rule that I can remember. The contraction at the front of the sentence tempts me to guess that you’re an engineer or technical writer. Funny, but I don’t think it would occur to me to state “I’ve not” instead of “I haven’t”. Are you fluent in other languages?

Description : Homeowners insurance question - is there a good rule of thumb about how much personal property insurance one should buy?

Last Answer : Just got my policy also and it had jumped up 200 from last year with no claims on the policy ever. I shopped around and found that AARP had a much lower price. I went with 50% and AARP.

Description : Men in their 30's to 50's - date "rule of thumb": women half their age, plus seven years?

Last Answer : Never heard of such a thing. Is that really some kind of unspoken rule somewhere?

Description : What is an easy rule-of-thumb for ensuring relatively well-balanced daily nutrition?

Last Answer : Michael Pollan, author of __The Omnivore’s Dilemma__ has it down to three sentences: “Eat food. Not too much. Plants mainly.”

Description : Is this general rule of thumb true?

Last Answer : I like bananas. I eat them a lot. I am still alive.

Description : As a rule of thumb ladies go fisrt when you are going upstairs, right? what about when you are going downstairs?

Last Answer : haha i love how all the guys are thinking about etiquette with ladies. i have never really analyzed this stuff myself. but yeah, what you said makes sense. you should go before her (while going downstairs) so you can break the fall. ouch.

Description : Which rule implement for axes Nomenclature? a.Left-hand rule b.Right-Hand Rule c.Thumb Rule d.None of the above

Last Answer : b.Right-Hand Rule

Description : The rule of thumb is that a right hander should wear a watch on the left arm and vice versa. Where did that rule come from?

Last Answer : It comes from being able to look at your watch while writting so you don't loose track of time.

Description : What should be the angle between the thumb (main) finger and the central finger in Fleming’s rule? What does each finger indicate?

Last Answer : The angle between the thumb and the central finger must be 90o. Fore finger indicates direction of magnetic field, thumb indicates direction of mechanical force / motion of conductor and the central finger indicates the direction of induced current or electric current.

Description : In Fleming's left hand rule, thumb shows direction of A. current B. field C. motion D. charge

Last Answer : motion

Description : State ‘Cork screw rule’ and ‘Right hand thumb rule’.  

Last Answer : Cork screw rule Direction of magnetic lines of force around a straight current carrying conductor can be determined by these rules. Cork screw rule' says that, the direction of magnetic ... or encircling fingers must be in the direction of magnetic lines of force around the conductor. 

Description : RIGHT HAND THUMB RULE

Last Answer : “By holding a current carrying straight conductor in your right hand then thumb points towards the direction of current and curled fingers around the conductor will give the direction of magnetic field.”

Description : Treating batterers with counseling and therapy would be using which model of domestic violence? a. Political. b. Medical. c. "Rule of thumb". d. Public family.

Last Answer : b. Medical.

Description : The notion that domestic violence is rooted in the society's laws and customs that reinforce male dominance is known as the a. Political model of domestic violence. b. Medical model of domestic violence. c. "Rule of thumb." d. Battered wife syndrome.

Last Answer : a. Political model of domestic violence.

Description : Which of the following statements accurately reflects a rule of thumb upon which the nurse may rely in assessing the patient's fluid balance? a) Minimal intake of 1.5 liters per day If food and fluids are ... 2 liters per day Minimal intake, as a rule of thumb, is less than 2 liters per day.

Last Answer : a) Minimal intake of 1.5 liters per day If food and fluids are withheld, IV fluids (3L/day) are usually prescribed.

Description : In the right-hand rule for propagation, the thumb points in the direction of the E field and the forefinger points in the direction of the H field. In what direction does the middle finger point?

Last Answer : Direction of wave propagation.

Description : As a rule of thumb, what is an acceptable ratio of back-to forward resistance for a diode?

Last Answer : Greater than 10 to 1

Description : Is there a quick rule-of-thumb to estimate a gas side heat-transfer rate inside the tubes of a shell and tube heat exchanger?

Last Answer : If you need to estimate a gas heat transfer rate or see if a program is getting a reasonable gas rate, use the following: h = 75 X Sq. Root(Op. pressure/100) The operating pressure is ... will be lower for the shell side or if there is more than one exchanger. Source: Gulley Computer Associates

Description : IS there a rule of thumb to estimate the footprint of a cooling tower during design phase?

Last Answer : Over the years, this one has seemed to stand the test of time: Every million Btu/h of tower capacity will require approximately 1000 ft2 of cooling tower basin area.

Description : A ____ is a rule of thumb, strategy, trick, simplification, or any other kind of device which drastically limits search for solutions in large problem spaces. A. Heuristic B. Critical C. Value based D. Analytical

Last Answer : A. Heuristic

Description : A heuristic is a rule of thumb------- (a) Strategy (b) Trick (c) Simplification (d) All of above

Last Answer : (d) All of above

Description : A rule-of-thumb for the numbers of organisms required to produce toxins or to produce desired or undesired flavors is one million per ____. a. ounce c. gram b. kilogram d. pound

Last Answer : c. gram

Description : A ____ is a rule of thumb, strategy, trick, simplification, or any other kind of device which drastically limits search for solutions in large problem spaces. A. Heuristic B. Critical C. Value based D. Analytical

Last Answer : A. Heuristic 

Last Answer : While applying Fleming's right-hand rule to And the direction of induced e.m.f., the thumb points towards direction of motion of conductor, if forefinger points along the lines of flux.

Description : Explain how to retrieve information from the configuration file at run time. How would you store information in the configuration file at design time?

Last Answer : You must first create an instance of AppSettingsReader to read the configuration file. You can then call the GetValue method to read values represented in the configuration file. To add configuration ... used to retrieve the entry. The value can be changed between executions of the application.

Description : Explain how to use the PrintPreviewDialog control to display a preview of a printed document before it is printed.

Last Answer : You display a preview of a printed document with the PrintPreviewDialog control by first setting the PrintDocument property of the PrintPreviewDialog instance to the PrintDocument you want to preview, then by calling the PrintPreviewDialog.Show command to display the dialog box. 

Description : Explain the difference between Globalization and Localization.

Last Answer : Globalization refers to the application of culture-specific format to existing data. Localization refers to providing new culture-specific resources and retrieving the appropriate resources based on the culture setting. 

Description : Explain how to convert data in legacy code page formats to the Unicode format.

Last Answer : You can use the Encoding.Convert method to convert data between encoding types. This method requires instances of both encoding types and an array of bytes that represents the data to be converted. ... GetBytes method and can convert an array of bytes back to chars with the Encoding.GetChars method.

Description : Explain how to use the HelpProvider component to provide help for UI elements.

Last Answer : You can provide either a HelpString or a help topic for UI elements with the HelpProvider. The HelpProvider provides HelpString, HelpKeyWord, and HelpNavigator properties for each control on the form. If ... particular element is displayed when the element has the focus and the F1 key is pressed.

Description : Explain how to use the Begin and End methods on a Web Service to make an asynchronous method call.

Last Answer : Every public Web method on a Web Service can be called either synchronously or asynchronously. To make an asynchronous call to a Web method, you call the method named Begin, where is the name of ... returned by Begin. This will allow you to retrieve the actual data returned by the Web method.

Description : Describe an abstract class and explain when one might be useful.

Last Answer : An abstract class is a class that cannot be instantiated but must be inherited. It can contain both implemented methods and abstract methods, which must be implemented in an inheriting class. ... common interface for other methods, and leave more detailed implementation up to the inheriting class.

Description : Briefly explain encapsulation and why it is important in object-oriented - programming.

Last Answer : Encapsulation is the principle that all of the data and functionality required by an object be contained by that object. This allows objects to exist as independent, interchangeable units of functionality without maintaining dependencies on other units of code.

Description : Briefly explain how to convert a string representation of a number to a numeric type, such as an Integer or a Double.

Last Answer : All numeric data types have a Parse method that accepts a string parameter and returns the value represented by that string cast to the appropriate data type. You can use the Parse method of each data type to convert strings to that type.

Description : Explain what a delegate is and how one works. 

Last Answer : A delegate acts like a strongly typed function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods.

Description : Explain how properties differ from fields. Why would you expose public data through properties instead of fields?

Last Answer : Properties allow validation code to execute when values are accessed or changed. This allows you to impose some measure of control over when and how values are read or changed. Fields cannot perform validation when being read or set.

Description : Explain why you might use enums and constants instead of their associated literal values.

Last Answer : Enums and constants make code easier to read and maintain by substituting human-legible tokens for frequently used constant values.

Description : Explain when a type conversion will undergo an implicit cast and when you must perform an explicit cast. What are the dangers associated with explicit casts?

Last Answer : Types can be implicitly converted when the conversion can always take place without any potential loss of data. When a potential loss of data is possible, an explicit cast is required. If an explicit cast is improperly performed, a loss of data precision can result, or an exception can be thrown.

Description : Explain when you might implement a shortcut menu instead of a main menu.

Last Answer : If every possible option is exposed on a main menu, the menu can become busy and hard to use. Shortcut menus allow less frequently used options to be exposed only in situations where they are likely to be used.

Description : Briefly explain the difference between Public (public), Friend (internal), and Private (private) access levels as they apply to user-defined types and members.

Last Answer : In user-defined types, Public (public) classes can be instantiated by any element of the application. Friend (internal) classes can be instantiated only by members of the same assembly, and Private ( ... the same assembly, and Private (private) members can be accessed only from within the type. 

Description : Explain what constructors and destructors are and describe what they are used for.

Last Answer : The constructor is the method that initializes a class or structure and is run when a type is first instantiated. It is used to set default values and perform other tasks required by the class. ... reclaimed by garbage collection. It contains any code that is required for cleanup of the object. 

Description : Briefly explain what is meant by a reference type and a value type.

Last Answer : A value type holds all of the data represented by the variable within the variable itself. A reference type contains a reference to a memory address that holds the data instead of the actual data itself. 

Description : Explain the three services model commonly know as a three-tier application.

Last Answer : Presentation (UI), Business (logic and underlying code) and Data (from storage or other sources).

Description : Explain sizeof and typeof.

Last Answer : typeof obtains the System.Type object for a type and sizeof obtains the size of a type.

Description : Explain the three services model commonly know as a three-tier application.

Last Answer : Presentation (UI), Business (logic and underlying code) and Data (from storage or other sources). 

Description : Explain the “static” keyword in C#?

Last Answer : “Static” keyword can be used for declaring a static member. If the class is made static then all the members of the class are also made static. If the variable is made static then it will have a single instance and the value change is updated in this instance.

Description : Explain namespaces in C#?

Last Answer : Namespaces are containers for the classes. We will use namespaces for grouping the related classes in C#. “Using” keyword can be used for using the namespace in other namespaces.

Description : Explain sealed class in C#?

Last Answer : A sealed class is used to prevent the class from being inherited from other classes. So “sealed” modifier also can be used with methods to avoid the methods to override in the child classes.

Description : What si the difference between interface and abstractclass Select Answer:  1. interface contain only methods  2. we can't declare a variable for interface  3. interface contain only events  4. None  5. All

Last Answer : Ans : 2 The only Difference between Interface and Abstract class is we can declare a variable in abstract class but we can't declare in variable interface

Description : What is the lifespan for items stored in ViewState? Select Answer:  1. Item stored in ViewState exist for the life of the current page  2. Item stored in ViewState exist for the life ... of the current Applicaiton  4. Item stored in ViewState exist for the life of the current configuration

Last Answer : 1. Item stored in ViewState exist for the life of the current page AS any web application works on request and response basis ,so on every post backs, The data in control gets lost. To retain page ... control with data. The life cycle of the view state exist for life of current running page only.