What is the difference between a binary search and a
sequential search?
Answer Posted / guest
Binary search is search all. sequential search is the
linear serach.
Example for Search all: File contains 100 records. supose
if u r searching for 75 th record, first entire file
divided into two parts, it will check , whether record is
in first half or second.. like that file ds divded into
diffrent parts
sequential serach: if the file contains 100 records, spose
if u r looking for 75th record, it will start serach from
first record...
| Is This Answer Correct ? | 98 Yes | 12 No |
Post New Answer View All Answers
What is amode(24)?
What is a report item?
Write a program that uses move corresponding.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What guidelines should be followed to write a structured cobol prgm?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Why would you use find and get rather than to obtain?
What rules are followed by the search verb.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
how do you reference the rrds file formats from cobol programs
Write some characteristics of cobol as means of business language.
What are literals?