.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Ubinetics Placement Papers » Ubinetics Previous Year Placement Paper

 

Ubinetics Placement Paper -: PHP Questions And Answers


Advertisements
Advertisements




Ubinetics Previous Years Solved Sample Placement Papers

  1. Which of the following is a PHP resource?

    A. Domxml document

    B. Odbc link

    C. File

    D. All of the above Answer: Option D

  2. In multidimensional arrays rather than a single key the values are stored in:

    A. Sequence of key values Answer: Option A

    B. 2 keys

    C. Linear style

    D. None of them

  3. PHP arrays are also called as:

    A. Vector arrays

    B. Perl arrays

    C. Hashes Answer: Option C

    D. All of them

  4. In vector arrays the elements must have:

    A. Same size

    B. Same type Answer: Option B

    C. Different size

    D. Different type

  5. As compared to associative arrays, vector arrays are much:

    A. Faster Answer: Option A

    B. Slower

    C. Stable

    D. None of them

  6. When you use the $_POST variable to collect data, the data is visible to:

    A. None

    B. Only you Answer: Option B

    C. Everyone

    D. Selected few

  7. Which of the following is/are a PHP code editor?

    i) Notepad

    ii) Notepad++

    iii) Adobe Dreamweaver

    iv) PDT

    A. Only (iv)

    B. All of the mentioned. Ans: B

    C. (i), (ii) and (iii)

    D. Only (iii)

  8. PHP’s numerically indexed array begin with position __.

    A. 1

    B. 2

    C. 0 Ans: C

    D. -1

  9. Which of the functions is used to sort an array in descending order?

    A. sort()

    B. asort()

    C. rsort() Ans: C

    D. dsort()

  10. Which of the following is the correct use of the strcmp() function in PHP?

    A. The strcmp() function is used to compare the strings excluding case

    B. The strcmp() function is used to compare the uppercase strings

    C. The strcmp() function is used to compare the lowercase strings

    D. The strcmp() function is used to compare the strings including case Answer: Option D

  11. What will be the output of the following PHP program?

    
    
        

    A. 6 Answer: Option A

    B. 5

    C. 4

    D. 3

  12. Explanation: The function count() will return the number of elements in an array. The parameter 1 counts the array recursively, i.e., it will count all the elements of multidimensional arrays.

  13. What will be the output of the following PHP program?

    
    
        

    A. Correct Answer

    B. Is The

    C. I Wonder

    D. Which One Answer: Option D

  14. Explanation: The stripos() function finds the position of the first occurrence of a string inside another string. In this case, it returns 7.

  15. Which of the following PHP functions can be used for generating unique ids?

    A. md5()

    B. uniqueid() Answer: Option B

    C. mdid()

    D. id()

  16. Explanation: The function uniqueid() is used to generate a unique ID based on the microtime (current time in microseconds). The ID generated from the function uniqueid() is not optimal, as it is based on the system time. To generate an ID which is extremely difficult to predict, we can use the md5() function.




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy