Add office photos
Engaged Employer

Cognizant

3.8
based on 47.9k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

40+ SmartCloud Digital Innovations Interview Questions and Answers

Updated 16 Jan 2025
Popular Designations
Q1. Nth Fibonacci Number

Nth term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

 F(n) = F(n-1) + F(n-2), Where, F(1) = F(2) = 1 

Provided N you have to find out the ...read more

View 7 more answers
Q2. Pair Sum

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair shou...read more
View 5 more answers
Q3. NINJA ATTACK

Ninja has built his team of ninjas to fight with the enemies in his city. Ninja made a plan of attacking all his enemies. In his team, every ninja has his own range of hitting and they had secretly ...read more

View 4 more answers
Q4. Star Pattern

Pattern for N = 4


The dots represent spaces.



Input Format :
N (Total no. of rows) 
Output Format :
Pattern in N lines 
Constraints :
0 <= N <= 50 
Add your answer
Discover SmartCloud Digital Innovations interview dos and don'ts from real experiences
Q5. Find Number Of Islands

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to...read more

View 2 more answers
Q6. Encode the Message

You have been given a text message. You have to return the Run-length Encoding of the given message.

Run-length encoding is a fast and simple method of encoding strings. The basic idea is to r...read more

Add your answer
Are these interview questions helpful?
Q7. Puzzle

You live in Dubai and had an infinite supply of oil and a 5 liters and 3 liters jar,
how would you measure exactly 4 liters (of-course in minimum numbers of step) ?

Add your answer
Q8. Puzzle

You have a birthday cake and have to cut it into 8 equal pieces by making 3 cuts only. How do you do it?

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Print Name and age

Create a class named Person with a string variable 'name' and an integer variable 'age,' such that these variables are not accessible outside the class and implement a way to initialize the va...read more

Add your answer

Q10. What type of language do you prefer for complex algorithm ?

Ans.

I prefer using a language that is efficient and has strong support for data structures and algorithms.

  • Languages like C++, Java, and Python are good choices for complex algorithms

  • C++ has strong support for data structures and is efficient in terms of memory and speed

  • Java has a vast library of data structures and algorithms and is easy to read and maintain

  • Python has a simple syntax and is great for prototyping and testing algorithms

  • Ultimately, the choice of language depends on ...read more

View 2 more answers

Q11. How is salesforce lightning different from classic?

Ans.

Salesforce Lightning is a modern UI framework with improved user experience and functionality compared to Classic.

  • Lightning offers a more responsive and customizable user interface.

  • It provides a better user experience with dynamic components and faster navigation.

  • Lightning includes features like Lightning App Builder, Lightning Components, and Lightning Experience.

  • Classic is the older version of Salesforce with a more traditional user interface.

  • Migration from Classic to Light...read more

Add your answer

Q12. What is normalization and difference between 3NF and BCNF

Ans.

Normalization is a process of organizing data in a database to reduce redundancy and dependency.

  • Normalization is used to eliminate data redundancy and dependency.

  • 3NF (Third Normal Form) eliminates transitive dependencies while BCNF (Boyce-Codd Normal Form) eliminates partial dependencies.

  • 3NF is a subset of BCNF.

  • Normalization helps in improving data consistency and integrity.

  • Normalization can also improve database performance.

Add your answer

Q13. What are the characteristics of software?

Ans.

Software is a set of instructions that tell a computer what to do.

  • Software is intangible and can be easily duplicated.

  • It is created through programming languages and can be modified.

  • Software can be classified as system software, application software, and middleware.

  • Examples of software include Microsoft Office, Adobe Photoshop, and Google Chrome.

Add your answer

Q14. What are some other API call methods?

Ans.

Some other API call methods include POST, PUT, DELETE, and PATCH.

  • POST - Used to create a new resource on the server

  • PUT - Used to update an existing resource on the server

  • DELETE - Used to delete a resource on the server

  • PATCH - Used to partially update a resource on the server

Add your answer

Q15. What is meant by javascript closure? And why do we use it?

Ans.

A closure is a function that has access to its outer function's variables, even after the outer function has returned.

  • A closure is created when a function is defined inside another function.

  • It allows for private variables and functions in JavaScript.

  • Closures are used for data hiding, encapsulation, and creating modules.

  • Example: function outer() { var x = 10; function inner() { console.log(x); } return inner; } var closure = outer(); closure(); // Output: 10

Add your answer

Q16. What is CNN ? Explain the process in detail

Ans.

CNN stands for Convolutional Neural Network, a type of deep learning algorithm used for image recognition.

  • CNN is a type of deep learning algorithm commonly used in image recognition tasks.

  • It consists of multiple layers such as convolutional, pooling, and fully connected layers.

  • Convolutional layers apply filters to input images to extract features.

  • Pooling layers reduce the spatial dimensions of the convolved feature.

  • Fully connected layers classify the features extracted by the...read more

Add your answer

Q17. How do you call an API?

Ans.

To call an API, you need to make an HTTP request to the API endpoint with the required parameters and headers.

  • Use a tool like Postman or cURL to make a request to the API endpoint

  • Include the necessary parameters in the request (e.g. query parameters, request body)

  • Set the appropriate headers in the request (e.g. authorization token, content type)

  • Handle the response from the API (e.g. parsing JSON data, error handling)

Add your answer

Q18. What are LLMs and GENAI? what are vectors?

Ans.

LLMs and GENAI are machine learning models used in natural language processing. Vectors are mathematical representations of words or phrases.

  • LLMs (Large Language Models) are advanced machine learning models used in natural language processing tasks such as text generation, translation, and sentiment analysis.

  • GENAI (Generative Adversarial Network for Artificial Intelligence) is a type of machine learning model that uses a generative adversarial network to create realistic data...read more

Add your answer

Q19. What is the difference between hashtable and hash map

Ans.

Hashtable is synchronized and does not allow null keys, while hashmap is not synchronized and allows one null key.

  • Hashtable is synchronized, while hashmap is not.

  • Hashtable does not allow null keys, while hashmap allows one null key.

  • Hashtable is thread-safe, while hashmap is not.

  • Hashtable is slower than hashmap.

  • Hashtable is part of the legacy collection classes, while hashmap is part of the Java Collections Framework.

Add your answer

Q20. Describe the software development in brief?

Ans.

Software development is the process of designing, creating, testing, and maintaining software.

  • Software development involves identifying user requirements and designing a solution

  • Developers write code and test it to ensure it meets requirements

  • Maintenance and updates are necessary to keep software functioning properly

  • Agile and Waterfall are two common development methodologies

  • Examples of software include operating systems, mobile apps, and web applications

Add your answer

Q21. Implement a fucntion to check if a string is palindrome or not?

Ans.

Function to check if a string is a palindrome or not.

  • Create a function that compares the original string with its reverse.

  • Ignore spaces and punctuation when checking for palindrome.

  • Examples: 'racecar' is a palindrome, 'hello' is not.

Add your answer

Q22. Difference between lookup and Joiner transformation

Ans.

Lookup transformation is used to look up data in a flat file or relational table, while Joiner transformation is used to join data from two sources based on a common key.

  • Lookup transformation is used to look up data in a flat file or relational table

  • Joiner transformation is used to join data from two sources based on a common key

  • Lookup transformation can be used for performing lookups on multiple columns, while Joiner transformation can only join data based on a single key

Add your answer

Q23. A GET method to hit the http API

Ans.

A GET method is used to retrieve data from an HTTP API.

  • Use the GET verb in the request to retrieve data

  • Include the API endpoint in the URL

  • No request body is needed for a GET method

Add your answer

Q24. Tell us about Reliability?

Ans.

Reliability refers to the ability of a system or component to perform its required functions under stated conditions for a specified period of time.

  • Reliability is a measure of how often a system or component fails and how quickly it can be restored to normal operation.

  • It is important to design systems with redundancy and failover mechanisms to ensure high reliability.

  • Reliability can be improved through regular maintenance and testing.

  • Examples of reliable systems include air t...read more

View 1 answer

Q25. oops concept and types and all along with implemantion.

Ans.

Object-oriented programming concepts include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: bundling data and methods that operate on the data into a single unit (class)

  • Inheritance: allows a class to inherit properties and behavior from another class

  • Polymorphism: ability for objects of different classes to respond to the same method call

  • Abstraction: hiding the complex implementation details and showing only the necessary features of an object

Add your answer

Q26. Difference between inner join and outer join

Ans.

Inner join returns only matching rows from both tables while outer join returns all rows from one table and matching rows from the other.

  • Inner join is used to combine data from two tables based on a common column.

  • Outer join is used to combine data from two tables where one table may not have matching rows in the other.

  • There are three types of outer join: left outer join, right outer join, and full outer join.

  • Left outer join returns all rows from the left table and matching ro...read more

Add your answer

Q27. How to delete duplicate records

Ans.

