Add office photos
Employer?
Claim Account for FREE

L&T Technology Services

3.3
based on 5.1k Reviews
Video summary
Filter interviews by

Kingsmen Middle East Interview Questions and Answers

Updated 24 May 2024
Popular Designations

Q1. Modulation and types What are pointers? What is a function? What is OOPS? Factorial using recursion program.

Ans.

Technical questions related to programming concepts and recursion

  • Pointers are variables that store the memory address of another variable

  • Functions are blocks of code that perform a specific task

  • OOPS is a programming paradigm that uses objects to represent real-world entities

  • Factorial using recursion: int factorial(int n) { if(n==0) return 1; else return n*factorial(n-1); }

Add your answer

Q2. What is dbms.different keys and its uses

Ans.

DBMS keys are used to uniquely identify a record in a table. Primary, foreign, candidate, and super keys are some of the types.

  • Primary key: uniquely identifies a record in a table

  • Foreign key: links two tables together

  • Candidate key: can be used as a primary key

  • Super key: a set of attributes that can uniquely identify a record

  • Composite key: a combination of two or more attributes used as a primary key

Add your answer

Q3. what is null pointer ?

Ans.

A null pointer is a pointer that does not point to any memory location.

  • Null pointers are used to represent that a pointer does not point to a valid object or memory location.

  • Attempting to dereference a null pointer can result in a segmentation fault or program crash.

  • Null pointers are commonly used in programming languages like C and C++.

  • Example: int* ptr = nullptr; // ptr is a null pointer

Add your answer

Q4. Explain with examples overloading and overriding

Ans.

Overloading is having multiple methods with the same name but different parameters. Overriding is implementing a method in a subclass that is already defined in the parent class.

  • Overloading: Same method name with different parameters (e.g. sum(int a, int b) and sum(int a, int b, int c))

  • Overriding: Subclass method overrides superclass method (e.g. Animal class with makeSound() method, Cat subclass with makeSound() method)

  • Overloading is resolved at compile time while overriding...read more

Add your answer
Discover Kingsmen Middle East interview dos and don'ts from real experiences

Q5. What is malloc?

Ans.

malloc is a function in C programming used to dynamically allocate memory during runtime.

  • malloc stands for 'memory allocation'.

  • It is used to allocate a specific amount of memory during program execution.

  • The allocated memory is not automatically initialized and must be manually managed.

  • Example: int *ptr = (int*) malloc(5 * sizeof(int));

Add your answer

Q6. what is free ?

Ans.

Free refers to something that is given or available without cost or payment.

  • Free products or services do not require any payment.

  • Free can also refer to freedom or liberty, such as free speech or free will.

  • Free can also mean available for use without restrictions, like open-source software.

Add your answer

Q7. Logic design in matlab

Ans.

Logic design in MATLAB involves creating logical circuits using MATLAB programming language.

  • Use logical operators such as AND, OR, NOT, XOR to create logical circuits

  • Implement truth tables to verify the logic design

  • Simulate the logic design using MATLAB's Simulink tool

  • Debug the logic design using MATLAB's debugging tools

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

Interview Process at Kingsmen Middle East

based on 21 interviews
4 Interview rounds
Technical Round - 1
Aptitude Test Round
Technical Round - 2
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

4.9
 • 23 Interview Questions
3.1
 • 15 Interview Questions
3.3
 • 10 Interview Questions
3.1
 • 10 Interview Questions
3.3
 • 10 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
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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