Add office photos
Citicorp logo
Employer?
Claim Account for FREE

Citicorp

3.7
based on 4.5k Reviews
Video summary
Filter interviews by
Officer
Experienced
Clear (1)

10+ Citicorp Officer Interview Questions and Answers

Updated 6 Jun 2024

Q1. 6. What is difference between procedure and function

Ans.

Procedure is a set of instructions that performs a specific task, while function returns a value after performing a task.

  • Procedure does not return a value, while function does.

  • Functions can be called from within expressions, while procedures cannot.

  • Functions can have parameters passed to them, while procedures can have both parameters and arguments.

  • Examples of procedures include printing to the console, while examples of functions include calculating a sum or finding the leng...read more

Add your answer
right arrow

Q2. 10. What is difference between soft link and hard link

Ans.

Soft links are pointers to the original file while hard links are additional names for the same file.

  • Soft links are created using the 'ln -s' command while hard links are created using the 'ln' command.

  • Soft links can point to files on different file systems while hard links cannot.

  • Deleting the original file will render a soft link useless while a hard link will still work.

  • Soft links have different inode numbers while hard links have the same inode number as the original file.

Add your answer
right arrow

Q3. 2. How to replace male with female in Oracle

Ans.

To replace male with female in Oracle, use the UPDATE statement with the SET clause.

  • Use the UPDATE statement with the SET clause to replace male with female in Oracle

  • Example: UPDATE employees SET gender='female' WHERE gender='male'

  • Make sure to specify the table name and column name correctly

  • Use WHERE clause to specify the condition for replacement

Add your answer
right arrow

Q4. 4.what is difference between delete and truncate

Ans.

Delete removes specific rows while truncate removes all rows from a table.

  • Delete is a DML command while truncate is a DDL command.

  • Delete is slower than truncate as it logs each row deletion while truncate does not.

  • Delete can be rolled back while truncate cannot be rolled back.

  • Delete can have a WHERE clause to specify which rows to delete while truncate removes all rows.

  • Delete does not reset the identity of the table while truncate resets the identity of the table.

Add your answer
right arrow
Discover Citicorp interview dos and don'ts from real experiences

Q5. 8. Write command to replace Sam with vam on 5th line

Ans.

Command to replace Sam with vam on 5th line

  • sed '5s/Sam/vam/' filename.txt

  • awk 'NR==5 {sub(/Sam/, "vam")} 1' filename.txt

Add your answer
right arrow

Q6. 5.what is cursor and explain type of cursor

Ans.

A cursor is a database object used to manipulate data in a result set.

  • A cursor is used to traverse through a result set one row at a time.

  • There are two types of cursors: static and dynamic.

  • Static cursors are read-only and scroll forward only.

  • Dynamic cursors are updatable and can scroll in any direction.

  • Cursors can be used in stored procedures, triggers, and functions.

Add your answer
right arrow
Are these interview questions helpful?

Q7. 11. write command to display biggest file on server

Ans.

Use the 'du' command to display biggest file on server.

  • Open terminal or SSH into server

  • Navigate to directory to search from

  • Run 'du -a . | sort -n -r | head -n 1' command

  • The output will display the biggest file on the server

Add your answer
right arrow

Q8. 3.write to query to display 3rd highest salary

Ans.

Query to display 3rd highest salary

  • Use the ORDER BY clause to sort the salaries in descending order

  • Use the LIMIT clause to limit the result to the third row

  • Use a subquery to exclude the top two salaries

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. 7.write command to display secod last line of file

Ans.

Display second last line of a file using command line.

  • Use the tail command with -n option to display last two lines of the file.

  • Then use head command with -n option to display the second last line.

  • Example: tail -n 2 file.txt | head -n 1

Add your answer
right arrow

Q10. 9. Write command to display blank line in file

Ans.

Command to display blank line in file

  • Use echo command with empty quotes to create a blank line in a file

  • Syntax: echo '' >> filename

  • Alternatively, use printf command with newline character

  • Syntax: printf ' ' >> filename

Add your answer
right arrow

Q11. Application of VSAM and its types

Ans.

VSAM is a file management system used in mainframe computers. It has different types like KSDS, ESDS, and RRDS.

  • VSAM stands for Virtual Storage Access Method.

  • It is a file management system used in IBM mainframe computers.

  • VSAM provides efficient access to large volumes of data.

  • It supports different types of datasets like Key Sequenced Data Set (KSDS), Entry Sequenced Data Set (ESDS), and Relative Record Data Set (RRDS).

  • KSDS is used for direct access and is organized based on a ...read more

Add your answer
right arrow

Q12. What is NAV?

Ans.

NAV stands for Net Asset Value.

  • NAV is a financial term used to describe the value of an investment fund's assets minus its liabilities.

  • It is calculated by dividing the total value of the fund's assets by the number of outstanding shares.

  • NAV is used to determine the price at which shares in the fund are bought and sold.

  • It is also used to calculate the performance of the fund over time.

  • For example, if a mutual fund has assets worth $100 million and liabilities worth $10 million...read more

Add your answer
right arrow

Q13. What are sql joins

Ans.

SQL joins are used to combine rows from two or more tables based on a related column between them.

  • SQL joins are used to retrieve data from multiple tables based on a related column between them

  • Common types of SQL joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN

  • INNER JOIN returns rows when there is at least one match in both tables

  • LEFT JOIN returns all rows from the left table and the matched rows from the right table

  • RIGHT JOIN returns all rows from the right tab...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Citicorp Officer

based on 10 interviews
2 Interview rounds
Technical Round
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Officer Interview Questions from Similar Companies

Uflex Logo
3.8
 • 11 Interview Questions
Axis Bank Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
SALARIES
Citicorp
SALARIES
Citicorp
SALARIES
Citicorp
SALARIES
Citicorp
REVIEWS
JustDial
No Reviews
SALARIES
Citicorp
REVIEWS
JustDial
No Reviews
SALARIES
Citicorp
REVIEWS
JustDial
No Reviews
SALARIES
Cyient
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

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