Add office photos
Employer?
Claim Account for FREE

Vedsar India

4.6
based on 3 Reviews
Filter interviews by

SAP Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is the difference between mysqli_fetch_assoc() and mysqli_fetch_array() ?

Ans.

mysqli_fetch_assoc() returns an associative array while mysqli_fetch_array() returns both numeric and associative arrays.

  • mysqli_fetch_assoc() fetches a row from a result set as an associative array.

  • mysqli_fetch_array() fetches a row from a result set as both an associative and numeric array.

  • mysqli_fetch_assoc() is faster than mysqli_fetch_array() when fetching only associative arrays.

  • mysqli_fetch_array() has an optional parameter to specify the type of array to return.

Add your answer

Q2. How can we call parent class constructor in derived class?

Ans.

To call parent class constructor in derived class, use parent::__construct() method.

  • Use parent::__construct() method in derived class constructor.

  • Pass the required parameters to parent::__construct() method.

  • This will call the parent class constructor and initialize the parent class properties.

Add your answer

Q3. Function by which, we can convert string to array ?

Ans.

The function to convert string to array is explode().

  • The function takes two parameters: delimiter and string.

  • The delimiter specifies where to break the string into array elements.

  • The function returns an array of strings.

  • Example: $str = 'apple,banana,orange'; $arr = explode(',', $str);

  • This will result in an array with three elements: 'apple', 'banana', and 'orange'.

Add your answer

Q4. What is different between front end and back end?

Ans.

Front end is the user-facing part of a website, while back end is the behind-the-scenes part that handles data and functionality.

  • Front end is responsible for the design, layout, and user experience of a website.

  • Back end handles the server-side programming, database management, and server configuration.

  • Front end technologies include HTML, CSS, and JavaScript, while back end technologies include PHP, Python, and Ruby on Rails.

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

Q5. What is types of inheritance in php?

Ans.

There are three types of inheritance in PHP: single, multiple, and multilevel.

  • Single inheritance involves a child class inheriting from a single parent class.

  • Multiple inheritance involves a child class inheriting from multiple parent classes.

  • Multilevel inheritance involves a child class inheriting from a parent class, which in turn inherits from another parent class.

  • PHP only supports single inheritance natively, but multiple inheritance can be achieved using interfaces.

  • Exampl...read more

Add your answer

Q6. What is the use of seudo class in css

Ans.

Pseudo classes are used to define a special state of an element.

  • Pseudo classes are preceded by a colon (:)

  • They are used to style elements based on their state or position

  • Examples include :hover, :active, :first-child, :nth-child

Add your answer

Q7. Something tell about 'meta' tag in html.

Ans.

The 'meta' tag in HTML provides metadata about the HTML document.

  • The 'meta' tag is placed in the head section of an HTML document.

  • It provides information about the character set, keywords, description, and author of the document.

  • The 'name' attribute is used to specify the type of metadata, while the 'content' attribute provides the value.

  • Example:

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 Interview Questions from Similar Companies

3.4
 • 775 Interview Questions
3.8
 • 210 Interview Questions
4.1
 • 204 Interview Questions
4.2
 • 143 Interview Questions
4.2
 • 143 Interview Questions
3.8
 • 134 Interview Questions
View all
Top Vedsar India Interview Questions And Answers
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