PHP Assessment 1

PHP Assessment 1

University

14 Qs

quiz-placeholder

Similar activities

PHP with MySQL quiz

PHP with MySQL quiz

University

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Array

Array

University

12 Qs

PHP Basics

PHP Basics

University

10 Qs

Programming for Problem Solving

Programming for Problem Solving

University

10 Qs

PHP QUIZ

PHP QUIZ

University

14 Qs

ITC303 QUIZ #3

ITC303 QUIZ #3

University

10 Qs

TECHNICAL C PROGRAM

TECHNICAL C PROGRAM

University

10 Qs

PHP Assessment 1

PHP Assessment 1

Assessment

Quiz

Computers

University

Easy

Created by

John Oli

Used 2+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

In PHP, variable names are case-sensitive. (T/F)

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The elseif keyword can be written as else if in PHP. (T/F

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The foreach loop can only be used with arrays. (T/F)

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

In PHP, arrays can store elements of different data types. (T/F)

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The if statement can only be used with integer values. (T/F)

True

False

6.

FILL IN THE BLANK QUESTION

1 min • 3 pts

To declare a variable in PHP, you must use the ________ symbol before the variable name.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The ________ operator is used to concatenate strings in PHP.

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?