Add office photos
Employer?
Claim Account for FREE

Accenture

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

100+ Zaggle Prepaid Ocean Services Interview Questions and Answers

Updated 12 Jan 2025
Popular Designations
Q1. Triplets with Given Sum

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a...read more

View 4 more answers
Q2. Armstrong Number

You are given an integer ‘NUM’ . Your task is to find out whether this number is an Armstrong number or not.

A k-digit number ‘NUM’ is an Armstrong number if and only if the k-th power of each d...read more

View 2 more answers
Q3. Kth Smallest and Largest Element of Array

You are given an array ‘Arr’ consisting of ‘N’ distinct integers and a positive integer ‘K’. Find out Kth smallest and Kth largest element of the array. It is guaranteed...read more

View 4 more answers
Q4. Check If The String Is A Palindrome

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols ...read more

View 3 more answers
Discover Zaggle Prepaid Ocean Services interview dos and don'ts from real experiences
Q5. Tiling Problem

You have been given a board where there are '2' rows and 'N' columns. You have an infinite supply of 2x1 tiles, and you can place a tile in the following ways:

1. Horizontally as 1x2 tile 2. Verti...read more
View 3 more answers
Q6. Puzzle Question

Which number would replace the underline marked in the series 20, 40,100, ...., 820?

View 2 more answers
Are these interview questions helpful?
Q7. Equilibrium Index

You are given an array Arr consisting of N integers. You need to find the equilibrium index of the array.

An index is considered as an equilibrium index if the sum of elements of the array to t...read more

View 3 more answers
Q8. 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 3 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. Balanced parentheses

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditi...read more
View 2 more answers
Q10. Chocolate Problem

Given an array/list of integer numbers 'CHOCOLATES' of size 'N', where each value of the array/list represents the number of chocolates in the packet. There are ‘M’ number of students and the t...read more

View 2 more answers

Q11. One of the questions for Critical Reasoning was:- Two cars A and B cross a flyover in 10 minutes and 30 minutes respectively. Find the speed of Car A. Statements: Car B travels at the 50kmph Train A and B are t...

read more
Ans.

Car A's speed is 90kmph

  • Use the formula: Speed = Distance/Time

  • Assume the distance to be the same for both cars

  • Calculate Car A's time using the given information

  • Substitute the values in the formula to get Car A's speed

View 1 answer
Q12. Middle Of Linked List

Given the head node of the singly linked list, return a pointer pointing to the middle of the linked list.

If there are an odd number of elements, return the middle element if there are ev...read more

View 3 more answers

Q13. Question 2 was, Find the sum of all numbers in range from 1 to m(both inclusive) that are not divisible by n. Return difference between sum of integers not divisible by n with sum of numbers divisible by n.

Ans.

Find sum of numbers in range 1 to m (both inclusive) not divisible by n. Return difference between sum of non-divisible and divisible numbers.

  • Iterate through range 1 to m and check if number is divisible by n.

  • If not divisible, add to sum of non-divisible numbers.

  • If divisible, add to sum of divisible numbers.

  • Return difference between sum of non-divisible and divisible numbers.

View 2 more answers
Q14. Ways To Make Coin Change

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more

View 4 more answers
Q15. Replace Spaces

You have been given a string 'STR' of words. You need to replace all the spaces between words with “@40”.

Input Format:
The first line contains a single integer ‘T’ representing the number of test...read more
View 2 more answers
Q16. Stack using queue

Implement a Stack Data Structure specifically to store integer data using two Queues.

There should be two data members, both being Queues to store the data internally. You may use the inbuilt Q...read more

View 3 more answers
Q17. Second largest element in the array

You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

Note:
a) Duplicate elements may be present. b) If no...read more
View 3 more answers
Q18. Check if two trees are Mirror

You are given two arbitrary binary trees consisting of N and M number of nodes respectively, your task is to check whether the two trees are mirror of each other or not.

Two trees a...read more

View 2 more answers
Q19. Ninja And Alien

An alien spaceship arrived at our planet Earth. An alien dropped his dictionary of words on the way back to his planet. Ninja found that dictionary and now wants to create the order of the charac...read more

Add your answer
Q20. Evaluation of postfix expression

An expression is called the postfix expression if the operator appears in the expression after the operands.

