InPro Reviewer IDK ¯\_(ツ)_/¯
  • 1. What does PHP stand for?
A) Private Hosting Protocol
B) Hypertext Preprocessor
C) Programming Hypertext Pages
D) Personal Home Page
  • 2. When was PHP developed?
A) 2000
B) 1999
C) 1994
D) 1991
  • 3. Is one of the most popular server side scripting languages used for web development
A) HTML
B) PHP
C) JavaScript
D) Python
  • 4. A PHP script starts with <?php and ends with ________.
A) </script>
B) ?>
C) >
D) -->
  • 5. Which of the following are PHP development tools? Except.
A) NetBeans
B) Notepad
C) PhpStorm
D) XAMPP
  • 6. It is the command used to display statements in PHP
A) write statement
B) display statement
C) print statement
D) show statement
  • 7. The default file extension for PHP files is ________.
A) .js
B) .php
C) .html
D) .txt
  • 8. What symbol is used to terminate PHP statements?
A) semicolon (;)
B) colon(:)
C) dot(.)
D) comma(,)
  • 9. Which folder is commonly used to store PHP files in XAMPP?
A) public_html
B) php_root
C) htdocs
D) www
  • 10. This is the software used to run the program and see the output of every PHP file ______.
A) xampp
B) MySql
C) Ide
D) notepad
  • 11. How do PHP variables begin?
A) #
B) ;
C) $
D) .
  • 12. What symbol is used to concatenate strings in PHP?
A) &
B) ,
C) .
D) +
  • 13. Which function counts elements in an array?
A) size()
B) count()
C) sum()
D) total()
  • 14. A ___________ is a means of storing value, such as text string or the integer value.
A) constant
B) variable
C) container
D) character
  • 15. What was the original name of PHP?
A) Personal Home Page
B) Personal Hypertext Pages
C) Pre-HTML Processor
D) Private Hosting Project
  • 16. Who created PHP?
A) Rasmus Lerdorf
B) Dennis Ritchie
C) Tim Berners-Lee
D) Brendan Eich
  • 17. Can PHP run on different platforms?
A) No
B) Yes
  • 18. Is PHP case-sensitive in variable names?
A) No
B) Yes
  • 19. Can PHP run on multiple operating systems?
A) No
B) Yes
  • 20. Which are NOT valid rules for naming PHP variables?
A) Must start with a letter or underscore
B) variables are case sensitive
C) Can contain spaces
D) Must start with $
  • 21. Which tools can NOT be used to build PHP applications?
A) PhpStorm
B) XAMPP
C) Visual Studio Code
D) MS Paint
  • 22. Which are NOT a valid variable types in PHP?
A) Object
B) String
C) Char
D) Boolean
  • 23. Which of the following is used to add single line of comments in PHP?
A) <!-- comment -->
B) ## comment
C) // comment
D) /* comment */
  • 24. Which of the following is used to add multiple lines of comments in PHP?
A) <!-- comment -->
B) /* comment */
C) ## comment
D) // comment
  • 25. Indicates a list of data with a consistent structure that can be searched and sorted.
A) Flowchart
B) Database
C) Algorithm
D) Graph
  • 26. Indicates when the program, process, or interrupt program begins and ends.
A) Terminal
B) Off Page Connector
C) Document
D) Process
  • 27. Used to indicate that the flow is continuing on a separate page in the flowchart. As labels, capital letters are usually utilized in the symbol
A) Terminal
B) Process
C) On Page Connector
D) Off Page Connector
  • 28. The term "readable data" refers to information that can be read by humans, such as printed output.
A) Process
B) Off Page Connector
C) Document
D) Terminal
  • 29. Any form of internal operation within the processor or memory is indicated by this symbol.
A) Document
B) input/output
C) Process
D) Terminal
  • 30. A diagram that depicts the actions and decisions required to complete a process. A diagram shape is used to represent each step in the sequence. Connecting lines and directional arrows connect the steps.
A) Database
B) Flowchart
C) Graph
D) Algorithm
  • 31. An operation can be performed with this symbol. This indicates that the computer will get data
A) Terminal
B) input/output
C) On Page Connector
D) Process
  • 32. On a flowchart page, it's used to substitute long lines.
A) Process
B) input/output
C) On Page Connector
D) Terminal
  • 33. AS INDICATED BY THE NAME, THIS FUNCTION WILL RETURN THE VALUE OF THE CONSTANT
A) Object
B) count()
C) Constant
D) variable
  • 34. Variables passed to a page or file on the query string
A) $_COOKIE
B) $_FILES
C) $_POST
D) $_GET
  • 35. Variables passed to a page or file through a form using the POST method Cookie variables
A) $_FILES
B) $_COOKIE
C) $_GET
D) $_POST
  • 36. Cookie variables
A) $_FILES
B) $_GET
C) $_POST
D) $_COOKIE
  • 37. Variables containing information about the uploaded files
A) $_FILES
B) $_COOKIE
C) $_GET
D) $_POST
  • 38. PHP environment variable that returns the name of the host server.
A) $_REQUEST
B) $_ENV
C) $_SESSION
D) $_GET
  • 39. Variable passed into page or file through forms using string and cookie
A) $_SESSION
B) $_REQUEST
C) $_ENV
D) $_GET
  • 40. Server environment variables that returns the URL of the referring page Session variables
A) $_SESSION
B) $_ENV
C) $_REQUEST
D) $_GET
  • 41. This function returns true if the variable exists and is not NULL, otherwise it returns false.
A) constant()
B) isset()
C) count()
D) return()
  • 42. compare two values and returns a Boolean value depending on whether the test condition is true or false
A) Logical Operators
B) Relational Operators
Students who took this test also took :

Created with That Quiz — where a math practice test is always one click away.