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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro