Quiz 1 - ITEDEV - Final

Quiz 1 - ITEDEV - Final

Professional Development

25 Qs

quiz-placeholder

Similar activities

FUN 101 Week 10 Test Steering / Suspension

FUN 101 Week 10 Test Steering / Suspension

Professional Development

20 Qs

Minigame Kênh Retail T04

Minigame Kênh Retail T04

Professional Development

20 Qs

KIDS QUIZ - HIỂU NHÀ YÊU NHÀ - KIDSPLAZA SN 17 TUỔI

KIDS QUIZ - HIỂU NHÀ YÊU NHÀ - KIDSPLAZA SN 17 TUỔI

Professional Development

20 Qs

R&I Dump Truck

R&I Dump Truck

Professional Development

20 Qs

PKA_Agenda-3_Rumpun-2

PKA_Agenda-3_Rumpun-2

Professional Development

20 Qs

Categorization - Training for HUB

Categorization - Training for HUB

Professional Development

20 Qs

Desain UI Week 3

Desain UI Week 3

Professional Development

20 Qs

Hospitality Workshop

Hospitality Workshop

Professional Development

20 Qs

Quiz 1 - ITEDEV - Final

Quiz 1 - ITEDEV - Final

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Ryan Gente

Used 25+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct PHP function to connect to a MySQL database?
mysql_connect()
connect_mysql()
mysqli_connect()
db_connect()
pdo_connect()

Answer explanation

mysqli_connect() is the correct modern function for connecting to MySQL in procedural PHP.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which superglobal is used to collect form data after submitting an HTML form with method='post'?
$_GET
$_REQUEST
$_POST
$_SESSION
$_FORM

Answer explanation

$_POST is specifically used for handling form data submitted via POST method.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which PHP function is used to execute a SQL query?
mysqli_fetch()
mysqli_query()
execute_sql()
run_query()
query_db()

Answer explanation

mysqli_query() is used to send a query to the currently active database connection.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which HTML tag is used to create a form in PHP?
<table>
<div>
<input>
<form>
<submit>

Answer explanation

<form> tag is used to collect user input.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which attribute specifies where to send the form data?
method
action
name
target
destination

Answer explanation

The action attribute defines where the form data should be sent.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code output: echo 5 . '5';
55
10
Error
5.5
NULL

Answer explanation

The dot (.) operator concatenates strings, so it returns '55'.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which SQL command is used to retrieve data from a table?
GET
FETCH
RETRIEVE
SELECT
SHOW

Answer explanation

SELECT is the standard SQL command to retrieve data.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?