Add office photos
SMC Global Securities logo
Engaged Employer

SMC Global Securities

Verified
3.6
based on 503 Reviews
Filter interviews by
Software Developer
Experienced
Clear (1)

10+ SMC Global Securities Software Developer Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is constructor and why we use constructor?

Ans.

Constructor is a special method used to initialize objects in a class.

  • Constructors have the same name as the class and no return type.

  • They are called automatically when an object is created.

  • They can be used to set default values for object properties.

  • Multiple constructors can be defined with different parameters.

  • Example: public class Person { public Person() { // constructor code } }

Add your answer
right arrow

Q2. Difference between where clause and having clause.

Ans.

WHERE clause filters rows before grouping, HAVING clause filters groups after grouping.

  • WHERE clause is used with SELECT, UPDATE, DELETE statements.

  • HAVING clause is used with GROUP BY clause.

  • WHERE clause filters rows based on a condition.

  • HAVING clause filters groups based on a condition.

  • WHERE clause is executed before GROUP BY clause.

  • HAVING clause is executed after GROUP BY clause.

Add your answer
right arrow

Q3. What is function and it's type in SQL?

Ans.

A function in SQL is a pre-written code that performs a specific task and returns a value.

  • SQL functions can be categorized into scalar, aggregate, and table-valued functions.

  • Scalar functions return a single value based on the input parameters.

  • Aggregate functions return a single value based on a group of rows.

  • Table-valued functions return a table as output.

  • Examples of SQL functions include COUNT, SUM, AVG, MAX, MIN, and CONCAT.

Add your answer
right arrow

Q4. What is action filter and it's type?

Ans.

Action filter is a feature in ASP.NET MVC that allows you to execute code before or after an action method is executed.

  • Action filters are attributes that can be applied to an action method or controller.

  • There are four types of action filters: Authorization filters, Action filters, Result filters, and Exception filters.

  • Authorization filters are used to authenticate users and restrict access to actions.

  • Action filters are used to perform some action before or after an action met...read more

Add your answer
right arrow
Discover SMC Global Securities interview dos and don'ts from real experiences

Q5. What is transaction and it's type?

Ans.

A transaction is a unit of work that is performed against a database.

  • A transaction is a sequence of one or more SQL operations that are treated as a single logical unit of work.

  • It ensures that either all the operations are completed successfully or none of them are.

  • The four properties of a transaction are Atomicity, Consistency, Isolation, and Durability (ACID).

  • Types of transactions include Implicit and Explicit transactions, Distributed transactions, and Autonomous transacti...read more

Add your answer
right arrow

Q6. What is Interface why we use it?

Ans.

An interface is a contract that defines the methods and properties that a class must implement.

  • Interfaces provide a way to achieve abstraction in programming.

  • They allow for loose coupling between components.

  • Interfaces can be used to define a common set of methods that multiple classes can implement.

  • Interfaces can be used to achieve polymorphism.

  • Examples of interfaces in Java include Serializable, Comparable, and Runnable.

Add your answer
right arrow

Q7. Difference between static class and sealed class?

Ans.

Static class cannot be instantiated and sealed class cannot be inherited.

  • Static class members are accessed using the class name itself.

  • Sealed class can be used to prevent further inheritance of a class.

  • Example of static class: Math class in C#.

  • Example of sealed class: String class in C#.

Add your answer
right arrow

Q8. What is serialisation?

Ans.

Serialisation is the process of converting an object into a stream of bytes to store or transmit it over a network.

  • Serialisation is used to save the state of an object and recreate it later.

  • It is commonly used in network communication to transmit data between different systems.

  • Serialisation can be done in different formats such as XML, JSON, or binary.

  • Deserialisation is the opposite process of converting a stream of bytes back into an object.

Add your answer
right arrow

Q9. Difference between link button and hyperlink

Ans.

Link button is a button that looks like a hyperlink but behaves like a button, while a hyperlink is a clickable text or image that redirects to another page.

  • Link button is styled like a button and typically used for actions like submitting a form or triggering a function.

  • Hyperlink is styled like regular text or an image and is used to navigate to another webpage or location.

  • Example: <button>Link Button</button> vs <a href='https://www.example.com'>Hyperlink</a>

Add your answer
right arrow

Q10. What is Cursor?

Ans.

A cursor is a database object that allows traversal over the rows of a result set.

  • A cursor is used to retrieve and manipulate data row by row.

  • It is commonly used in database management systems.

  • There are two types of cursors: implicit and explicit.

  • An example of using a cursor is iterating through a result set to perform calculations or updates.

  • Cursors can be used to improve performance by reducing the amount of data transferred between the database and the application.

Add your answer
right arrow

More about working at SMC Global Securities

Back
HQ - SMC Global Securities Ltd., United States (USA)
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

Snapdeal Logo
3.8
 • 35 Interview Questions
Facebook Logo
4.3
 • 25 Interview Questions
Ericsson Logo
4.1
 • 16 Interview Questions
Mphasis Logo
3.4
 • 13 Interview Questions
View all
Recently Viewed
DESIGNATION
INTERVIEWS
DSRC
10 top interview questions
INTERVIEWS
UST
10 top interview questions
INTERVIEWS
HSBC Group
10 top interview questions
INTERVIEWS
Mahindra & Mahindra
No Interviews
INTERVIEWS
Birlasoft
No Interviews
INTERVIEWS
Cognizant
10 top interview questions
INTERVIEWS
Hexaware Technologies
No Interviews
INTERVIEWS
Hexaware Technologies
No Interviews
INTERVIEWS
Baker Tilly Virchow Krause
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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