.
  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 » Honeywell Placement Papers » Honeywell Previous Year Placement Paper

 

Honeywell Placement Paper - PHP Questions And Answers


Advertisements
Advertisements




Honeywell Previous Years Solved Sample Placement Papers

  1. Which of the following variable names are invalid?

    A. $var_1

    B. $var1

    C. $var-1

    D. $var/1

    E. Both c,d

  2. What will be the output of the following code?
        $a = 10;
        echo ‘Value of a = $a’;
        

    A. Value of a = 10

    B. Value of a = $a

    C. Undefined

    D. Syntax Error

  3. What will be the output of the following code?
        $Rent = 250;
        function Expenses($Other) {
          $Rent = 250 + $Other;
          return $Rent;
        }
        Expenses(50);
        echo $Rent;
        

    A. 300

    B. 250

    C. 200

    D. Program will not compile

  4. The following PHP variables are declared:
        $company = ‘ABS Ltd’;
        $$company = ‘,Sydney’;
        
    Which of the following is not a correct way of printing ‘ABS Ltd,Sydney’?

    A. echo ‘$company $$company’;

    B. echo ‘$company ${$company}’;

    C. echo ‘$company ${‘ABS Ltd’}’;

    D. echo ‘$company {$$company}’;

  5. Which of the following is not supported in PHP5?

    A. Type Hinting

    B. Reflection

    C. Magic Methods

    D. Multiple Inheritance

  6. Which of the following is correct with regard to echo and print?

    A. echo is a construct and print is a function

    B. echo is a function and print is a construct

    C. Both are functions

    D. Both are constructs

  7. What will be the output of the following code?
        $a = 10;
        echo ‘Value of a = $a’;
        

    A. Value of a = 10

    B. Value of a = $a

    C. Undefined

    D. Syntax Error

  8. Which of the following is a PHP resource?

    A. Domxml document

    B. Odbc link

    C. File

    D. All of the above

  9. In multidimensional arrays rather than a single key, values are stored in:

    A. Sequence of key values

    B. 2 keys

    C. Linear style

    D. None of them

  10. PHP arrays are also called as:

    A. Vector arrays

    B. Perl arrays

    C. Hashes

    D. All of them

  11. In vector arrays, the elements must have:

    A. Same size

    B. Same type

    C. Different size

    D. Different type




 


.

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-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy