PHP Coding Quiz

PHP Coding Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

HTML Quiz 1 Review

HTML Quiz 1 Review

7th - 12th Grade

11 Qs

Kuis tipedata, flowchart informatima kelas X j4njang SMA

Kuis tipedata, flowchart informatima kelas X j4njang SMA

9th - 12th Grade

10 Qs

ICT S112 Prelim Review Activity

ICT S112 Prelim Review Activity

12th Grade

15 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Bahasa Pemrograman Mikroprosessor

Bahasa Pemrograman Mikroprosessor

11th Grade

10 Qs

DA02: Sheet 1

DA02: Sheet 1

9th - 12th Grade

10 Qs

ICT 10 - Quiz - Part 5

ICT 10 - Quiz - Part 5

10th Grade

10 Qs

PHP Coding Quiz

PHP Coding Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 21+ times

FREE Resource

AI

Enhance your content

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";

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?