Add office photos
Engaged Employer

Cloud Analogy

3.4
based on 136 Reviews
Filter interviews by

Karadi Path Education Company Interview Questions and Answers

Updated 15 Nov 2024
Popular Designations

Q1. How to remove leading whitespaces from a string in the Python

Ans.

Python provides a built-in method to remove leading whitespaces from a string.

  • Use the lstrip() method to remove leading whitespaces from a string.

  • lstrip() method removes all whitespaces from the beginning of the string.

  • Example: string = ' Hello World' string.lstrip() Output: 'Hello World'

Add your answer

Q2. Write code to create pattern { star (*) pattern was given }

Ans.

Code to create a star pattern

  • Use nested loops to print the pattern

  • The outer loop controls the number of rows

  • The inner loop controls the number of stars to print in each row

  • Use a combination of spaces and stars to create the pattern

View 1 answer

Q3. How to overload constructor in Python?

Ans.

Overloading constructor in Python allows creating multiple constructors with different parameters.

  • Define multiple constructors with different parameters

  • Use default values for optional parameters

  • Call the appropriate constructor based on the number and type of arguments passed

View 1 answer

Q4. Write the code to reverse the string

Ans.

Code to reverse a string

  • Use a loop to iterate through the string

  • Create a new string and add each character from the original string in reverse order

  • Return the new string

View 1 answer
Discover Karadi Path Education Company interview dos and don'ts from real experiences

Q5. why we use apex programming language

Ans.

Apex is used for building custom business logic and integrations on the Salesforce platform.

  • Apex is a strongly-typed, object-oriented programming language.

  • It allows developers to create custom code to extend Salesforce functionality.

  • Apex can be used to build triggers, controllers, and classes for custom business logic.

  • It can also be used to integrate Salesforce with external systems.

  • Apex code runs natively on the Salesforce platform, providing secure and scalable performance.

Add your answer

Q6. what is salesforce developer

Ans.

Salesforce developer is a professional who develops and customizes applications on the Salesforce platform.

  • Salesforce developers use Apex and Visualforce to create custom applications and functionality

  • They work closely with stakeholders to understand business requirements and design solutions

  • They also integrate Salesforce with other systems and manage data within the platform

  • Examples of Salesforce developer roles include Application Developer, Integration Developer, and Light...read more

Add your answer

Q7. When we will face Attempt to de-refresh null object

Ans.

Attempt to de-reference null object occurs when trying to access or manipulate a null object in Salesforce development.

  • Always check if an object is null before trying to access its properties or methods

  • Use safe navigation operator '?' to avoid null pointer exceptions

  • Example: Account acc = null; System.debug(acc.Name); // This will throw Attempt to de-reference null object error

  • Example: Account acc = null; System.debug(acc?.Name); // This will not throw an error

Add your answer

Q8. Write a code to reverse the string of your name.

Ans.

Code to reverse a string of your name

  • Create a function that takes a string as input

  • Use built-in functions like reverse() or loop through the string to reverse it

  • Return the reversed string

Add your answer

Q9. Write a code to print pyramid pattern

Ans.

Code to print pyramid pattern in Python

  • Use nested loops to print spaces and stars in each row

  • Increment the number of stars in each row to form the pyramid shape

  • Example: for a pyramid with 5 rows, the code would look like this:

  • for i in range(5):

  • print(' '*(5-i-1) + '*'*(2*i+1))

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Salesforce Developer Interview Questions from Similar Companies

3.7
 • 30 Interview Questions
3.7
 • 28 Interview Questions
3.8
 • 19 Interview Questions
3.9
 • 17 Interview Questions
3.8
 • 15 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
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