Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following arithmetic expressions, predict what the value will be in the identified fields. Highlight your answer in bold. Use the initial values noted

For the following arithmetic expressions, predict what the value will be in the identified fields. Highlight your answer in bold.

Use the initial values noted with the picture clause for each of the arithmetic statements.

05 FLD-1 PIC 9(3) VALUE 145.

05 FLD-2 PIC 9(3) VALUE 222.

05 FLD-3 PIC 9(2) VALUE 10.

05 FLD-4 PIC 9(3) VALUE 21.

05 FLD-5 PIC 9(2) VALUE 33.

05 FLD-6 PIC 9(4) VALUE 1111.

1. MULTIPLY FLD-1 BY FLD-3 GIVING FLD-2 .

Result in FLD-2 will be

(a) 450

(b) 230

(c) 23

(d) 130

(e) 1230

2. DIVIDE FLD-5 BY FLD-3 GIVING FLD-6 ROUNDED.

Result in FLD-6 will be

(a) 123

(b) 0022

(c) 022

(d) 22

(e) 0003

3. ADD FLD-6 FLD-4 TO FLD-3.

Result in FLD-4 will be

(a) 1221

(b) 221

(c) 123

(d) 021

(e) 100

4. SUBTRACT FLD-4 FLD-2 FLD-1 FROM FLD-5

Result in FLD-1 will be

(a) 22

(b) 145

(c) 78

(d) 155

(e) 123

5. COMPUTE FLD-5 ROUNDED = (FLD-2 + FLD-4) / 3

Result in FLD-5 will be

(a) 1073

(b) 81

(c) 73

(d) 07

(e) 731

6 SUBTRACT FLD-3 FLD-4 FLD-5 FROM FLD-2

Result in FLD-2 will be

(a) 132

(b) 158

(c) 222

(d) 1111

(e) 090

PLZ Explain how to get answer TY!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Neo4j Data Modeling

Authors: Steve Hoberman ,David Fauth

1st Edition

1634621913, 978-1634621915

More Books

Students also viewed these Databases questions

Question

Do you collect anything?

Answered: 1 week ago