Question

Need help answering these questions 1. How does interactive processing differ from batch processing? 2. Discuss...

Need help answering these questions

1. How does interactive processing differ from batch processing?

2. Discuss the importance of consistency in programming design.

3. Under what circumstances would you use a validation loop?

4. Discuss the meaning of the following sentence: Although functions, methods, and properties can yield the same results, their syntax differs.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.) DIFFERENCE BETWEEN BATCH AND INTERACTIVE PROCESS

BATCH PROCESSING_____

a.) In Batch Processing  everything run simultaneously.

b.)There is no interaction with the user  or the system.

c.) We start the batch job or make a proper schedule for it for the future use.

d.) An example of a batch job is a cron job on a Linux system, which deletes different files in different directories.

INTERACTIVE PROCESSING_____

a.)In Interactive Processing we need  input from a user, a systems admin or from  another process running on the computer.

b.)User jobs and systems administrator jobs differ only in the level and the permissions granted for the task

c.) . An example of a process doing something interactively is asking a program to print off something, which then must call up a Print Spooler to do the task.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

2.) IMPORTANCE OF CONSISTENCY IN PROGRAMMING DESIGN------

a.)It can be dfined  as sameness or  uniformity in design of the program.

b.) It  leads to code where you can make more assumptions and predictions about its behavior and implementation that end up being accurate.

c.) In the older systems we can’t fit the codebase in our mind and these guesses are critical tools developers use to feel their way around the system.

d.) The user can increase the number and frequency of correct assumptions by making your code consistent, and these correct assumptions (and verifications) lead to the many future steps that can leadto growth

e.)The code becomes more reliable and predictable.

f.) It makke the code easier to meta-program, automate, refactor, and test

___________________________________________________________________________________________________

3.) Circumstances  where we can use validating loop------

Validation loop come in light when the programmer need a specific range fo entering the data.

For example-- the marks obtained are always between 0 and 100 in your exam.

The user want to enter the marks

a.) if the marks are between 0 and 100 ,the marks will be displayed and added into the system

otherwise there will be a message that marks are out of range and again chance will be provided till marks entered are between 0 and 100

int marks;

cin>>marks;

while( marks<0 || marks>100)

{

cout<<"the marks are out of range";

cin>>marks;

}

cout<<marks;

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

4.) PROPERTIES,METHODS AND FUNCTIONS---

a.)These are the terms that are used for the varibles in the program for acheiving a goal and these are uesd differently with correspond to each other.

b.) They have different syntaxes due to the way that they are used.

c.) One is depend on the object and the other is not

d.) One can return thre data other may or may not.

e.) Some can be called directly and some need obnject to do so.

Add a comment
Know the answer?
Add Answer to:
Need help answering these questions 1. How does interactive processing differ from batch processing? 2. Discuss...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • second attempt. need asap please 2-4 sentences summarizing the article 4 interesting quotes from the article...

    second attempt. need asap please 2-4 sentences summarizing the article 4 interesting quotes from the article and 4 points explaning for each quote The Nature of Creativity Robert J. Sternberg The field of creativity as it exists today emerged largely as a result of the pioneering efforts of J. P. Guilford (1950) and E. Paul Torrance (1962, 1974). It is wholly fitting to dedicate a special issue of the Creativity Re- search Journal to Torrance because of his seminal con-...

  • 1. According to the paper, what does lactate dehydrogenase (LDH) do and what does it allow...

    1. According to the paper, what does lactate dehydrogenase (LDH) do and what does it allow to happen within the myofiber? (5 points) 2. According to the paper, what is the major disadvantage of relying on glycolysis during high-intensity exercise? (5 points) 3. Using Figure 1 in the paper, briefly describe the different sources of ATP production at 50% versus 90% AND explain whether you believe this depiction of ATP production applies to a Type IIX myofiber in a human....

  • I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter T...

    I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter Two, “Keys to Successful IT Governance,” from Roger Kroft and Guy Scalzi’s book entitled, IT Governance in Hospitals and Health Systems, please refer to the following assignment instructions below. This chapter consists of interviews with executives identifying mistakes that are made when governing healthcare information technology (IT). The chapter is broken down into subheadings listing areas of importance to understand...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

  • All of the following questions are in relation to the following journal article which is available...

    All of the following questions are in relation to the following journal article which is available on Moodle: Parr CL, Magnus MC, Karlstad O, Holvik K, Lund-Blix NA, Jaugen M, et al. Vitamin A and D intake in pregnancy, infant supplementation and asthma development: the Norwegian Mother and Child Cohort. Am J Clin Nutr 2018:107:789-798 QUESTIONS: 1. State one hypothesis the author's proposed in the manuscript. 2. There is previous research that shows that adequate Vitamin A intake is required...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT