IS4 PM_2025 – Telegram
IS4 PM_2025
736 subscribers
724 photos
47 videos
1.15K files
308 links
Download Telegram
PHP supports five class property scopes: public, private, protected, final and static
Anonymous Quiz
93%
True
7%
False
To create a new object in PHP we can use the new statement to instantiate a class.
Anonymous Quiz
57%
False
43%
True
Class constants are created like: const NAME = ‘VALUE’;
Anonymous Quiz
37%
False
63%
True
🔥1💔1
“->” is a dynamic class method invocation in PHP
Anonymous Quiz
86%
True
14%
False
PHP supports six method scopes: public, private, final, static, protected and abstract. But it does not support friendly
Anonymous Quiz
29%
False
71%
True
When we declare a method is as final then it is not possible to override that method. Methods should not be overridden due to some security or any other reasons
Anonymous Quiz
92%
True
8%
False
Returns the version of the Common Gateway Interface (CGI) the server is using
Anonymous Quiz
83%
$_SERVER['GATEWAY_INTERFACE']
17%
$_SERVER['SERVER_NAME']
Examples: IIS web server, cloud services, …..
Anonymous Quiz
89%
Server
11%
Client
👍1
Remove a session variable
Anonymous Quiz
76%
unset($_SESSION[‘name’])
24%
session_destroy()
Composer is dependency management tool for PHP, like a library full of books
Per project tool (vendor folder), not per system
Anonymous Quiz
90%
T
10%
F
f PHP_SELF is used in your page then a user can enter a slash (/) and then some Cross Site Scripting (XSS) commands to execute.
Anonymous Quiz
92%
T
8%
F
Composer is dependency management tool for PHP, like a library full of books
Per project tool (vendor folder), not per system
Anonymous Quiz
100%
T
0%
F
يمنع لمهجمين من الاستفادة من sql injection
Anonymous Quiz
70%
htmlspecialchars()
30%
$_SERVER["PHP_SELF"] variable?
Data layer Manages the data of the system
Anonymous Quiz
95%
True
5%
False
Application layer is the application functionality and the system logic
Anonymous Quiz
36%
False
64%
True
Presentation layer is the visualizing information and UI of the application
Anonymous Quiz
93%
True
7%
Flase