List the local and global variables in this program. Main Declare X As Integer, Y As Integer
Question:
List the local and global variables in this program.
Transcribed Image Text:
Main Declare X As Integer, Y As Integer Set X = 1 Set Y = 2 Call Sub(X, Y) Write X Write Y End Program Subprogram Sub(Integer Numl, Integer Num2 As Ref) Declare X As Integer Set Numl = 3 %3! Set Num2 = 4 %3! Set X = 5 Write X End Subprogram
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 54% (11 reviews)
Local variab...View the full answer
Answered By
Joseph Mwaura
I have been teaching college students in various subjects for 9 years now. Besides, I have been tutoring online with several tutoring companies from 2010 to date. The 9 years of experience as a tutor has enabled me to develop multiple tutoring skills and see thousands of students excel in their education and in life after school which gives me much pleasure. I have assisted students in essay writing and in doing academic research and this has helped me be well versed with the various writing styles such as APA, MLA, Chicago/ Turabian, Harvard. I am always ready to handle work at any hour and in any way as students specify. In my tutoring journey, excellence has always been my guiding standard.
4.00+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
List nonfinancial variables or factors regarding a clients industry that auditors should consider when planning an audit. For each of these items, briefly describe their audit implications.
-
List four examples of discrete random variables that could be observed in a new consulting business.
-
List any live extraneous variables and give an example to show how each can reduce internal validity.
-
Mrs. Ridhima had a factory situated in Delhi which he transferred to Uttar Pradesh and closed all operations in Delhi. Whether it will constitute a slump sale and whether it is liable to tax under...
-
Find the following cases, provide the complete citation, and summarize the opinion. a. 661 F.2d 319 b. 531 U.S. 98 c. Stern v. Marshall d. 21 U.S. 1
-
Was the purpose of the audit to exert cybernetic control, go/no-go control, or post-project control? Explain. MINI CASE It was July 2004. John West and Joy Adams had been through a lot since the...
-
Read the article, The End of Fuzzy Math? in the December 11,2000, issue ofBusiness BUSINESS WEEK Week. The books Website provides free access to the article. Required 1. How does the article define...
-
1. What factors should be considered when developing inventory systems for the 10,000 items carried by Dano's? What are the key differences between items that would affect how their inventory is...
-
Banks are generally not allowed to invest in speculative-grade bonds. What kind of risk is this designed to limit? Credit risk Interest-rate risk Business risk Operational risk
-
For the network of Fig. 5.151, determine Vcc for a voltage gain of Av = -200. 4.7
-
List the value and reference parameters in the subprogram Sub. Main Declare X As Integer, Y As Integer Set X = 1 Set Y = 2 Call Sub(X, Y) Write X Write Y End Program Subprogram Sub(Integer Numl,...
-
What is the scope of the following variables? a. X, declared in the main program? b. X, declared in the subprogram? Main Declare X As Integer, Y As Integer Set X = 1 Set Y = 2 Call Sub(X, Y) Write X...
-
A recent survey revealed that about 25% of households have only a cellphone (no land line); additionally, 65% of households have highspeed Internet. Suppose of the households having only a cellphone,...
-
Waldo Weir is a Concordia student who is financing his education with a student loan. Suppose he owes $30,000 when he graduates. His loan has an interest rate of 5% with equal monthly payments over...
-
Q4: Miller Company's contribution format income statement for the most recent month is shown below: Sales (25,000 units) Variable expenses Contribution margin Fixed expenses Net operating income...
-
How should Tiffany organize itself to manage its exchange-rate risk?Who should be responsible for executing its hedges? Who should have oversight responsibility for this activity?What controls...
-
8 . A thin, gray, diffuse - emitting plate with dimensions of 0 . 5 m x 0 . 5 m x 0 . 0 1 m is exposed to radiation from a blackbody at 8 0 0 K . The emissivity of the plate is 0 . 4 , and the plate...
-
Robert Company, which applies overhead to production on the basis of machine hours, reported the following data for the period just ended: Actual units produced: 10,000 Actual variable overhead...
-
When a random sample of 600 voters was taken on the eve of the presidential election, it was found that 51 percent of those sampled intended to vote for the Democrat and 49 percent for the...
-
Assume today is the 21st of February. Using the information below, FT Extract, answer the following questions (parts i and ii). You work for a US company that is due to receive 250 million in June...
-
In Figure 19.4, show how the sum, wrapped sum, and checksum can be calculated when each word (16 bits) is created instead of waiting for the whole packet to be created. Figure 19.4 Example of...
-
In an IPv4 datagram, the value of the header-length (HLEN) field is (6) 16 . How many bytes of options have been added to the packet?
-
In Figure 19.4, show how the sum, wrapped sum, and checksum can be calculated when the words are given in decimal numbers (the way the words are stored in a computer memory). Figure 19.4 Example of...
-
ces Prepare a horizontal analysis of both the balance sheet and income statement. Complete this question by entering your answers in the tabs below. Analysis Bal Analysis Inc Sheet Stmt Prepare a...
-
XYZ Corporation presents in its accounting books the following items related to its income: Sale income $2,000,000 Cost of Goods Sold (1,300,000) Savings account interest income 1,000 New York City...
-
Crane Company Division B recorded sales of $71,700, variable cost of goods sold of $49,600, variable selling expenses of $19,300, and fixed costs of $12,400, creating a loss from operations of...
Study smarter with the SolutionInn App