PHP Coding Quiz

PHP Coding Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

PHP Quiz

PHP Quiz

Quiz4_CSCI4410

Quiz4_CSCI4410

PHP Quiz

PHP Quiz

PHP (Forms and Variables)

PHP (Forms and Variables)

php- basics

php- basics

Basic PHP & SQL

Basic PHP & SQL

JavaScript

JavaScript

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

PHP Coding Quiz

PHP Coding Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What coding language does PHP work with?

C++

HTML

Java

English

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword allows you to print text to your webpage?

<p>

echo

print

#

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string in PHP?

A collection of characters

A material consisting of threads of cotton

A set of things tied or threaded together

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which escape sequence prints the text on the next line?

#

\n

\\

<?php

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol allows you to combine two strings together (string concatenation)?

\

.

&

^

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to declare a variable?

$

#

@

%

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the below appropriately assigns a variable?

$variable = "string";

$variable = "string"

$variable = string;

$variable: "string";

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?