i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Job Portal and was interviewed before Jan 2023. There were 3 interview rounds.
To check source object in AS400, use the DSPOBJD command.
Use the DSPOBJD command followed by the library name and object name to display object details.
The source object type should be specified as *PGM or *FILE.
The output will include information like source file, member, and source type.
JobQ is a job queue in AS400 that manages the execution of batch jobs.
JobQ is used to prioritize and schedule batch jobs on AS400.
It allows multiple jobs to be submitted and executed in a specific order.
Jobs in the queue can be held, released, or deleted as needed.
JobQ provides a way to manage and control the execution of batch jobs efficiently.
Example: WRKJOBQ command is used to display the jobs in a specific job queu
There are two types of job schedulers in AS400: the native job scheduler and the advanced job scheduler.
The native job scheduler is the default scheduler provided by AS400.
It allows scheduling jobs based on time, date, and other criteria.
The advanced job scheduler is a third-party tool that offers more advanced scheduling capabilities.
It provides features like dependency management, event-based scheduling, and workload...
To download files from AS400 system, use FTP or a file transfer utility like IBM i Access Client Solutions.
Use FTP (File Transfer Protocol) to transfer files from AS400 system to another system.
Install and configure an FTP client on your local machine.
Connect to the AS400 system using the FTP client.
Navigate to the directory where the files are located on the AS400 system.
Use the 'get' command to download the files to ...
To insert data in AS400, use SQL INSERT statement with appropriate table name and column values.
Connect to AS400 database using JDBC or ODBC driver
Construct an SQL INSERT statement with the table name and column names
Provide the values to be inserted for each column in the VALUES clause
Execute the INSERT statement using a prepared statement or statement object
MQ's in AS400 are message queues used for inter-process communication.
MQ's in AS400 allow different programs or processes to communicate with each other by sending and receiving messages.
They provide a reliable and asynchronous way of exchanging data between applications.
MQ's can be used for various purposes such as sending notifications, transferring data between systems, or triggering actions based on events.
They are...
To check the data area value in AS400, you can use the DSPDTAARA command.
Use the DSPDTAARA command followed by the library and data area name to display the value.
You can also use the RTVDTAARA command to retrieve the value into a program variable.
If the data area is in a different library, specify the library name before the data area name.
Ensure that you have the necessary authority to access the data area.
To check object locks, use system tools like Process Explorer or Task Manager. To make the job run, ensure necessary dependencies are met.
Use system tools like Process Explorer or Task Manager to check object locks
Ensure necessary dependencies are met for the job to run smoothly
To make a job run from one jobq to another, you can use the CHGJOBQ command in IBM i (AS/400) system.
Use the CHGJOBQ command to change the job queue of a job
Specify the new job queue name in the JOBQ parameter of the CHGJOBQ command
The job will be moved to the specified job queue when it is next eligible to run
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
Aptitude test includes number series, profit and loss, percentage, train problems
The aptitude test was quite easy.
Questions are moderated.
What people are saying about Cognizant
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Yes, Java is platform independent due to its ability to compile code into bytecode that can run on any platform with a Java Virtual Machine (JVM).
Java code is compiled into bytecode, which can run on any platform with a JVM.
The JVM acts as an intermediary between the Java code and the underlying platform.
This allows Java programs to be written once and run on any platform without modification.
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain both data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Examples of OOPS languages include Java, C++, and Python.
Cognizant interview questions for designations
Easy question contains coding aptitude and java basic question
Reverse a string using different approaches
Use built-in functions like reverse() or StringBuilder.reverse()
Iterate through the string and build a new string in reverse order
Use recursion to reverse the string
Get interview-ready with Top Cognizant Interview Questions
In C++, 'oops' typically refers to Object-Oriented Programming concepts and principles.
Oops in C++ refers to Object-Oriented Programming concepts like classes, objects, inheritance, polymorphism, and encapsulation.
Common mistakes in C++ programming include memory leaks, null pointer dereferencing, and improper use of pointers.
Example: Forgetting to delete dynamically allocated memory can lead to memory leaks in C++ pro
Generics in C++ allow for writing generic algorithms and data structures that work with any data type.
Generics in C++ are implemented using templates, which allow for writing code that can work with any data type.
Templates are a way to create generic functions or classes without specifying the data type.
For example, a generic function to find the maximum of two values can be written using templates.
Another example is a...
Object-oriented programming concepts that focus on objects and classes for code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details an...
A program to check if a given string is a palindrome or not.
Create a function that takes a string as input.
Reverse the string and compare it with the original string.
If they are the same, then the string is a palindrome.
Examples: 'madam' is a palindrome, 'hello' is not a palindrome.
I applied via AmbitionBox and was interviewed in Apr 2024. There was 1 interview round.
Oops pillars are the four main principles of object-oriented programming: Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the complex implementation details and showing only the necessary features of an object.
Polymorphism: A
Hashmap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
Hashmap uses an array to store key-value pairs.
Keys are hashed to determine the index where the value will be stored.
Collision handling techniques like chaining or open addressing are used to deal with multiple keys hashing to the same index.
Retrieving a value involves hashing the key to find the index and ...
Multithreading is the ability of a CPU to execute multiple threads concurrently, while synchronization is the coordination of multiple threads to ensure data consistency.
Multithreading allows multiple threads to run concurrently on a single CPU core.
Synchronization is used to coordinate access to shared resources among multiple threads.
Examples of synchronization mechanisms include locks, semaphores, and monitors.
Multi...
Abstract class can have both abstract and non-abstract methods, while functional interface can have only one abstract method.
Abstract class can have constructors, fields, and methods, while functional interface can only have one abstract method.
Abstract class can have abstract and non-abstract methods, while functional interface can only have one abstract method.
Abstract class can provide default implementations for me...
I applied via Campus Placement
It was a decent aptitude test if you practice well you can clear it.
In coding test they asked about oops concepts and said to code.And all the basic programming questions.
Second largest number in array
Sort array of strings using Java Stream API
Use Arrays.stream() to convert array to stream
Use sorted() method to sort the stream
Use collect() method to convert the sorted stream back to array
Reverse a given string
Use a loop to iterate through the characters of the string
Swap the characters from start to end of the string
Repeat until the entire string is reversed
Normal aptitude questions were asked
Ques from java, sql were asked
3 Interview rounds
based on 378 reviews
Rating in categories
Associate
72.4k
salaries
| ₹5.1 L/yr - ₹15.9 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.6 L/yr |
Senior Associate
48.3k
salaries
| ₹8.9 L/yr - ₹27.1 L/yr |
Senior Processing Executive
28.6k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24.2 L/yr |
TCS
Infosys
Wipro
Accenture