Cobol Developer

Cobol Developer Interview Questions and Answers

Updated 13 Jun 2024

Q1. What is difference between comp and comp3 variable

Ans.

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

Ans.

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

Mainframe Cobol Developer // Mumbai // 2-10 years 2-7 years
2coms
3.8
Mumbai
Cobol Developer 0-4 years
C- Edge Technologies Ltd
3.9
Thane
Unisys COBOL Developer 2-6 years
Intone Networks
4.2
Remote
Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.4k Interviews
View all

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

Cobol Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter