InPro Reviewer IDK ¯\_(ツ)_/¯
  • 1. What does PHP stand for?
A) Programming Hypertext Pages
B) Personal Home Page
C) Private Hosting Protocol
D) Hypertext Preprocessor
  • 2. When was PHP developed?
A) 2000
B) 1991
C) 1994
D) 1999
  • 3. Is one of the most popular server side scripting languages used for web development
A) HTML
B) JavaScript
C) PHP
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) Notepad
B) XAMPP
C) PhpStorm
D) NetBeans
  • 6. It is the command used to display statements in PHP
A) display statement
B) write statement
C) print statement
D) show statement
  • 7. The default file extension for PHP files is ________.
A) .html
B) .php
C) .txt
D) .js
  • 8. What symbol is used to terminate PHP statements?
A) colon(:)
B) dot(.)
C) comma(,)
D) semicolon (;)
  • 9. Which folder is commonly used to store PHP files in XAMPP?
A) www
B) php_root
C) public_html
D) htdocs
  • 10. This is the software used to run the program and see the output of every PHP file ______.
A) xampp
B) Ide
C) notepad
D) MySql
  • 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) total()
B) count()
C) sum()
D) size()
  • 14. A ___________ is a means of storing value, such as text string or the integer value.
A) character
B) container
C) constant
D) variable
  • 15. What was the original name of PHP?
A) Personal Home Page
B) Pre-HTML Processor
C) Private Hosting Project
D) Personal Hypertext Pages
  • 16. Who created PHP?
A) Tim Berners-Lee
B) Brendan Eich
C) Dennis Ritchie
D) Rasmus Lerdorf
  • 17. Can PHP run on different platforms?
A) Yes
B) No
  • 18. Is PHP case-sensitive in variable names?
A) Yes
B) No
  • 19. Can PHP run on multiple operating systems?
A) Yes
B) No
  • 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) XAMPP
B) PhpStorm
C) Visual Studio Code
D) MS Paint
  • 22. Which are NOT a valid variable types in PHP?
A) Char
B) String
C) Boolean
D) Object
  • 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) Graph
B) Algorithm
C) Flowchart
D) Database
  • 26. Indicates when the program, process, or interrupt program begins and ends.
A) Document
B) Terminal
C) Process
D) Off Page Connector
  • 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) On Page Connector
B) Process
C) Terminal
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) Terminal
C) Document
D) Off Page Connector
  • 29. Any form of internal operation within the processor or memory is indicated by this symbol.
A) Terminal
B) Document
C) input/output
D) Process
  • 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) On Page Connector
C) input/output
D) Process
  • 32. On a flowchart page, it's used to substitute long lines.
A) Terminal
B) On Page Connector
C) Process
D) input/output
  • 33. AS INDICATED BY THE NAME, THIS FUNCTION WILL RETURN THE VALUE OF THE CONSTANT
A) Constant
B) count()
C) variable
D) Object
  • 34. Variables passed to a page or file on the query string
A) $_GET
B) $_POST
C) $_FILES
D) $_COOKIE
  • 35. Variables passed to a page or file through a form using the POST method Cookie variables
A) $_FILES
B) $_GET
C) $_POST
D) $_COOKIE
  • 36. Cookie variables
A) $_FILES
B) $_COOKIE
C) $_POST
D) $_GET
  • 37. Variables containing information about the uploaded files
A) $_GET
B) $_POST
C) $_FILES
D) $_COOKIE
  • 38. PHP environment variable that returns the name of the host server.
A) $_ENV
B) $_REQUEST
C) $_SESSION
D) $_GET
  • 39. Variable passed into page or file through forms using string and cookie
A) $_ENV
B) $_GET
C) $_REQUEST
D) $_SESSION
  • 40. Server environment variables that returns the URL of the referring page Session variables
A) $_GET
B) $_ENV
C) $_SESSION
D) $_REQUEST
  • 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.