Search Header Logo

SIA1 Midterm Exam

Authored by jay stewart

Information Technology (IT)

12th Grade

Used 4+ times

SIA1 Midterm Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to declare a variable in PHP?

#

$

&

@

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to end a PHP statement?

A new line

A period (.)

A semicolon (;)

A colon (:)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid PHP data type?

Boolean

Float

Char

Array

4.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you start a PHP block in HTML?

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to find the length of a string in PHP?

len()

count()

strlen()

length()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a function in PHP?

function myFunction()

new function myFunction()

create myFunction()

def myFunction()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for string concatenation in PHP?

+

.

&

,

Access all questions and much more by creating a free account

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

Already have an account?