PHP BASIC

PHP BASIC

University

10 Qs

quiz-placeholder

Similar activities

Netschool 13 CMS

Netschool 13 CMS

University

10 Qs

Turnitin Student Workshop Quiz

Turnitin Student Workshop Quiz

University - Professional Development

10 Qs

XBOX Modding

XBOX Modding

KG - Professional Development

11 Qs

Багшийн сургалт

Багшийн сургалт

University

10 Qs

Aplikasi Basis Data Mobile

Aplikasi Basis Data Mobile

University

10 Qs

Desarrollo Web II Unidad 1 Laravel - Martes

Desarrollo Web II Unidad 1 Laravel - Martes

University

10 Qs

#2 Интернет–маркетинг (1-5)

#2 Интернет–маркетинг (1-5)

University

10 Qs

CONQUISTANDO MINHAS FIGURINHAS

CONQUISTANDO MINHAS FIGURINHAS

9th Grade - University

15 Qs

PHP BASIC

PHP BASIC

Assessment

Quiz

Professional Development, Education, Instructional Technology

University

Practice Problem

Medium

Created by

kris kris

Used 126+ 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

1 min • 1 pt

Insert the missing part of the code below to output "Hello World".

echo and print

System.out.println

println

cout

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write the correct opening tag and close tag for PHP scripts.

{}

<?php ?>

<>

<? ?>

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Statements in PHP have to end with a special character, which one?

.

,

:

;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Create a variable in php assign with the

String

const

let

$

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Get the length of the string "Hello World!".

Leng

substring

strlen

len

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Use the correct function to output the number of items in an array.


$fruits = array("Apple", "Banana", "Orange");

echo $fruits[0]

echo $fruits["Apple"]

echo count($fruits)

echo $fruits[0][1]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write a correct syntax to include a file named "footer.php".

include ("footer.php");

import("footer.php");

required("footer.php");

export("footer.php");

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

Already have an account?