PHP Basics Quiz
10 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the file extension for PHP script files?

  • .css
  • .js
  • .html
  • .php (correct)
  • Which operating systems does PHP support?

  • All major UNIX, Linux, Mac, and Windows operating systems (correct)
  • Only UNIX and Linux operating systems
  • Only Mac operating systems
  • Only Windows operating systems
  • How do PHP statements terminate?

  • With a semicolon (;) (correct)
  • With an exclamation mark (!)
  • With a colon (:)
  • With a comma (,)
  • What is the full form of PHP?

    <p>PHP: Hypertext Preprocessor</p> Signup and view all the answers

    Where can PHP code be placed in XHTML markup?

    <p>Anywhere as long as it is enclosed in scripting delimiters</p> Signup and view all the answers

    Which data types are considered 'primitive' in JavaScript?

    <p>number, string, boolean</p> Signup and view all the answers

    How are numbers stored in JavaScript?

    <p>as floating-point values</p> Signup and view all the answers

    Which characters can variable names begin with in JavaScript?

    <p>letter or underscore</p> Signup and view all the answers

    What should every JavaScript statement end with?

    <p>a semicolon</p> Signup and view all the answers

    What is the correct way to declare variables in JavaScript?

    <p>using the var statement</p> Signup and view all the answers

    More Like This

    Introductory PHP Scripting Quiz
    5 questions

    Introductory PHP Scripting Quiz

    ReachableEnlightenment avatar
    ReachableEnlightenment
    Server-Side Scripting with PHP Overview
    40 questions
    Introduction to PHP Programming
    10 questions
    Use Quizgecko on...
    Browser
    Browser