Quiz 2 - ITEDEV - Final

Quiz 2 - ITEDEV - Final

Professional Development

30 Qs

quiz-placeholder

Similar activities

core java 2

core java 2

Professional Development

25 Qs

Verbal

Verbal

Professional Development

35 Qs

Linux Basic Question

Linux Basic Question

Professional Development

30 Qs

Pengantar Sistem Digital

Pengantar Sistem Digital

University - Professional Development

35 Qs

RO OD Review Day 1 to 4

RO OD Review Day 1 to 4

1st Grade - Professional Development

26 Qs

JavaScript (Basic to DOM)

JavaScript (Basic to DOM)

Professional Development

30 Qs

HTML BASICO

HTML BASICO

University - Professional Development

34 Qs

TSAC Webinar on Tax Mapping Requirements and Other Tax Updates

TSAC Webinar on Tax Mapping Requirements and Other Tax Updates

Professional Development

25 Qs

Quiz 2 - ITEDEV - Final

Quiz 2 - ITEDEV - Final

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Ryan Gente

Used 15+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does isset() do in PHP?
Declares a variable
Checks if a variable is set
Compares values
Defines a constant

Answer explanation

Checks if a variable is set and not null.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which element is used to create a button in HTML?
<btn>
<button>
<submit>
<input type='text'>

Answer explanation

The correct element is <button>.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What PHP function is used to remove whitespace?
remove_spaces()
strip()
escape()
trim()

Answer explanation

trim() removes whitespace from both ends of a string.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which superglobal is used to retrieve form data?
$_GET
$_POST
$_FORM
$_DATA

Answer explanation

$_POST is used for form submission.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does PHP typically check if a button was clicked?
$_CLICK
isset($_POST['button_name'])
onClick()
button_clicked()

Answer explanation

Using isset($_POST['button_name']) is standard practice.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of .htaccess?
Style HTML
Handle sessions
Control web server settings
Redirect to login

Answer explanation

.htaccess is used for server-level configurations.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which PHP tag starts a block of code?
<php>
<?php ?>
<script>
<code>

Answer explanation

<?php ?> is the correct PHP opening tag.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development