PHP Syntax and Variables Multiple Choice Questions 1 PDF Download

Practice php syntax and variables multiple choice questions (MCQs), php test 1 for online course prep exams. Learn php and case sensitive MCQs questions and answers on php and case sensitive, constants, php variables, statements termination, output in php with answers.

Free php syntax and variables quiz online, study guide has multiple choice question on php is sometimes with options used as programming language, case sensitive, used for front end designing and all of them to test online e-learning skills for viva exam prep and job's interview questions with answers key. Study to learn php and case sensitive quiz questions with online learning MCQs for competitive exam preparation test.

MCQ on PHP Syntax and Variables Quiz PDF Download Test 1

MCQ. PHP is sometimes

  1. Case sensitive
  2. Used as programming language
  3. Used for front end designing
  4. All of them

A

MCQ. Constants in PHP are not denoted by $ sign but they are differentiated by

  1. Lowercase letters
  2. Uppercase letters
  3. Asterisk sign <strong> * </strong>
  4. Hash sign <strong> # </strong>

B

MCQ. All variables in PHP are denoted by

  1. Dollar sign <strong> $ </strong>
  2. Hash sign <strong> # </strong>
  3. Asterisk sign <strong> * </strong>
  4. Percent sign <strong> % </strong>

A

MCQ. Every statement and expression in PHP is terminated by

  1. Semicolon <strong> ; </strong>
  2. Slash <strong> / </strong>
  3. Asterisk <strong> * </strong>
  4. None of them

A

MCQ. The word echo used interchangeably as

  1. Print
  2. Scan
  3. Constant
  4. Variable

A