answersLogoWhite

0


Best Answer

In programming, the best way to establish two-way communication between modules is to use global variables. These variables will apply throughout the program. Just make sure to declare them before establishing the main module.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What variables are useful for establishing two-way communication between modules?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Communications

What services does Sierra Wireless offer to its customers?

Sierra Wireless provides many digital accessories to its customers. Sierra Wireless provides broadband modems, wireless gateways, wireless modules, etc.


What is LiveLink?

Livelink has recently had its name changed to Open Text Content Server but at its heart is a web-based system that indexes the content of your unstructured information. Word, Excel and PDF documents are just some of the document types that can be managed by Livelink. Additional capabilities are available via optional and third party modules and include things like Records Management, Imaging Solutions, Contract Management and integrations with leading applications like SAP and Sharepoint.


The Best quality hosting site is B Host by far check it out here- Bit.l y/2Zctzn0= remove spaces to make link work?

VPS will often be allocated resources based on a one server to many VPSs relationship, however virtualisation may be done for a number of reasons, including the ability to move a VPS container between servers. The users may have root access to their own virtual space. Customers are sometimes responsible for patching and maintaining the server (unmanaged server) or the VPS provider may provide server admin tasks for the customer (managed server). The user gets his or her own Web server and gains full control over it (user has root access for Linux/administrator access for Windows); however, the user typically does not own the server. One type of dedicated hosting is self-managed or unmanaged. This is usually the least expensive for dedicated plans. The user has full administrative access to the server, which means the client is responsible for the security and maintenance of his own dedicated server. The user gets his or her own Web server but is not allowed full control over it (user is denied root access for Linux/administrator access for Windows); however, they are allowed to manage their data via FTP or other remote management tools. The user is disallowed full control so that the provider can guarantee quality of service by not allowing the user to modify the server or potentially create configuration problems. The user typically does not own the server. The server is leased to the client. Similar to the dedicated web hosting service, but the user owns the colo server; the hosting company provides physical space that the server takes up and takes care of the server. This is the most powerful and expensive type of web hosting service. In most cases, the colocation provider may provide little to no support directly for their client's machine, providing only the electrical, Internet access, and storage facilities for the server. In most cases for colo, the client would have his own administrator visit the data center on site to do any hardware upgrades or changes. Formerly, many colocation providers would accept any system configuration for hosting, even ones housed in desktop-style minitower cases, but most hosts now require rack mount enclosures and standard system configurations. This is a new type of hosting platform that allows customers powerful, scalable and reliable hosting based on clustered load-balanced servers and utility billing. A cloud hosted website may be more reliable than alternatives since other computers in the cloud can compensate when a single piece of hardware goes down. Also, local power disruptions or even natural disasters are less problematic for cloud hosted sites, as cloud hosting is decentralized. Cloud hosting also allows providers to charge users only for resources consumed by the user, rather than a flat fee for the amount the user expects they will use, or a fixed cost upfront hardware investment. Alternatively, the lack of centralization may give users less control on where their data is located which could be a problem for users with data security or privacy concerns. Cloud hosting users can request additional resources on-demand such as only during periods of peak traffic, while offloading IT management to the cloud hosting service. Having multiple servers hosting the same content for better resource utilization. Clustered servers are a perfect solution for high-availability dedicated hosting, or creating a scalable web hosting solution. A cluster may separate web serving from database hosting capability. (Usually web hosts use clustered hosting for their shared hosting plans, as there are multiple benefits to the mass managing of clients). This form of distributed hosting is when a server cluster acts like a grid and is composed of multiple nodes. Usually a single machine placed in a private residence can be used to host one or more web sites from a usually consumer-grade broadband connection. These can be purpose-built machines or more commonly old PCs. Some ISPs actively attempt to block home servers by disallowing incoming requests to TCP port 80 of the user's connection and by refusing to provide static IP addresses. A common way to attain a reliable DNS host name is by creating an account with a dynamic DNS service. A dynamic DNS service will automatically change the IP address that a URL points to when the IP address changes.Some specific types of hosting provided by web host service providers: File hosting service: hosts files, not web pages Image hosting service Video hosting service Blog hosting service Paste bin Shopping cart software E-mail hosting service The host may also provide an interface or control panel for managing the Web server and installing scripts, as well as other modules and service applications like e-mail. A web server that does not use a control panel for managing the hosting account, is often referred to as a "headless" server. Some hosts specialize in certain software or services (e.g. e-commerce, blogs, etc.). The availability of a website is measured by the percentage of a year in which the website is publicly accessible and reachable via the Internet. This is different from measuring the uptime of a system. Uptime refers to the system itself being online. Uptime does not take into account being able to reach it as in the event of a network outage. A hosting provider's Service Level Agreement (SLA) may include a certain amount of scheduled downtime per year in order to perform maintenance on the systems. This scheduled downtime is often excluded from the SLA timeframe, and needs to be subtracted from the Total Time when availability is calculated. Depending on the wording of an SLA, if the availability of a system drops below that in the signed SLA, a hosting provider often will provide a partial refund for time lost. How downtime is determined changes from provider to provider, therefore reading the SLA is imperative. Not all providers release uptime statistics. Most hosting providers will guarantee at least 99.9% uptime which will allow for 43m of downtime per month, or 8h 45m of downtime per year. Web hosting is often provided as part of a general Internet access plan from Internet service providers


