Php Interview QUESTIONS AND ANSWERS :: part4 : 6 to 10
Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :
6.Which of the following are correct ways of creating an array? i) state[0] = “karnataka”; ii) $state[] = array(“karnataka”); iii) $state[0] = “karnataka”; iv) $state = array(“karnataka”); |
iii) and iv) |
ii) and iii) |
Only i) |
ii), iii) and iv) |
7.What will be the output of the following PHP code? |
welcome to India |
welcome to india |
Welcome to India |
Welcome to india |
8.PHP’s numerically indexed array begin with position __. |
1 |
2 |
0 |
-1 |
9.Which function returns an array consisting of associative key/value pairs? |
count() |
array_count() |
array_count_values() |
count_values() |
10.What will be the output of the following PHP code? |
I love my country |
i love my Country |
I love my Country |
I Love My Country |
More Php Interview QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET