Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask COBOL Expert


Home >> COBOL

problem 1: Compute the given expressions, if the data items are describeed in the WORKING-STORAGE section as:

77 A PIC S7(2).
77 B PIC 7(3)V99.

Expressions are:

a) COMPUTE A = 9 + 5.
b) COMPUTE A = 5.3 / 2.0 – 1.0.

problem 2: Determine the incorrect statement and give reasons for being faulty.

a) COMPUTE A= 3*X + Z ROUNDED.
b) COMPUTE X, Y ROUNDED = 2 * A – C/D.
c) COMPUTE X = L- M + K/N.
d) SUBTRACT X FROM 245, B.
e) SUBTRACT X, Y FROM P, L GIVING M, N.
f) MULTIPLY C BY 35.
g) MULTIPLY -8.5 BY A.
h) DIVIDE A INTO 5.
i) DIVIDE C BY D GIVINIG L, M.

problem 3: What are various types of arithmetic verbs in COBOL? Give their syntax and describe with illustrations.

problem 4: Describe the different kinds of options which can be used with the arithmetic verbs.

problem 5: What is the main purpose of MOVE verb? Describe elementary and group move of data with illustrations.

COBOL, Programming

  • Category:- COBOL
  • Reference No.:- M98331

Have any Question? 


Related Questions in COBOL

How do i move a single quote to a field or set the value

How do I move a single QUOTE to a field or set the value clause? does not work?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate