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

 

HP Placement Paper - Data Structure Questions And Answers


Advertisements
Advertisements




HP Previous Years Solved Sample Placement Papers

  1. As compared to associative arrays, vector arrays are much

    a) Faster

    b) Slower

    c) Stable

    d) None of them

    Answer: a) Faster
  2. Which function returns an array consisting of associative key/value pairs?

    a) count()

    b) array_count()

    c) array_count_values()

    d) count_values()

    Answer: c) array_count_values()
  3. The updated MySQL extension released with PHP 5 is typically referred to as..

    a) MySQL

    b) mysql

    c) mysqli

    d) mysqly

    Answer: c) mysqli
  4. Which one of the following statements is used to create a table?

    a) CREATE TABLE table_name (column_name column_type);

    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);

    Answer: a) CREATE TABLE table_name (column_name column_type);
  5. 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: d) $mysqli->select_db('databasename');
  6. 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()

    d) fetch_array() and fetch_column()

    Answer: c) fetch_array() and fetch_row()
  7. Which two predefined variables are used to retrieve information from forms?

    a) $GET & $SET

    b) $_GET & $_SET

    c) $__GET & $__SET

    d) GET & SET

    Answer: b) $_GET & $_SET
  8. When you use the $_GET variable to collect data, the data is visible to..

    a) none

    b) only you

    c) everyone

    d) selected few

    Answer: c) everyone
  9. When you use the $_POST variable to collect data, the data is visible to..

    a) none

    b) only you

    c) everyone

    d) selected few

    Answer: b) only you
  10. Which function is used to check whether a variable is an array or not?

    a) on_array()

    b) is_array()

    c) the_array()

    d) None

    Answer: b) is_array()
  11. Which function adds a new element at the end of an array?

    a) push()

    b) pop()

    c) stack()

    d) None

    Answer: a) push()
  12. Which function returns the last element of an array?

    a) push()

    b) pop()

    c) stack()

    d) None

    Answer: b) pop()




 


.

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