Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COBOL Language The STRING statement: a. allows us to divide a string into snaller pieces. b. allows us to concatenate string of characters. e. allows

COBOL Language image text in transcribed
The STRING statement: a. allows us to divide a string into snaller pieces. b. allows us to concatenate string of characters. e. allows us to count the number of characters in the string. d. allows us to replace one character by another. 10. The UNSTRING statement allows us to: a. divide a string into snaller pieces. b. concatenate string of characters. c. count the number of characters in the string. d. replace one character by another. 12 The statement PERFORM PROCEDURE-1 VARYING SUB FRO BY 3 UNTIL SUB = 5. a. will terminate when SUB has the value 5. b. will terminate when SUB has the value 1. c. will terninate when SUB has the value 3. d. will cause an infinite loop. Identify errors in the following set of entries if any (Evaluate each statement independently) INSPECT AMOUNT-IN REPLACING ALL LEADING 2EROS BY SPACES. MOVE ZERO TO COUNTER INSPECT DESC-IN TALLY COUNTER FOR "xyz" PERFORM 200-PROCESS VERYING SUB 1 BY 1 UNTIL SUB >20 OR -FOUND=. 15. 01 RECORD-COLLECTION-ARRAY occURS 10 TIMES INDEXED BY EX1. 16 5 STUDENT-RECORDS 10 NAME 10 GPA PIC X (20). PIC 9v9999. SET 1 TO EX1 SEARCH ALL RECORD-COLLECTION-ARRAY AT END PERFORM 500-ERROR-ROUTINE WHEN NAME-IN-NAME (EX1) . 8. CALL INITIALIZE HOURS-WORKED. 'Called1 , USING HOURS-WORKED, HOURLY-RAE, PAY

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

Database And Expert Systems Applications 19th International Conference Dexa 2008 Turin Italy September 2008 Proceedings Lncs 5181

Authors: Sourav S. Bhowmick ,Josef Kung ,Roland Wagner

2008th Edition

3540856536, 978-3540856535

More Books

Students also viewed these Databases questions

Question

How is Project Management relevant to me and my job?

Answered: 1 week ago

Question

Question Can I collect benefits if I become disabled?

Answered: 1 week ago

Question

Question May I set up a Keogh plan in addition to an IRA?

Answered: 1 week ago