PHP Program '20 Semester Exam Morrell

PHP Program '20 Semester Exam Morrell

9th Grade

35 Qs

quiz-placeholder

Similar activities

ATP2H Test 3.01-3.02

ATP2H Test 3.01-3.02

9th - 12th Grade

30 Qs

D&T GCSE

D&T GCSE

9th Grade

31 Qs

RBT AKHIR TAHUN

RBT AKHIR TAHUN

8th - 9th Grade

35 Qs

Remedial DAsar DKV

Remedial DAsar DKV

9th - 12th Grade

36 Qs

D&T Challenge 2

D&T Challenge 2

9th Grade

30 Qs

Digital Video 2 '20 Semester Exam

Digital Video 2 '20 Semester Exam

9th Grade

36 Qs

Game Art Unit 4

Game Art Unit 4

9th - 12th Grade

35 Qs

PHP Program '20 Semester Exam Morrell

PHP Program '20 Semester Exam Morrell

Assessment

Quiz

Design

9th Grade

Practice Problem

Medium

CCSS
RI.7.7, RI.8.7, RI.9-10.7

+2

Standards-aligned

Created by

Tyler Morrell

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 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

30 sec • 1 pt

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

{}

<?php ?>

<>

<? ?>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

.

,

:

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable in php assign with the

String

const

let

$

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Leng

substring

strlen

len

6.

MULTIPLE CHOICE QUESTION

30 sec • 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

30 sec • 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?