41.How can you sort an array? sort() − Sorts an array.
Technical Interview Questions
- Interview Questions and AnswersPHPTechnical Interview Questions and Answers
- Interview Questions and AnswersPHPTechnical Interview Questions and Answers
PHP Interview Questions and Answers For Freshers part-4
by Sby S31.How will you get environment variables in PHP? PHP provides a function getenv() to access the value of all the environment variables.
- Interview Questions and AnswersPHPTechnical Interview Questions and Answers
PHP Interview Questions and Answers For Freshers part-3
by Sby S21.What is the purpose of _METHOD_ constant? _METHOD_ − The class method name. (Added in PHP 5.0.0) The method name is returned as it was declared (case-sensitive).
- Interview Questions and AnswersPHPTechnical Interview Questions and Answers
PHP Interview Questions and Answers For Freshers part-2
by Sby S11.What are the rules for determine the “truth” of any value not already of the Boolean type? Here are the rules for determine the “truth” of any value not already …
- Interview Questions and AnswersPHPTechnical Interview Questions and Answers
PHP Interview Questions and Answers For Freshers part-1
by Sby S1.What is PHP? PHP is a recursive acronym for “PHP: Hypertext Preprocessor”. PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic …
- Interview Questions and AnswersPythonTechnical Interview Questions and Answers
Python Interview Questions and Answers For Graduates Part-5
by Sby S41.How will you convert a string to a set in python? set(s) − Converts s to a set.
- Interview Questions and AnswersPythonTechnical Interview Questions and Answers
Python Interview Questions and Answers For Graduates Part-4
by Sby S31.How will you get all the keys from the dictionary? Using dictionary.keys() function, we can get all the keys from the dictionary object. print dict.keys() # Prints all the keys
- Interview Questions and AnswersPythonTechnical Interview Questions and Answers
Python Interview Questions and Answers For Graduates Part-3
by Sby S21.What are tuples in Python? A tuple is another sequence data type that is similar to the list. A tuple consists of a number of values separated by commas. Unlike …
- Interview Questions and AnswersPythonTechnical Interview Questions and Answers
Python Interview Questions and Answers For Graduates Part-2
by Sby S11.What is the output of print str[2:5] if str = ‘Hello World!’? It will print characters starting from 3rd to 5th. Output would be llo.
- Interview Questions and AnswersPythonTechnical Interview Questions and Answers
Python Interview Questions and Answers For Graduates Part-1
by Sby S1.What is Python? Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use …