Related questions

What variables are useful for two-way communication between modules?

Constant Variables


What is the CCD bus in an automobile's instrument cluster?

The CCD bus is the communication network between modules on the car.


What is u7315 in a vehicle code?

Not sure of that code in particular, but U codes are generally communication errors between the various modules of the vehicle


What does no bus mean on a 2005 Chrysler Pacifica?

The bus is the communication system between the computers on the vehicle. No bus means that the system has failed. Possible causes include broken wires, bad modules, loose connectors.The bus is the communication system between the computers on the vehicle. No bus means that the system has failed. Possible causes include broken wires, bad modules, loose connectors.


What is the difference between a hierarchy of modules and a flowchart?

What is the difference between a hierarchy of modules and a flowchart.


What are the differences between a global variable and macro?

A global variable is a place of data storage which multiple modules of application (sometimes all modules) can access to read and modify the variable's content. A macro is something altogether different. A macro is a set of instructions, typically used to save keystrokes when coding, and to maintain code readability. While macros can reference, declare or use variables (including global variables), macros and variables are quite different and cannot be compared.


How are coupling and cohesion related to modular design?

Ideally, modules will have low coupling and high cohesion. Coupling describes the strength of the connection between modules in a program. Loose (or low) coupling occurs when modules do not depend on other modules. One way to control this is by avoiding the use of global variables and reducing the number of variables that are passed between the modules. Another is to limit the depth of module calls (where a module calls another module, that then calls another module, and so on). Cohesion is a measure of how well a module accomplishes the module's purpose. High cohesion implies that all the module's internal statements serve to perform the module's (single) task. In order for modules to work together, there must be some connection between them. The nature of the connection is important because it determines the extent to which the modules are coupled. How are they connected? The best way to connect them is to pass the value of a local variable in one module to a second module through its parameter list. (A local variable is a variable that is defined within a module (not a parameter) is local to that module. The values of local variables are not available outside of the module in which they are declared unless they are passed. Local variables are reset to their default values once control leaves the module in which they are declared.) Another way to share information is through the use of global variables. (A variable that is defined outside of a module and that does not need to be passed to a module to be accessed by it is a global variable. Global variables retain their value once control leaves the module in which they are referenced. ) Because the value of a global variable can be changed by any module without passing, it increases the coupling between modules.


The degree of interaction between two modules is known as?

The degree of interaction between two modules is known as cohesion.


Whats the content of a bachelors of business administration degree?

The content of a Bachelors of Business Administration degree can vary between educational establishments. However, the degree generally contains general business,practical managerial and communication skills modules, as well as more specialized modules.


Which methodology involves breaking of the requirements into modules with information on Interface Requirements between the modules?

High Level design


What is the number of address lines required to address the two modules?

It takes one address line to choose between two modules.


What does no bus means when trying to start a 1999 Chrysler Sebring?

The bus is the communication system between computers on the car. No bus means the system is not functioning. Possible causes include fuses, wiring, or any of the modules on the car.