To delete duplicate records, use SQL queries with DISTINCT keyword or create a unique index on the table.

  • Use SQL queries with DISTINCT keyword to select unique records and insert them into a new table

  • Create a unique index on the table to prevent insertion of duplicate records

  • Use programming languages like Python or Java to iterate through records and remove duplicates

Add your answer

Q28. Globalvariable and local variable difference

Ans.

Global variables are accessible throughout the program, while local variables are only accessible within a specific scope.

  • Global variables are declared outside of any function and can be accessed by any function in the program.

  • Local variables are declared within a function and can only be accessed within that function.

  • Global variables have a global scope, while local variables have a local scope.

  • Global variables can lead to potential conflicts and make debugging difficult, wh...read more

Add your answer

Q29. What is virtual function

Ans.

Virtual function is a function in base class that is overridden in derived class.

  • Virtual functions allow polymorphism in C++

  • They are declared using the virtual keyword

  • They are resolved at runtime based on the object type

  • Virtual functions can be overridden in derived classes

  • They are used to achieve runtime polymorphism

Add your answer

Q30. What is difference between sap pi and po

Ans.

SAP PI and PO are both integration platforms, but PI focuses on process integration while PO focuses on process orchestration.

  • SAP PI (Process Integration) is an integration platform that enables communication between different systems and applications.

  • SAP PO (Process Orchestration) is an integration platform that not only enables communication but also provides tools for process modeling, monitoring, and automation.

  • PI focuses on integrating different systems and applications ...read more

Add your answer

Q31. Write a program to reverse a string

Ans.

Program to reverse a string using array of characters

  • Create an array of characters from the input string

  • Iterate through the array in reverse order and append each character to a new string

  • Return the reversed string

Add your answer

Q32. What is abstract class

Ans.

An abstract class is a class that cannot be instantiated and is used as a base class for other classes.

  • An abstract class can have abstract and non-abstract methods.

  • Abstract methods have no implementation and must be implemented by the derived class.

  • An abstract class can have constructors and fields.

  • An abstract class can be used to define a common interface for a group of related classes.

  • Example: Animal is an abstract class and Dog, Cat, and Bird are derived classes that inher...read more

Add your answer

Q33. Explain RNN and LSTM and implementation.

Ans.

RNN stands for Recurrent Neural Network, used for sequential data. LSTM is a type of RNN with long-term memory capabilities.

  • RNN is a type of neural network designed to handle sequential data by maintaining a hidden state that captures information about previous inputs.

  • LSTM (Long Short-Term Memory) is a type of RNN that addresses the vanishing gradient problem by introducing gates to control the flow of information.

  • Implementation involves defining the network architecture, spe...read more

Add your answer

Q34. What is oop? Class and Object

Ans.

OOP stands for Object-Oriented Programming. A class is a blueprint for creating objects, while an object is an instance of a class.

  • OOP is a programming paradigm that uses objects to design applications.

  • A class is a template for creating objects, defining their properties and behaviors.

  • An object is an instance of a class, representing a specific entity in the program.

  • Encapsulation, inheritance, and polymorphism are key principles of OOP.

  • Example: Class 'Car' defines properties ...read more

Add your answer

Q35. What is Object oriented programming

Ans.

Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOP focuses on creating objects that interact with each other to solve problems

  • Encapsulation, inheritance, and polymorphism are key principles of OOP

  • Examples of OOP languages include Java, C++, and Python

Add your answer

Q36. What is data warehousing

Ans.

Data warehousing is the process of collecting, storing, and managing data from various sources for analysis and reporting.

  • Data warehousing involves extracting data from multiple sources

  • Data is transformed and loaded into a central repository

  • Allows for complex queries and analysis to be performed on the data

  • Data warehousing helps in decision-making and business intelligence

  • Examples include Oracle Exadata, IBM Netezza, and Amazon Redshift

Add your answer

Q37. what is array how it is used

Ans.

An array is a data structure that stores a collection of elements of the same type in a contiguous memory location.

  • Arrays are used to store multiple values in a single variable.

  • Elements in an array are accessed by their index, starting from 0.

  • Example: string[] names = {"Alice", "Bob", "Charlie"};

  • Arrays can be used to efficiently store and retrieve data in programming.

  • Arrays can be multidimensional, allowing for more complex data structures.

Add your answer

Q38. Difference between c and python

Ans.

C is a statically typed language with manual memory management, while Python is dynamically typed with automatic memory management.

  • C is a compiled language, while Python is an interpreted language.

  • C requires explicit memory allocation and deallocation, while Python has automatic memory management.

  • C is more low-level and closer to the hardware, while Python is more high-level and abstract.

  • C is faster in terms of execution speed, while Python is more readable and easier to lear...read more

