Add office photos
Employer?
Claim Account for FREE

Metacube Software

3.9
based on 183 Reviews
Filter interviews by

10+ VKC Group Interview Questions and Answers

Updated 16 Nov 2024

Q1. If Rohan have n chocolates and he get 1 chocolate back for every 3 chocolate wrapper after eating. How many he can eat.

Ans.

Rohan can eat n chocolates plus n/2 additional chocolates from the wrappers.

  • Rohan can eat n chocolates initially.

  • After eating n chocolates, he will have n wrappers, which can be exchanged for n/3 additional chocolates.

  • Therefore, Rohan can eat n + n/3 = n + n/2 chocolates in total.

View 1 answer

Q2. Calculate second max without second loop and sorting

Ans.

Find the second maximum value in an array without using a second loop or sorting.

  • Iterate through the array once, keeping track of the maximum and second maximum values.

  • Initialize the maximum and second maximum variables with the first and second elements of the array.

  • Compare each element with the maximum and second maximum variables, updating them if necessary.

  • At the end of the iteration, the second maximum variable will hold the second largest value.

View 2 more answers

Q3. how to import user defined class another file

Ans.

To import user defined class from another file, use the import statement followed by the file path.

  • Use the import statement followed by the file path to import the user defined class

  • Make sure the file containing the class is in the same directory or specify the correct path

  • Use the class name to access the class in the importing file

Add your answer

Q4. A recursive function to reverse a string

Ans.

A recursive function to reverse a string

  • Create a function that takes a string as input

  • If the length of the string is 0 or 1, return the string

  • Otherwise, return the last character of the string concatenated with the result of calling the function on the substring from the first character to the second-to-last character

  • Example: reverseString('hello') returns 'olleh'

Add your answer
Discover VKC Group interview dos and don'ts from real experiences

Q5. difference between polymorphism and function overloading

Ans.

Polymorphism is the ability of an object to take on many forms. Function overloading is having multiple functions with the same name but different parameters.

  • Polymorphism allows objects to be treated as if they are of different types, while function overloading allows multiple functions to have the same name but different parameters.

  • Polymorphism is achieved through inheritance and virtual functions, while function overloading is achieved through defining multiple functions wi...read more

Add your answer

Q6. Difference between a set and an array

Ans.

An array is a collection of elements of the same data type, while a set is a collection of unique elements.

  • Arrays have a fixed size, while sets can dynamically grow or shrink.

  • Arrays can have duplicate elements, while sets only contain unique elements.

  • Arrays are accessed using an index, while sets are accessed using an iterator.

  • Arrays are commonly used for storing and manipulating data, while sets are used for mathematical operations like union and intersection.

Add your answer
Are these interview questions helpful?

Q7. write test cases for lift, atm machine, UPI transaction

Ans.

Test cases for lift, ATM machine, and UPI transaction

  • Lift: Test for proper functioning of buttons, emergency stop, door opening/closing, weight limit, and floor selection

  • ATM machine: Test for card insertion, PIN entry, cash withdrawal, balance inquiry, receipt printing, and error handling

  • UPI transaction: Test for login, account linking, fund transfer, transaction history, error handling, and security measures

Add your answer

Q8. Check leap year.

Ans.

A leap year is a year that is divisible by 4, except for years that are divisible by 100 but not by 400.

  • Check if the year is divisible by 4.

  • If the year is divisible by 100, also check if it is divisible by 400.

  • If both conditions are met, it is a leap year.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is HTML and CSS ?

Ans.

HTML and CSS are the building blocks of web design.

  • HTML stands for Hypertext Markup Language and is used to create the structure and content of web pages.

  • CSS stands for Cascading Style Sheets and is used to style and layout web pages.

  • HTML and CSS work together to create visually appealing and functional websites.

  • HTML uses tags to define elements such as headings, paragraphs, and images.

  • CSS uses selectors to target HTML elements and apply styles such as color, font, and layout...read more

Add your answer

Q10. what is smoke testing

Ans.

Smoke testing is a preliminary testing to check if the basic functionalities of a software application are working fine.

  • Smoke testing is a subset of regression testing.

  • It is usually performed after a new build is received.

  • The main purpose is to verify if the critical functionalities are working without conducting exhaustive testing.

  • It helps in identifying major issues early in the development cycle.

  • Examples: checking if the application launches successfully, if login function...read more

Add your answer

Q11. what is Black box testing

Ans.

Black box testing is a software testing method where the internal structure/design of the system being tested is not known to the tester.

  • Tester focuses on the functionality of the software without knowing its internal code.

  • Tests are based on requirements and specifications.

  • Input data is provided and output is validated without knowledge of how the system processes the data.

  • Examples: User acceptance testing, system testing, regression testing.

Add your answer

Q12. oops in java majorly

Ans.

Object-oriented programming principles in Java

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

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

  • Polymorphism: ability for objects to be treated as instances of their parent class

  • Abstraction: hiding the implementation details and showing only the necessary features

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at VKC Group

based on 8 interviews in the last 1 year
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 817 Interview Questions
4.0
 • 683 Interview Questions
3.7
 • 406 Interview Questions
3.8
 • 399 Interview Questions
3.8
 • 386 Interview Questions
3.6
 • 173 Interview Questions
View all
Top Metacube Software Interview Questions And Answers
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