Example :

Infix expression: A + B * C - D Postfix expression: A B + C...read more
Add your answer
Q21. Reverse the String

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You h...read more
Add your answer
Q22. Binary Tree

Consider the node of a complete binary tree whose value is stored in data[i] for an array implementation.

If this node has a right child, where will the right child's value be stored?

Add your answer

Q23. Write a code for the length of string without using strlen() function.

Ans.

Code to find length of string without using strlen() function.

  • Use a loop to iterate through each character of the string

  • Increment a counter variable for each character in the string

  • Stop the loop when the null character '\0' is encountered

  • Return the counter variable as the length of the string

View 2 more answers
Q24. Puzzle Question

If in a cricket one day match, there were no wide balls, no wides, no extras and no overthrows.

What is the maximum number of runs that a batsman can score in an ideal case scenario?

Add your answer
Q25. Binary String Operations

The Binary number system only uses two digits, 0 and 1 and number system can be called binary string. You are required to implement the following function:

int OperationsBinaryString(char...read more

Add your answer
Q26. Communication Assessment

6 rounds to test your Speaking, Listening and Memory.

Add your answer

Q27. Apart from the programming languages in the engineering curriculum, what other languages have you learned?

Ans.

I have learned Python, JavaScript, and SQL outside of my engineering curriculum.

  • I learned Python through online courses and used it for data analysis projects.

  • I learned JavaScript through building web applications and creating interactive user interfaces.

  • I learned SQL through database management and querying data.

Add your answer

Q28. On which platform have you learned the programming languages?

Ans.

I have learned programming languages on multiple platforms.

  • I learned Java and Python on Windows platform using Eclipse and PyCharm IDEs respectively.

  • I learned C++ on Linux platform using g++ compiler.

  • I learned JavaScript on both Windows and Mac platforms using Visual Studio Code and Sublime Text editors respectively.

  • I also learned Swift on Mac platform using Xcode IDE.

View 3 more answers
Q29. System Design Question

Why database did you use in your app and why? How does it store data ?

Add your answer
Q30. System Design Question

How did you manage network calls and how was your backend structured?

Add your answer
Q31. Aptitude Question

Seating arrangement questions

Add your answer

Q32. Broadcasting of western serials on Indian channels should be banned? Why or Why not?

Ans.

No, banning western serials on Indian channels is not necessary.

  • Western serials are popular among Indian audiences.

  • Banning them would limit the entertainment options for viewers.

  • It is up to individuals to decide what they want to watch.

  • Censorship should be limited to content that is harmful or offensive.

  • Banning western serials could also harm the business of Indian channels.

  • Instead, channels can choose to air a mix of western and Indian content.

Add your answer

Q33. Q3 If you can go back in time and change one thing what it would be?

Ans.

I would change my decision to not pursue a computer science degree earlier in my education.

  • I would have started learning programming languages sooner.

  • I would have taken more computer science courses in college.

  • I would have sought out internships in software development earlier in my career.

Add your answer

Q34. Longest Factorial where I have to print the longest factorial .

Ans.

The longest factorial that can be printed depends on the data type used to store the result.

  • Factorials grow very quickly, so the data type used to store the result is important.

  • For example, the largest factorial that can be stored in a 32-bit integer is 12!.

  • Using a 64-bit integer allows for larger factorials, such as 20!.

  • Using a floating-point data type allows for even larger factorials, but with reduced precision.

  • Printing the entire factorial may not be practical, so scienti...read more

Add your answer

Q35. What is your favorite coding language and why?

Ans.

My favorite coding language is Python because of its simplicity and versatility.

  • Python has a clean and easy-to-read syntax, making it beginner-friendly.

  • It has a vast library of modules and frameworks for various applications.

  • Python is used in various fields such as web development, data science, and artificial intelligence.

  • It supports multiple programming paradigms such as object-oriented, functional, and procedural programming.

  • Python has a large and active community, providi...read more

Add your answer
Q36. MCQ Questions

MCQs were basic elementary mathematics along with pseudo codes.


Number Of MCQs - 50

Add your answer

Q37. Write a code for Octal to Decimal Conversion.

Ans.

Code for Octal to Decimal Conversion

  • Start from the rightmost digit and move towards the leftmost digit

  • Multiply each digit with 8 raised to the power of its position

  • Add all the products obtained in the previous step to get the decimal equivalent

View 1 answer

Q38. What are the advantages of OOPS?

Ans.

OOPS provides modularity, reusability, and extensibility in software development.

  • Encapsulation ensures data security and prevents unauthorized access.

  • Inheritance allows for code reuse and reduces redundancy.

  • Polymorphism enables flexibility and allows for dynamic behavior.

  • Abstraction simplifies complex systems and hides implementation details.

  • OOPS promotes better organization and maintenance of code.

  • Examples: Java, C++, Python, Ruby, etc.

Add your answer

Q39. What is Exceptional Handling in Java?

Ans.

Exceptional Handling is a mechanism to handle runtime errors in Java programs.

  • It is done using try-catch blocks.

  • It prevents the program from crashing due to errors.

  • It helps in debugging and maintaining the code.

  • Examples include NullPointerException, ArrayIndexOutOfBoundsException, etc.

Add your answer

Q40. Do you know about some recent trending technologies? Tell me about it.

Ans.

Artificial Intelligence and Machine Learning are trending technologies.

  • AI and ML are being used in various industries like healthcare, finance, and retail.

  • AI-powered chatbots are becoming popular for customer service.

  • ML algorithms are being used for fraud detection and risk management.

  • Deep learning is being used for image and speech recognition.

  • Natural Language Processing (NLP) is being used for sentiment analysis and language translation.

  • Reinforcement learning is being used ...read more

Add your answer

Q41. What is a Friend Function in C++?

Ans.

Friend function is a non-member function that has access to private and protected members of a class.

  • Declared inside the class but defined outside the class scope

  • Can access private and protected members of the class

  • Not a member of the class but has access to its private and protected members

  • Used to provide access to private or protected members to non-member functions or other classes

  • Example: friend void display(A);

  • Example: class A { friend void display(A); };

Add your answer

Q42. Which new technology did you learn recently?

Ans.

I recently learned about React Native, a framework for building mobile apps using JavaScript.

  • React Native allows for cross-platform development, reducing the need for separate codebases for iOS and Android.

  • It uses a similar syntax to React, making it easy for web developers to transition to mobile development.

  • Some popular apps built with React Native include Facebook, Instagram, and Airbnb.

Add your answer

Q43. You are a team lead and there two team members doesn't have the same view on the topic. how will you resolve it?

Ans.

As a team lead, I would facilitate open communication, encourage collaboration, and work towards finding a common ground.

  • Encourage open communication between team members to understand each other's perspectives

  • Facilitate a discussion to address differences and find common ground

  • Encourage collaboration and compromise to reach a consensus

  • Seek input from other team members or stakeholders to gain different perspectives

  • Provide guidance and support to help team members work throug...read more

Add your answer

Q44. What is your opinion about generative AI?

Ans.

Generative AI has great potential in various industries, including art, music, and content creation.

  • Generative AI can be used to create realistic images, videos, and music compositions.

  • It has the potential to revolutionize content creation by automating the process and generating unique outputs.

  • Applications of generative AI include deepfakes, style transfer, and text generation.

  • While generative AI has great potential, ethical considerations and misuse must be carefully monito...read more

Add your answer

Q45. 5. If you have to learn new programming language ?How will you do it .

Ans.

To learn a new programming language, I would start with understanding its syntax and basic concepts, practice coding, and seek help from online resources and experienced programmers.

  • Research and understand the syntax and basic concepts of the language

  • Practice coding in the language by working on small projects

  • Seek help from online resources such as documentation, forums, and tutorials

  • Collaborate with experienced programmers who are proficient in the language

  • Attend workshops o...read more

Add your answer

Q46. What is pandas in python, Numpy, list and set their differences

Ans.

pandas is a Python library for data manipulation and analysis. Numpy is a library for numerical operations. List and set are data structures in Python.

  • pandas is used for data manipulation, analysis, and cleaning tasks.

  • Numpy provides support for large, multi-dimensional arrays and matrices.

  • Lists are ordered collections of items, while sets are unordered collections of unique items.

  • Lists are mutable, while sets are immutable.

  • Lists allow duplicate elements, while sets do not.

  • Lis...read more

Add your answer

Q47. Why did you use a CLI library in your project?

Ans.

CLI library was used for user interaction and ease of use.

  • CLI library provided a simple and intuitive way for users to interact with the project.

  • It allowed for easy input and output handling.

  • Examples include argparse in Python and Commander.js in Node.js.

  • It also made it easier to automate tasks through scripts.

  • Overall, it improved the user experience and made the project more accessible.

Add your answer

Q48. Small jumbelled words arranged into meaningful sentences

Ans.

The question is asking for small jumbled words to be arranged into meaningful sentences.

  • Read each word carefully and try to identify any patterns or connections between them.

  • Look for common parts of speech such as nouns, verbs, and adjectives.

  • Try rearranging the words in different orders to see if any make sense.

  • Use context clues to help determine the meaning of each word.

  • Practice with similar exercises to improve your skills.

Add your answer

Q49. What is MultiThreading?

Ans.

Multithreading is the ability of a CPU to execute multiple threads concurrently.

  • Multithreading allows for better utilization of CPU resources.

  • It can improve application performance by allowing multiple tasks to run simultaneously.

  • Multithreading can be implemented in various programming languages such as Java, C++, and Python.

  • Examples of multithreaded applications include web servers, video games, and media players.

Add your answer

Q50. What are different types of collection and why do we get concurrent modification exception?

Ans.

Different types of collection and reasons for concurrent modification exception.

  • Types of collections: List, Set, Map, Queue, Stack

  • Concurrent modification exception occurs when a collection is modified while iterating over it

  • Solution: use Iterator or synchronized collection

Add your answer

Q51. What is polymorphism? And real time examples

Ans.

Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were of the same class.

  • Polymorphism is achieved through method overriding and method overloading.

  • Real-time examples include function overloading, operator overloading, and inheritance.

  • In function overloading, multiple functions can have the same name but different parameters.

  • In operator overloading, operators like +, -, * can be overloaded to work wi...read more

Add your answer

Q52. Your thoughts on cloud and how it's effective for a country ?

Ans.

Cloud computing enables efficient storage, processing, and access to data, benefiting countries through cost savings, scalability, and innovation.

  • Cost savings: Cloud services eliminate the need for expensive hardware and maintenance costs.

  • Scalability: Cloud resources can be easily scaled up or down based on demand, allowing countries to efficiently manage their IT infrastructure.

  • Innovation: Cloud platforms provide access to cutting-edge technologies and tools, fostering innov...read more

Add your answer

Q53. What is OOP? What are the four major OOPs concepts?

Ans.

OOP stands for Object-Oriented Programming. The four major OOP concepts are encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: bundling of data and methods that manipulate the data within a single unit

  • Inheritance: creating new classes from existing ones, inheriting their properties and methods

  • Polymorphism: ability of objects to take on multiple forms or behaviors

  • Abstraction: hiding the implementation details of a class and exposing only the necessary inf...read more

Add your answer

Q54. Difference between polymorphism and abstraction.

Ans.

Polymorphism is the ability of an object to take on many forms. Abstraction is the process of hiding implementation details.

  • Polymorphism allows objects of different classes to be treated as if they are of the same class.

  • Abstraction allows us to focus on the essential features of an object rather than its implementation details.

  • Polymorphism is achieved through method overriding and method overloading.

  • Abstraction is achieved through abstract classes and interfaces.

  • Example of po...read more

Add your answer

Q55. Remember small stories and recite and rephrase accordingly.

Ans.

Recalling small stories and rephrasing them

  • Practice active listening to remember stories accurately

  • Use your own words to rephrase the story

  • Try to capture the main idea and important details

  • Use visualization techniques to help remember the story

  • Practice recalling stories with friends or family

Add your answer

Q56. what are the quality of tea to become a team lead?

Ans.

The qualities of a tea lead include strong communication skills, leadership abilities, technical expertise, and the ability to collaborate effectively with team members.

  • Strong communication skills to effectively convey ideas and instructions to team members

  • Leadership abilities to guide and motivate team members towards common goals

  • Technical expertise to provide guidance and support on software development tasks

  • Ability to collaborate effectively with team members to ensure pro...read more

Add your answer

Q57. What are the technicalities related to the project(s).

Ans.

The project involves developing a web-based application for managing inventory and sales.

  • The application will be built using Java and Spring framework.

  • It will have a user-friendly interface for adding, updating and deleting products.

  • The application will also generate reports on sales and inventory levels.

  • The database used will be MySQL.

  • The project will follow Agile methodology for development.

Add your answer

Q58. what is inheritance and explain the different types of it with code.

Ans.

Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.

  • Inheritance allows code reuse and promotes code organization.

  • There are different types of inheritance: single, multiple, multilevel, and hierarchical.

  • Single inheritance involves a class inheriting from a single base class.

  • Multiple inheritance involves a class inheriting from multiple base classes.

  • Multilevel inheritance involves a class inheriting from a d...read more

Add your answer

Q59. What are OOPS Concept?

Ans.

OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.

  • OOPS is based on four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.

  • Encapsulation is the process of hiding the implementation details of an object from the outside world.

  • Inheritance allows a class to inherit properties and methods from another class.

  • Polymorphism allows objects of different classes to be treated as if they were of the same...read more

Add your answer

Q60. What is AI how you implement AI in your project

Ans.

AI stands for Artificial Intelligence, which involves creating intelligent machines that can simulate human behavior and thinking.

  • AI is implemented in projects through machine learning algorithms like neural networks, decision trees, and support vector machines.

  • Natural language processing and computer vision are common AI techniques used in projects.

  • AI can be used in recommendation systems, chatbots, autonomous vehicles, and more.

  • Example: Implementing a chatbot using natural ...read more

Add your answer

Q61. What is your favorite programming language?

Ans.

My favorite programming language is Python.

  • Python is a versatile and easy-to-learn language.

  • It has a simple and readable syntax, making it great for beginners.

  • Python has a large and active community, providing extensive libraries and frameworks.

  • It is widely used in various domains like web development, data analysis, and machine learning.

  • Python's extensive documentation and support make it a developer-friendly language.

Add your answer

Q62. Does the Indian government use cloud Technologies ?

Ans.

Yes, the Indian government does use cloud technologies for various services and initiatives.

  • The Indian government has adopted cloud technologies for various e-governance initiatives to improve efficiency and accessibility.

  • Cloud services are used for data storage, processing, and analysis in government departments.

  • Examples include the National Informatics Centre (NIC) cloud services used by various government agencies and departments.

  • Cloud technologies are also utilized for ho...read more

Add your answer

Q63. Do you have any experience using AWS? What is SaaS

Ans.

AWS is a cloud computing platform. SaaS is a software delivery model where software is hosted on the cloud and accessed via the internet.

  • AWS is a cloud computing platform that provides a wide range of services such as computing, storage, and databases.

  • SaaS stands for Software as a Service and is a software delivery model where software is hosted on the cloud and accessed via the internet.

  • Examples of SaaS include Salesforce, Dropbox, and Google Apps.

  • Using SaaS eliminates the n...read more

Add your answer

Q64. If you get a oppurtunity by mistake?how you take it ?

Ans.

I would carefully evaluate the opportunity and consider if it aligns with my career goals and interests.

  • Assess the potential benefits and drawbacks of the opportunity

  • Consider how it fits into your long-term career plans

  • Seek advice from mentors or colleagues

  • Make an informed decision based on your evaluation

Add your answer

Q65. What do you mean by a jail project management?

Ans.

Jail project management refers to managing projects within a constrained environment, often with limited resources and strict regulations.

  • Involves managing projects in a restricted environment, such as a correctional facility

  • Requires careful planning and coordination due to limited resources and strict regulations

  • Challenges include security concerns, communication barriers, and restricted access to technology

  • Examples include implementing educational programs for inmates, upgr...read more

Add your answer

Q66. Why did you switch from Mechanical to Software?

Ans.

I switched from Mechanical to Software because I discovered my passion for coding and problem-solving.

  • Discovered passion for coding and problem-solving

  • Enjoyed programming courses and projects

  • Realized software development offered more opportunities for growth and innovation

Add your answer

Q67. Any new technology you're familiar with? (I said Cloud Computing)

Ans.

Cloud computing is a technology that allows users to access and store data and applications over the internet.

  • Cloud computing eliminates the need for physical servers and hardware.

  • It offers scalability and flexibility to businesses.

  • Examples include Amazon Web Services, Microsoft Azure, and Google Cloud Platform.

Add your answer

Q68. Repeating sentences after an audio command.

Ans.

Repeating sentences after an audio command

  • This is a common feature in voice assistants like Siri or Alexa

  • The device listens for a trigger word or phrase, then repeats the command back to the user

  • This can be useful for confirming that the device understood the command correctly

Add your answer

Q69. What is inheritance?

Ans.

Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.

  • Inheritance allows for code reuse and promotes modularity.

  • The class that inherits properties and behaviors is called the derived class or subclass.

  • The class from which properties and behaviors are inherited is called the base class or superclass.

  • Inheritance can be single, multiple, or multilevel depending on the number of classes involved.

  • Example: A 'Ca...read more

View 3 more answers

Q70. What is sorting in data structures

Ans.

Sorting in data structures is the process of arranging data in a particular order, usually in ascending or descending order.

  • Sorting helps in organizing data for efficient searching and retrieval.

  • Common sorting algorithms include Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, etc.

  • Example: Sorting an array of numbers in ascending order - [5, 2, 8, 1, 3] becomes [1, 2, 3, 5, 8].

Add your answer

Q71. How do you implement exception handling in Java?

Ans.

Exception handling in Java allows for graceful handling of errors and exceptions in code.

  • Use try-catch blocks to handle exceptions in Java.

  • Catch specific exceptions to handle them differently.

  • Use finally block to execute code regardless of whether an exception is thrown.

  • Throw custom exceptions using throw keyword.

  • Use throws keyword in method signature to declare exceptions that can be thrown by the method.

Add your answer

Q72. What is foriegn Key and Primary key? What is normalisation? What is abstraction, polymorphism?

Ans.

Primary key uniquely identifies each record in a table, while foreign key establishes a link between two tables. Normalization is the process of organizing data in a database to reduce redundancy. Abstraction is hiding the implementation details, and polymorphism allows objects to be treated as instances of their parent class.

  • Primary key uniquely identifies each record in a table

  • Foreign key establishes a link between two tables

  • Normalization reduces redundancy in database desi...read more

Add your answer

Q73. What is polymorphism? What is encapsulation? Tell me about the memorable day of your life?

Ans.

Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon. Encapsulation is the bundling of data and methods that operate on the data into a single unit.

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

  • Encapsulation helps in hiding the internal state of an object and restricting access to it.

  • Example of polymorphism: Overloading a method with different parameters in a class.

  • Ex...read more

Add your answer

Q74. Machine Learning,Types and Real life examples

Ans.

Machine learning is a subset of artificial intelligence that involves the development of algorithms and statistical models to perform specific tasks without explicit instructions.

  • Types of machine learning include supervised learning, unsupervised learning, and reinforcement learning.

  • Supervised learning involves training a model on labeled data to make predictions.

  • Unsupervised learning involves finding patterns in unlabeled data.

  • Reinforcement learning involves training a model...read more

Add your answer

Q75. What is oops in programming language

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs focuses on creating objects that contain data and methods to manipulate that data.

  • It allows for encapsulation, inheritance, and polymorphism.

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

Add your answer

Q76. What do you mean by break function?

Ans.

A break function is a statement used to exit a loop or switch statement.

  • It is used to terminate a loop or switch statement before its natural end.

  • It can be used with conditions to exit a loop when a certain condition is met.

  • Examples include 'break' in Java and C++ and 'exit' in Python.

Add your answer

Q77. What are the scopes of beans in Spring ?

Ans.

Beans in Spring have three scopes: Singleton, Prototype, and Request.

  • Singleton scope creates only one instance of the bean and is the default scope.

  • Prototype scope creates a new instance of the bean every time it is requested.

  • Request scope creates a new instance of the bean for every HTTP request.

  • Other scopes include Session, Global Session, and WebSocket.

  • Scopes can be defined using the @Scope annotation.

Add your answer

Q78. Tell about AI and Various concepts

Ans.

AI stands for Artificial Intelligence, which involves the development of machines that can perform tasks that typically require human intelligence.

  • AI involves the use of algorithms and data to enable machines to learn from experience.

  • Machine learning is a subset of AI that focuses on the development of algorithms that allow machines to learn from and make predictions or decisions based on data.

  • Deep learning is a subset of machine learning that uses neural networks with many l...read more

Add your answer

Q79. What are APIs, and how do you use them?

Ans.

APIs are sets of rules and protocols that allow different software applications to communicate with each other.

  • APIs stand for Application Programming Interfaces.

  • They define the methods and data formats that applications can use to request and exchange information.

  • APIs can be used to access services or data from external sources, such as social media platforms or payment gateways.

  • Examples of APIs include the Google Maps API, Twitter API, and PayPal API.

Add your answer

Q80. which is better java or Python?

Ans.

Both Java and Python have their own strengths and weaknesses, and the choice depends on the specific requirements of the project.

  • Java is a statically-typed language known for its performance and scalability.

  • Python is a dynamically-typed language known for its simplicity and readability.

  • Java is commonly used for building large-scale enterprise applications.

  • Python is popular for web development, data analysis, and scripting tasks.

  • Java has a strong ecosystem and extensive librar...read more

Add your answer

Q81. Define OOPs Concept

Ans.

OOPs (Object-Oriented Programming) is a programming paradigm that organizes code into objects with properties and behaviors.

  • OOPs focuses on creating reusable code by encapsulating data and methods within objects.

  • It emphasizes the concepts of inheritance, polymorphism, and encapsulation.

  • Objects are instances of classes, which define their structure and behavior.

  • Inheritance allows classes to inherit properties and methods from other classes.

  • Polymorphism enables objects to take ...read more

View 1 answer

Q82. Any Higher studies Plan, If no Why?

Ans.

No plans for higher studies at the moment, focusing on gaining practical experience.

  • Currently focusing on gaining practical experience in the field

  • Considering pursuing higher studies in the future for career advancement

  • No immediate plans for higher studies due to financial constraints

  • Prefer gaining industry experience before considering higher studies

Add your answer

Q83. swaping 2 variables with out 3rd variable in diff approaches

Ans.

Swapping two variables without a third variable can be achieved using arithmetic operations or bitwise XOR operation.

  • Using arithmetic operations: a = a + b; b = a - b; a = a - b;

  • Using bitwise XOR operation: a = a ^ b; b = a ^ b; a = a ^ b;

Add your answer

Q84. What will happen if the server crashes

Ans.

If the server crashes, the website or application will become unavailable until the server is restored.

  • Website or application will be inaccessible to users

  • Data may be lost if not properly backed up

  • Potential impact on business operations and revenue

  • Need to investigate the cause of the crash and implement measures to prevent future occurrences

Add your answer

Q85. Do you know any programming languages

Ans.

Yes, I am proficient in Java, Python, and C++.

  • Proficient in Java for backend development

  • Experienced in Python for data analysis and scripting

  • Familiar with C++ for system programming

Add your answer

Q86. tell me coding language you know

Ans.

I am proficient in Java, Python, C++, and JavaScript.

  • Java

  • Python

  • C++

  • JavaScript

Add your answer

Q87. 2. what is oops ? explain

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs is based on the four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.

  • Encapsulation is the process of hiding the implementation details from the user.

  • Inheritance is the process of inheriting the properties of one class by another class.

  • Polymorphism is the ability of an object to take on many forms.

  • Abstraction is the process of hiding the unnec...read more

Add your answer

Q88. string using loop

Ans.

To create a string using loop

  • Declare an empty string variable

  • Use a loop to concatenate desired strings to the variable

  • Use the loop condition to control the number of iterations

Add your answer

Q89. What is stack in data structure

Ans.

A stack is a linear data structure that follows the Last In First Out (LIFO) principle.

  • Elements are added and removed from the top of the stack.

  • Common operations include push (add element) and pop (remove element).

  • Example: Undo functionality in text editors uses a stack to store previous states.

Add your answer

Q90. Write a basic code in C++

Ans.

A basic code in C++

  • Use the 'int main()' function as the entry point of the program

  • Declare an array of strings using the syntax 'string arrayName[size]'

  • Initialize the array with values

  • Access and manipulate the elements of the array using indexing

Add your answer

Q91. Find the only unique elements in an array

Ans.

Find unique elements in an array of strings

  • Create a hashmap to store the frequency of each element in the array

  • Iterate through the array and update the frequency in the hashmap

  • Iterate through the hashmap and return elements with frequency 1

Add your answer

Q92. What the difference between C and C++

Ans.

C is a procedural programming language while C++ is an object-oriented programming language.

  • C is a procedural programming language, focusing on functions and procedures.

  • C++ is an object-oriented programming language, allowing for classes, objects, and inheritance.

  • C++ is an extension of C, adding features like classes, templates, and exception handling.

  • C++ supports both procedural and object-oriented programming paradigms.

  • C++ is often used for developing complex applications a...read more

Add your answer

Q93. Explain DBMS concept to a four year child

Ans.

DBMS is like a big box where we keep all our information organized so we can find it easily.

  • DBMS stands for Database Management System

  • It helps us store and organize information in a structured way

  • We can easily search, add, delete or modify information in DBMS

  • Examples of DBMS are MySQL, Oracle, SQL Server

Add your answer

Q94. How would you interact with client

Ans.

I would interact with clients by actively listening to their needs, providing clear communication, and offering solutions to their problems.

  • Actively listen to the client's needs and concerns

  • Provide clear and concise communication about project progress and updates

  • Offer solutions to any problems or challenges the client may be facing

  • Maintain a professional and friendly demeanor at all times

  • Follow up with the client to ensure their satisfaction with the project

Add your answer

Q95. What do you like in Software Engineering

Ans.

I enjoy the problem-solving aspect of software engineering and the satisfaction of creating functional and efficient solutions.

  • I like the challenge of solving complex problems through coding

  • I enjoy the creativity involved in designing and implementing software solutions

  • I appreciate the continuous learning and growth opportunities in the field

  • I find satisfaction in seeing my code come to life and make a positive impact

Add your answer

Q96. Say a few lines on vaccum in 5 minutes

Ans.

A vacuum is a device that uses suction to remove dirt and debris from surfaces.

  • Vacuums work by creating a partial vacuum to generate suction.

  • They are commonly used for cleaning floors, carpets, and upholstery.

  • There are different types of vacuums, such as upright, canister, and robotic vacuums.

  • Some vacuums also have additional features like HEPA filters for allergen removal.

  • Examples of popular vacuum brands include Dyson, Shark, and Hoover.

Add your answer

Q97. ai tell a story and you have to repeat it.

Ans.

The candidate is asked to listen to a story and then repeat it.

  • Listen carefully to the story being told

  • Pay attention to key details and events in the story

  • Repeat the story in your own words, focusing on accuracy and clarity

Add your answer

Q98. Ai tell sentense you have find out the error

Ans.

Identify and correct errors in a given sentence.

  • Read the sentence carefully to identify any grammatical or spelling errors.

  • Check for subject-verb agreement, punctuation, and word usage.

  • Consider the context of the sentence to determine the intended meaning.

  • Consult a grammar guide or dictionary for assistance if needed.

Add your answer

Q99. Explain oops pillars with real life example

Ans.

OOPs pillars are the four main principles of Object-Oriented Programming: Inheritance, Encapsulation, Abstraction, and Polymorphism.

  • Inheritance: A child inherits properties and behaviors from its parent. Example: A car is a type of vehicle and inherits properties like color and behaviors like driving from the Vehicle class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: A capsule is a container that encapsulates medicine.

  • Abstract...read more

Add your answer

Q100. Differnence between C and Java

Ans.

C is a procedural programming language while Java is an object-oriented programming language.

  • C is a low-level language while Java is a high-level language.

  • C requires manual memory management while Java has automatic memory management.

  • C supports pointers while Java does not.

  • C is platform-dependent while Java is platform-independent.

  • C has a simpler syntax compared to Java.

Add your answer
1
2

More about working at Accenture

Top Rated Mega Company - 2024
Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Zaggle Prepaid Ocean Services

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

Top Associate Software Engineer Interview Questions from Similar Companies

4.0
 • 67 Interview Questions
3.7
 • 62 Interview Questions
3.8
 • 60 Interview Questions
4.0
 • 18 Interview Questions
4.3
 • 14 Interview Questions
3.7
 • 11 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