Applexus Technologies
Synechron Interview Questions and Answers
Q1. How to select name with start letter 'A' in given table
Use SQL query with WHERE clause to select names starting with 'A'
Use SQL query: SELECT * FROM table_name WHERE name LIKE 'A%'
Make sure to replace 'table_name' with the actual table name and 'name' with the actual column name
The '%' symbol is a wildcard that matches any sequence of characters
Q2. How to validate string in code
To validate a string in code, use regular expressions to check for specific patterns or criteria.
Use regular expressions to define the pattern you want to validate
Use functions like test() or match() to check if the string matches the pattern
Handle validation errors or exceptions if the string does not meet the criteria
Q3. How to find the largest and smallest elements in an array.?
To find the largest and smallest elements in an array, use built-in functions or loop through the array.
Use Math.max() and Math.min() functions for numbers
For strings, use localeCompare() function
Loop through the array and compare each element to find the largest and smallest
Q4. Explain Inheritance and Encapsulation
Inheritance is the mechanism by which a new class can inherit properties and behavior from an existing class. Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Inheritance allows a class to inherit attributes and methods from another class, promoting code reusability.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
Inheritance promotes the concept of 'is-a' relationship, while encaps...read more
Q5. Explaing SQL select function
SQL select function is used to retrieve data from a database table.
SQL select function is used to specify which columns to retrieve from a table.
It can also be used to filter rows based on certain conditions using the WHERE clause.
The SELECT statement can include functions, expressions, and even join multiple tables.
Example: SELECT column1, column2 FROM table_name WHERE condition;
Q6. What you know about SAP?
SAP is a multinational software corporation that provides enterprise software to manage business operations and customer relations.
SAP stands for Systems, Applications, and Products in Data Processing
It offers a wide range of software solutions for various industries such as finance, logistics, and human resources
SAP's flagship product is SAP ERP (Enterprise Resource Planning) which integrates all business processes into a single system
Other popular SAP products include SAP H...read more
Q7. Difference between single way and two way bindings.
Single way binding updates the view when the model changes, while two way binding updates both the view and the model.
Single way binding updates the view when the model changes, but not vice versa.
Two way binding updates both the view and the model when either changes.
Single way binding is commonly used in frameworks like AngularJS, while two way binding is used in frameworks like Vue.js.
More about working at Applexus Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month