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

 

Novartis Placement Paper -: PHP Questions With Answers


Advertisements
Advertisements




Novartis 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. Which function returns an array consisting of associative key/value pairs?

    A. count()

    B. array_count()

    C. array_count_values() Answer: Option C

    D. count_values()

  7. The updated MySQL extension released with PHP 5 is typically referred to as:

    A. MySQL

    B. mysql

    C. mysqli Answer: Option C

    D. mysqly

  8. Which one of the following statements is used to create a table?

    A. CREATE TABLE table_name (column_name column_type); Answer: Option A

    B. CREATE table_name (column_type column_name);

    C. CREATE table_name (column_name column_type);

    D. CREATE TABLE table_name (column_type column_name);

  9. Which one of the following statements can be used to select the database?

    A. $mysqli=select_db(‘databasename’);

    B. mysqli=select_db(‘databasename’);

    C. mysqli->select_db(‘databasename’);

    D. $mysqli->select_db(‘databasename’); Answer: Option D

  10. Which of the methods are used to manage result sets using both associative and indexed arrays?

    A. get_array() and get_row()

    B. get_array() and get_column()

    C. fetch_array() and fetch_row() Answer: Option C

    D. fetch_array() and fetch_column()

  11. Which two predefined variables are used to retrieve information from forms?

    A. $GET & $SET

    B. $_GET & $_SET Answer: Option B

    C. $__GET & $__SET

    D. GET & SET

  12. When you use the $_GET variable to collect data, the data is visible to:

    A. None

    B. Only you

    C. Everyone Answer: Option C

    D. Selected few

  13. 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




 


.

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