PHP Learning Notes & Technology Articles

Basic PHP Constructs for OOP Quiz Questions 1 Tests pdf Download

Practice basic php constructs for oop quizzes, php quiz 1 to learn. Free php MCQs questions and answers to learn basic php constructs for oop MCQs with answers. Practice MCQs to test knowledge on basic php constructs for oop, what are php arrays, type round up, file reading and writing functions, error handling in php worksheets.

Free basic php constructs for oop worksheet has multiple choice quiz questions as namespaces are offered in, answer key with choices as php2, php4, php5 and php6 to test study skills. For eLearning, study online advance php multiple choice questions based quiz questions and answers.

Quiz on Basic PHP Constructs for OOP Worksheet 1

Basic PHP Constructs for OOP Quiz

MCQ. Namespaces are offered in

  1. PHP2
  2. PHP4
  3. PHP5
  4. PHP6

D

What are PHP Arrays Quiz

MCQ. In multidimensional arrays rather than a single key they values are stored in

  1. Sequence of key values
  2. 2 keys
  3. linear style
  4. None of them

A

Type Round up Quiz

MCQ. How resources are created in PHP?

  1. They are created by themselves
  2. They call special functions that return values of resource type
  3. They are defined in a script
  4. None of them

B

File Reading and Writing Functions Quiz

MCQ. File_get_contents function returns entire contents of a file as

  1. Integer
  2. String
  3. Character
  4. None of them

B

Error Handling in PHP Quiz

MCQ. An error that causes by failed code, is called as

  1. Notice error
  2. Fatal error
  3. Warning error
  4. None of them

C