PHP BASIC

PHP BASIC

University

10 Qs

quiz-placeholder

Similar activities

Reignite Orientation Review

Reignite Orientation Review

University

10 Qs

ООП PHP #2

ООП PHP #2

University

12 Qs

FREE WEBINAR ELMAZ X CAKAP 2024

FREE WEBINAR ELMAZ X CAKAP 2024

University

10 Qs

CAASPP Training

CAASPP Training

University

13 Qs

Pertemuan 8 - Basic Prototype Actions and Plugins

Pertemuan 8 - Basic Prototype Actions and Plugins

University

10 Qs

KONFIGURASI WEB SERVER CMS

KONFIGURASI WEB SERVER CMS

University

10 Qs

ADMINISTRASI SISTEM JARINGAN (XII TKJ)

ADMINISTRASI SISTEM JARINGAN (XII TKJ)

University

15 Qs

ТехноТест

ТехноТест

University

10 Qs

PHP BASIC

PHP BASIC

Assessment

Quiz

Professional Development, Education, Instructional Technology

University

Medium

Created by

kris kris

Used 126+ times

FREE Resource

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?