Cloudkaptan Consultancy Services
10+ Marktine Interview Questions and Answers
Q1. 1.Do you use social media? What is the use of it? 2.Tell us about your hometown. 3.Why is your CGPA not very high? 4.What do you know about the Software 5.Development Life Cycle (SDLC)? 6.How will you contribut...
read moreYes, I use social media for networking and staying updated. I am from a small town with a close-knit community. My CGPA may not be high due to focusing on practical skills. I am familiar with SDLC and can contribute to Cloud Kaptan with my problem-solving abilities.
I use social media for networking with professionals in the industry and staying updated on the latest trends.
My hometown is a small town with a close-knit community where everyone knows each other.
My CGPA may not ...read more
Q2. Sorting of array in decending order and print 2nd smallest number without using inbuilt function.
Sort array in descending order, find 2nd smallest number without using inbuilt function.
Iterate through the array and compare each element to find the smallest number.
Then iterate again to find the second smallest number.
Implement a sorting algorithm like bubble sort or selection sort to sort the array in descending order.
Q3. Difference btw bubble sort and selection sort
Bubble sort repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. Selection sort selects the smallest element from the unsorted portion and swaps it with the first unsorted element.
Bubble sort has a time complexity of O(n^2) in worst case, while selection sort has a time complexity of O(n^2) in all cases.
Bubble sort is stable, meaning it preserves the relative order of equal elements, while selection sort is not stable.
Bu...read more
Q4. Types of constructor and demostrate it using code.
There are two types of constructors in Java: default constructor and parameterized constructor.
Default constructor has no parameters and is automatically created by the compiler if no constructor is defined.
Parameterized constructor takes parameters and is used to initialize the object with specific values.
Q5. Difference btw print and println in java
print() prints the output without moving to the next line, while println() prints the output and moves to the next line.
print() does not add a new line character at the end of the output
println() adds a new line character at the end of the output
Example: System.out.print("Hello"); // prints Hello without moving to the next line
Example: System.out.println("World"); // prints World and moves to the next line
Q6. Pillar of OOPs explain each parts.
Pillars of OOPs are four fundamental principles - 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.
Polymorphism: Ability to present the same interface for different data types.
Q7. What is denormalization
Denormalization is the process of adding redundant data to a database to improve read performance.
Reduces the need for joins in queries
Increases read performance at the expense of slower writes
Commonly used in data warehousing and reporting applications
Q8. What is atomicity
Atomicity refers to the property of a transaction in a database system that ensures all operations within the transaction are completed successfully or none at all.
Atomicity ensures that all operations within a transaction are completed successfully or none at all
If any operation within a transaction fails, the entire transaction is rolled back
Example: transferring money from one account to another - either the full amount is transferred successfully or no money is transferre...read more
Q9. Speak about you non stop
I am a passionate and experienced Senior Software Engineer with a strong background in developing innovative solutions.
Over 10 years of experience in software development
Proficient in multiple programming languages such as Java, Python, and JavaScript
Extensive experience in designing and implementing scalable and efficient software solutions
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills, collaborating w...read more
Q10. Search array element using recursion
Recursively search for an element in an array of strings
Create a recursive function that takes the array, target element, and current index as parameters
Check if the current index is out of bounds or if the element at the current index matches the target
If the element is found, return the index; otherwise, recursively call the function with the next index
Q11. What is abstraction
Abstraction is the process of removing unnecessary details and focusing on essential characteristics.
Abstraction involves hiding complex implementation details and exposing only relevant information.
It helps in simplifying the problem-solving process by focusing on high-level concepts.
For example, in programming, classes and objects are used to implement abstraction by encapsulating data and methods.
Abstraction is a key concept in object-oriented programming.
It allows for cre...read more
Q12. Define what is opps, pillers
Opps stands for Object-oriented programming principles. Pillars refer to the four key concepts of OOP: Inheritance, Encapsulation, Abstraction, and Polymorphism.
Opps stands for Object-oriented programming principles
Pillars refer to Inheritance, Encapsulation, Abstraction, and Polymorphism
Inheritance allows a class to inherit properties and behavior from another class
Encapsulation restricts access to certain components within a class
Abstraction focuses on hiding the implementa...read more
Q13. Reverse a string
Reverse a string by iterating through the characters and swapping them.
Iterate through the string from both ends and swap the characters until reaching the middle.
Use a temporary variable to store the character being swapped.
Example: 'hello' -> 'olleh'
Interview Process at Marktine
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month