Filter interviews by
I applied via Recruitment Consultant and was interviewed before Nov 2020. There were 3 interview rounds.
Functions return a value while procedures do not.
Functions return a value while procedures do not.
Functions can be used in expressions while procedures cannot.
Functions can have parameters passed by value or reference while procedures can only have parameters passed by reference.
Packed decimal and zoned decimal are two common data formats used in mainframe systems.
Packed decimal is a binary-coded decimal format that stores two digits in each byte, with the last nibble used for sign.
Zoned decimal is a format that uses one byte to store each digit, with the last byte used for sign.
Packed decimal is more space-efficient than zoned decimal, but requires more processing power to convert to and from...
Fields can be added to a physical file without compiling using SQL ALTER TABLE statement.
Use ALTER TABLE statement to add fields to physical file.
Syntax: ALTER TABLE library/file ADD COLUMN fieldname datatype
Example: ALTER TABLE MYLIB/EMPLOYEE ADD COLUMN EMAIL VARCHAR(50)
To declare a file in CL program, use the DCLF command followed by the file name.
Use the DCLF command followed by the file name to declare a file in CL program.
The file name should be enclosed in parentheses.
The file must be defined in the program's file description.
Example: DCLF FILE(MYFILE)
The file can then be used in the program using its declared name.
Binding programs in RPGILE involves specifying the program name and library in the binding directory.
Create a binding directory using CRTBNDDIR command
Add the program to the binding directory using ADDLIBLE command
Specify the program name and library in the binding directory using the BNDDIR parameter in the CRTPGM command
Use the CALL statement to call the program
A subsystem is a smaller system within a larger system that performs a specific function.
Subsystems are often used in complex engineering systems such as airplanes and automobiles.
They can be thought of as modules that work together to achieve a larger goal.
Subsystems can be hardware or software-based.
Examples of subsystems include the engine subsystem in a car and the navigation subsystem in an airplane.
OVRDBF is a command in IBM i (AS/400) that allows a program to override the file it is accessing.
OVRDBF is used to temporarily redirect a program's file input/output to a different file.
It can be used to redirect output to a printer or a spool file.
The command can also be used to change the record format of a file.
OVRDBF can be used in CL programs or in RPG programs using the OVRDBF opcode.
Errors in RPG programs can be checked using various tools and techniques.
Compile the program with the appropriate compiler options to check for syntax errors
Use debuggers and tracing tools to identify runtime errors
Analyze job logs and dump files to diagnose program errors
Use third-party tools like X-Analysis and Hawkeye to identify and fix errors
There are mainly two types of arrays: Single-dimensional and Multi-dimensional. I have used both in various projects.
Single-dimensional arrays are used to store a list of values of the same data type.
Multi-dimensional arrays are used to store values in a matrix format with rows and columns.
I have used single-dimensional arrays to store user input data and multi-dimensional arrays to store data in a tabular format.
For e...
runqry is a command used in IBM iSeries to run a query on a database file.
runqry is used to retrieve data from a database file in IBM iSeries.
It allows users to specify selection criteria and sort order for the retrieved data.
The output of runqry can be displayed on the screen, printed, or saved to a file.
It is commonly used by technical consultants to extract data for analysis or reporting purposes.
Compile command in RPG program is used to convert source code into executable code.
Compile command is used to check for syntax errors and generate object code
The command is usually RUNCL or CRTRPGMOD
The compiled program can be executed using CALL or CALLB
Example: RUNCLPGM PGM(MYLIB/MYPROG) SRCFILE(MYLIB/MYSRC)
Example: CRTRPGMOD MODULE(MYLIB/MYPROG) SRCFILE(MYLIB/MYSRC)
There is no limit to the number of tables that can be declared in an RPG program.
Tables can be declared using the DCL-TBL statement.
The number of tables that can be declared is limited only by the available memory.
Each table can have its own unique name and structure.
Tables can be used to store and manipulate data within the RPG program.
Programs can be installed on an I series system using various methods.
Use the Install Program (INZPRM) command to install a program from a save file
Use the Program Temporary Fix (PTF) process to install fixes and updates
Use the Portable Application Solutions Environment (PASE) to install Linux-based programs
Use the Integrated Web Application Server (IAS) to install web-based applications
XFOOT is a command used in SAS software to display the contents of a SAS data set.
XFOOT command is used to display the contents of a SAS data set in the SAS log.
It displays the number of observations and variables in the data set.
It also displays the size of the data set in bytes.
XFOOT command can be used in conjunction with other SAS commands like PROC PRINT and PROC SORT.
Example: XFOOT; PROC PRINT data=dataset; RUN;
Yes, I am familiar with BRMS and its functions.
BRMS stands for Business Rules Management System
It is used to manage and automate business rules
BRMS allows for easy modification and management of rules
Examples of BRMS include IBM Operational Decision Manager and Red Hat Decision Manager
I applied via Walk-in and was interviewed in Jul 2022. There were 2 interview rounds.
I appeared for an interview before Jul 2021.
ABC Companies interview questions for popular designations
Top trending discussions
I applied via Company Website and was interviewed in Sep 2021. There was 1 interview round.
I appeared for an interview before Sep 2020.
Round duration - 120 minutes
Round difficulty - Medium
10 min for debugging
40 min for problems(coding)
40 min for pyschometric
30 min for aptitude
You are located at point ‘A’, the top-left corner of an M x N matrix, and your target is point ‘B’, the bottom-right corner of the same matrix. Your task is to calcula...
The task is to calculate the total number of unique paths from the top-left to bottom-right corner of an M x N matrix by moving only right or down.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the number of unique paths for each cell in the matrix.
Initialize the first row and first column with 1 as there is only one way to reach each cell in the first row and column.
For each cell ...
You are given two strings 'A' and 'B' composed of words separated by spaces. Your task is to determine the most frequent and lexicographically smallest word in string ...
Find the most frequent and lexicographically smallest word in string 'A' that is not present in string 'B'.
Split strings 'A' and 'B' into words
Count frequency of each word in 'A'
Check if word is not in 'B' and is the most frequent and lexicographically smallest
Return the word or -1 if no such word exists
Round duration - 90 Minutes
Round difficulty - Easy
timing was 4 pm . we connected on amazon chime. Initially he asked me a few things from resume then moved on to problem solving.
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
Count the number of islands in a 2D matrix of 1s and 0s.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the matrix and identify connected groups of 1s.
Maintain a visited array to keep track of visited cells to avoid redundant traversal.
Increment the island count each time a new island is encountered.
Consider all eight possible directions for connectivity while traversing the matrix.
Handle edge ca...
You are given an array/list HEIGHTS
of length N
, where each element represents the height of a histogram bar. The width of each bar is considered to be 1.
Find the area of the largest rectangle that can be formed within the bounds of a given histogram.
Iterate through the histogram bars and maintain a stack to keep track of increasing heights.
Calculate the area of the rectangle formed by each bar as the smallest height in the stack times the width.
Update the maximum area found so far and return it as the result.
Tip 1 : be confident since interviewer is looking at how confident you are with your skills
Tip 2 : dont learn the algorithms but try to understand them
Tip 3 : focus on trees and graphs since amazon asks more of that
Tip 1 : KEEP RESUME SHORT(1 PAGE)
Tip 2 : DONT BLUFF IN RESUME SINCE MY INTERVIEWER ASKED ME LOOKING FROM IT
I applied via Company Website and was interviewed in Aug 2021. There were 2 interview rounds.
E-commerce
I appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Easy
There was 2 coding questions
Based on ds and algorithms
Ninja, who loves playing with numbers, sets out to arrange numbers within 'N' rows. The unique arrangement follows these rules: the first row contains 1 number, the second...
Generate a pattern of numbers in rows following a specific sequence based on powers of 2.
Start with 1 number in the first row, 2 numbers in the second row, 4 numbers in the third row, and so on based on powers of 2.
Fill the pattern with numbers in increasing sequence from 1 to 9, recycling back to 1 after reaching 9.
Output the pattern for a given number 'N' of rows.
Example: For N = 4, the pattern would be 1, 23, 4567,
You are given a binary tree with 'N' integer nodes. Your task is to determine whether this binary tree is a Binary Search Tree (BST).
A Binary Search Tr...
Validate if a given binary tree is a Binary Search Tree (BST) or not.
Check if the left subtree of a node contains only nodes with data less than the node's data.
Check if the right subtree of a node contains only nodes with data greater than the node's data.
Recursively check if both the left and right subtrees are also binary search trees.
Example: For a node with data 4, left subtree nodes (2, 1, 3) are smaller and righ
Round duration - 60 minutes
Round difficulty - Easy
There was 2 coding questions based on ds and algorithms
You are provided with an array of distinct elements, and your task is to rearrange the array elements in a zig-zag manner. Specifically, for every odd index i
, the element ARR[...
Rearrange array elements in a zig-zag manner where every odd index element is greater than its neighbors.
Iterate through the array and swap elements to satisfy the zig-zag condition.
Ensure that for every odd index i, ARR[i] > ARR[i-1] and ARR[i] > ARR[i+1].
Multiple correct answers may exist for a given array.
You are provided with a linked list of 'N' nodes. Each node contains two pointers: NEXT
, pointing to the next node in the list, and CHILD
, pointing to a linked list. Each child linke...
Flatten a linked list of sorted child linked lists into a single sorted linked list.
Traverse the linked list and maintain a priority queue to keep track of the next smallest element.
Merge the child linked lists into the priority queue while traversing the main linked list.
Pop elements from the priority queue to create the final flattened linked list.
Round duration - 45 Minutes
Round difficulty - Medium
My interview started at 9:30 and it took around 45 minutes to complete my interview.This was held on Amazon Chime and the interview lasted for 1 hour. Firstly the interviewer asked to introduce about myself, later asked regarding the projects I have mentioned in my resume. Then started displaying the coding question. The first question is number of islands in a matrix.
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
Count the number of islands in a 2D matrix of 1s and 0s.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the matrix and identify connected groups of 1s.
Maintain a visited array to keep track of visited cells to avoid redundant traversal.
Increment the island count each time a new island is encountered.
Consider edge cases like when the matrix is empty or all cells are water (0s).
Tip 1 : Be enough confident, don't be nervous. Maintain atleast 2 projects in your resume.
Tip 2 : You should be able to answer each and every thing present in your resume. Don't lie in your resume.
Tip 3 : Prepare Data Structures and Algorithms well. They mostly check our Problem Solving ability to find the solutions for the real world problems
Tip 1 : Mention your skills in which you are perfect
Tip 2 : Mention atleast two projects
An interview is a formal conversation between an employer and a job candidate to assess their suitability for a role.
Interviews are used to evaluate a candidate's skills, experience, and personality.
They can be conducted in person, over the phone, or via video conferencing.
Interviews typically involve a series of questions and may include assessments or tests.
Examples of common interview questions include 'Tell me abou
I plan to save a portion, invest in professional development, and treat myself to a small reward.
Save a portion of the salary for future financial goals
Invest in professional development such as courses or certifications
Treat myself to a small reward or experience as a form of celebration
I applied via Approached by Company and was interviewed before Jul 2021. There were 3 interview rounds.
based on 1 interview
Interview experience
based on 5 reviews
Rating in categories
Software Engineer
6
salaries
| ₹15 L/yr - ₹94 L/yr |
Software Developer
4
salaries
| ₹8.6 L/yr - ₹26.6 L/yr |
Accountant
4
salaries
| ₹1 L/yr - ₹4.6 L/yr |
Director
4
salaries
| ₹46 L/yr - ₹200 L/yr |
Manager
3
salaries
| ₹13.7 L/yr - ₹35.7 L/yr |
Amazon
Larsen & Toubro Limited
Mahindra & Mahindra
Delhivery