Cobol Developer
Cobol Developer Interview Questions and Answers
Q1. What is difference between comp and comp3 variable
Comp is a binary storage format for integers, while comp3 is a packed decimal storage format.
Comp variables are stored in binary format, taking up less space than comp3 variables.
Comp3 variables are stored in packed decimal format, allowing for easier decimal arithmetic operations.
Comp variables are more efficient for arithmetic operations, while comp3 variables are easier to read and understand.
Example: comp variable - 1234, comp3 variable - 1234.
Q2. Explain importance of evaluate
Evaluate statement is important in COBOL for conditional processing and decision making.
Used to compare values and execute specific statements based on conditions
Helps in controlling program flow and logic
Can be used with various conditions like WHEN, ALSO, END-EVALUATE
Example: EVALUATE TRUE WHEN condition-1 ... WHEN condition-n ALSO ... END-EVALUATE
Cobol Developer Jobs
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month