.
  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 Language Questions And Answers


Advertisements
Advertisements




Honeywell Previous Years Solved Sample Placement Papers

  1. A PHP script should start with ___ and end with ___:

    A. <php>

    B. <? php ?>

    C. <? ?>

    D. <?php ?>

    Answer: D
  2. Which of the looping statements is/are supported by PHP?
    i) for loop
    ii) while loop
    iii) do-while loop
    iv) foreach loop

    A. (i) and (ii)

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

    C. All of the mentioned

    D. None of the mentioned

    Answer: C
  3. 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

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

    D. Only (iii)

    Answer: B
  4. Which of the following must be installed on your computer to run PHP script?
    i) Adobe Dreamweaver
    ii) PHP
    iii) Apache
    iv) IIS

    A. All of the mentioned

    B. Only (ii)

    C. (ii) and (iii)

    D. (ii), (iii) and (iv)

    Answer: D
  5. We can use ___ to comment a single line?
    i) /?
    ii) //
    iii) #
    iv) /* */

    A. Only (ii)

    B. (i), (iii) and (iv)

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

    D. Both (ii) and (iv)

    Answer: C
  6. Which of the below symbols is a newline character?

    A. \r

    B. \n

    C. /n

    D. /r

    Answer: B
  7. Which of the following PHP statement/statements will store 111 in variable num?
    i) int $num = 111;
    ii) int mum = 111;
    iii) $num = 111;
    iv) 111 = $num;

    A. Both (i) and (ii)

    B. All of the mentioned

    C. Only (iii)

    D. Only (i)

    Answer: C
  8. What will be the output of the following PHP code?
    <?php
    $num = 1;
    $num1 = 2;
    print $num . "+" . $num1 ;
    ?>

    A. 3

    B. 1+2

    C. 1.+.2

    D. Error

    Answer: B
  9. What will be the output of the following PHP code?
    <?php
    $num = "1";
    $num1 = "2";
    print $num + $num1 ;
    ?>

    A. 3

    B. 1+2

    C. Error

    D. 12

    Answer: A
  10. Which of the following variables can be assigned a value to it?
    i) $3hello
    ii) $_hello
    iii) $this
    iv) $This

    A. All of the mentioned

    B. Only (ii)

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

    D. (ii) and (iv)

    Answer: D




 


.

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