Question Bank

3705 approved questions from the community

CSMA/CD is still commonly used in modern Ethernet networks.

MEDIUM
TRUE FALSE
25s
Network
by Mohamed

What is TTL (Time to Live) used to prevent? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
40s
Network
by Mohamed

The MAC address ff:ff:ff:ff:ff:ff is used for broadcasting to all devices on the local network.

EASY
TRUE FALSE
25s
Network
by Mohamed

Which factors can affect network performance? (Select all that apply)

HARD
MULTIPLE CHOICE
50s
Network
by Mohamed

Using $_REQUEST is recommended over $_GET or $_POST for better code maintainability and debugging.

HARD
TRUE FALSE
30s
PHP
by Mohamed

What is the primary engine that powers PHP execution?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What type of database query should be used to prevent SQL injection attacks?

HARD
SINGLE CHOICE
35s
PHP
by Mohamed

The HttpOnly parameter when set to true makes a cookie accessible through both HTTP protocols and JavaScript.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

Superglobal arrays like $_POST and $_GET have a global scope and are accessible from any part of the code.

EASY
TRUE FALSE
20s
PHP
by Mohamed

CSPRNG functions in PHP 7/8 provide weaker random number generation compared to PHP 5.

HARD
TRUE FALSE
30s
PHP
by Mohamed

PHP 8 introduced union types that allow specifying multiple possible return types separated by vertical bars.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

Setting a location header with header() in PHP will automatically halt script execution.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

PHP is a purely object-oriented programming language.

MEDIUM
TRUE FALSE
20s
PHP
by Mohamed

Which superglobal variable is used to store and retrieve session data in PHP?

MEDIUM
SINGLE CHOICE
25s
PHP
by Mohamed

What function must be called at the beginning of a PHP script to initialize a session?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

How do you define a constant in PHP?

EASY
SINGLE CHOICE
25s
PHP
by Mohamed

Using only strip_tags() is sufficient for preventing XSS attacks when displaying user-generated content.

HARD
TRUE FALSE
30s
PHP
by Mohamed

$_POST is suitable for handling sensitive or large data because it's not visible in the URL.

EASY
TRUE FALSE
25s
PHP
by Mohamed

Cookies are stored on the server side.

MEDIUM
TRUE FALSE
20s
PHP
by Mohamed

Sessions in PHP allow data to persist across different pages during a user's visit.

EASY
TRUE FALSE
20s
PHP
by Mohamed
PreviousPage 54 of 186Next