Add your answer

Q39. what are the expectations

Ans.

Expectations for a Software Developer include technical proficiency, problem-solving skills, teamwork, and continuous learning.

  • Technical proficiency in programming languages and tools

  • Strong problem-solving skills to troubleshoot and debug code

  • Ability to work well in a team and collaborate effectively

  • Desire for continuous learning and staying updated with industry trends

  • Good communication skills to interact with team members and stakeholders

Add your answer

Q40. whats is Azure Infra structure

Ans.

Azure Infrastructure is the foundation of Microsoft's cloud platform, providing a range of services for building, deploying, and managing applications.

  • Azure Virtual Machines for running applications and services

  • Azure Virtual Networks for connecting resources securely

  • Azure Storage for storing data

  • Azure Load Balancer for distributing incoming network traffic

  • Azure Resource Manager for managing and organizing Azure resources

Add your answer

Q41. What is middle ware?

Ans.

Middle ware is software that acts as a bridge between different applications or systems, allowing them to communicate and share data.

  • Middle ware facilitates communication between different software applications or systems

  • It acts as a bridge, allowing applications to share data and functionality

  • Examples include message brokers like RabbitMQ, integration platforms like MuleSoft, and API gateways like Kong

Add your answer

Q42. what is java class

Ans.

A Java class is a blueprint for creating objects in Java programming language.

  • Java class is a template that defines the data and behavior of objects.

  • It contains fields (variables) and methods (functions) to manipulate the data.

  • Example: 'public class Car { private String color; public void drive() { // code here } }'

Add your answer

Q43. Programming using collections

Ans.

Programming using collections involves using data structures to store and manipulate groups of related objects.

  • Collections provide a way to organize and manage data efficiently

  • Common collections include arrays, lists, sets, and maps

  • Collections can be used to perform operations such as sorting, filtering, and searching

  • Examples of collection-based programming include iterating through a list of items and adding or removing elements from a set

Add your answer

Q44. what is linklist

Ans.

A linked list is a data structure that consists of a sequence of elements where each element points to the next element in the sequence.

  • Each element in a linked list is called a node.

  • Nodes in a linked list are connected by pointers or references.

  • Linked lists can be singly linked (each node points to the next node) or doubly linked (each node points to the next and previous nodes).

Add your answer

Q45. what is polymorphism

Ans.

Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example: Inheritance allows a child class to override a method from its parent class, exhibiting polymorphic behavior.

Add your answer

Q46. java memory management explain

Ans.

Java memory management involves allocation, usage, and deallocation of memory in Java programs.

  • Java uses automatic memory management through garbage collection

  • Memory is divided into stack and heap

  • Objects are stored in the heap and references in the stack

  • Garbage collector removes unreferenced objects to free up memory

Add your answer

Q47. What is sap pi

Ans.

SAP PI (Process Integration) is an integration platform that enables communication between different systems and applications.

  • SAP PI is part of the SAP NetWeaver platform.

  • It allows for seamless integration of various systems, both SAP and non-SAP.

  • SAP PI provides tools for designing, configuring, and monitoring integration scenarios.

  • It supports different communication protocols and data formats.

  • Example: SAP PI can be used to integrate an SAP ERP system with a third-party CRM s...read more

Add your answer

Q48. architecture of snowflake

Ans.

Snowflake is a cloud-based data warehousing platform that allows for scalable and efficient storage and analysis of data.

  • Snowflake uses a unique architecture called multi-cluster, shared data architecture.

  • It separates storage and compute resources, allowing for independent scaling of each.

  • Data is stored in multiple virtual warehouses, which can be scaled up or down based on workload.

  • Snowflake uses a central data repository called the metadata store to manage data and queries....read more

Add your answer

Q49. Write code for palindrome

Ans.

Code to check if a given string is a palindrome or not

  • Create a function that takes a string as input

  • Remove all non-alphanumeric characters and convert the string to lowercase

  • Compare the string with its reverse to check if it is a palindrome

  • Return true if it is a palindrome, false otherwise

Add your answer

More about working at Cognizant

Top Rated Mega Company - 2024
Top Rated IT/ITES Company - 2024
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at SmartCloud Digital Innovations

based on 58 interviews in the last 1 year
3 Interview rounds
Technical Round 1
Coding Test Round
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.8
 • 112 Interview Questions
3.5
 • 55 Interview Questions
2.0
 • 24 Interview Questions
3.8
 • 20 Interview Questions
3.6
 • 18 Interview Questions
3.5
 • 12 Interview Questions
View all
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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