Add office photos
Employer?
Claim Account for FREE

Shorthills AI

4.3
based on 204 Reviews
Video summary
Filter interviews by

Skipper Interview Questions and Answers

Updated 15 Jul 2024

Q1. What is the difference between struct and objects ?

Ans.

Struct is a value type while object is a reference type in C#.

  • Structs are value types and stored on stack, while objects are reference types and stored on heap.

  • Structs are passed by value, while objects are passed by reference.

  • Structs do not support inheritance, while objects do.

  • Example: struct Point { int x, y; } vs class Point { int x, y; }

Add your answer

Q2. Compilier Programming language and Intepreter Programming language examples

Ans.

Compiler programming languages convert source code into machine code before execution, while interpreter programming languages execute code line by line.

  • Compiler programming languages: C, C++, Java

  • Interpreter programming languages: Python, Ruby, JavaScript

Add your answer

Q3. Difference Between let var and Const ?

Ans.

let, var, and const are all used to declare variables in JavaScript, but they have different scopes and mutability.

  • let: block-scoped, can be reassigned

  • var: function-scoped, can be reassigned

  • const: block-scoped, cannot be reassigned, but its properties can be modified

Add your answer

Q4. What is polymorphism?

Ans.

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

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

  • It enables a single interface to be used for different data types.

  • Examples include method overloading and method overriding in object-oriented programming.

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

Q5. Find the mid element in the link list.

Ans.

To find the mid element in a linked list, use two pointers - one moving at double the speed of the other.

  • Initialize two pointers, slow and fast, both pointing to the head of the linked list.

  • Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the list.

  • The element pointed to by the slow pointer at this point is the mid element of the linked list.

Add your answer

Q6. Tell me about virtual function

Ans.

Virtual functions allow a function to be overridden in a derived class

  • Virtual functions are declared in a base class and can be overridden in derived classes

  • They are used in polymorphism to achieve runtime binding

  • Virtual functions are implemented using virtual keyword in C++

  • Example: virtual void display() = 0; // pure virtual function

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

Interview Process at Skipper

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

Top Software Developer Interview Questions from Similar Companies

3.9
 • 67 Interview Questions
3.3
 • 16 Interview Questions
3.8
 • 16 Interview Questions
3.7
 • 15 Interview Questions
3.4
 • 13 Interview Questions
4.1
 • 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
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