PHP Program '20 Semester Exam Morrell

PHP Program '20 Semester Exam Morrell

9th Grade

35 Qs

quiz-placeholder

Similar activities

Smart and Modern Materials King DH

Smart and Modern Materials King DH

9th - 12th Grade

33 Qs

SELEKSI NON ASN IT SUPPORT BP4

SELEKSI NON ASN IT SUPPORT BP4

1st - 10th Grade

30 Qs

ICT + D&T + Code.org

ICT + D&T + Code.org

7th - 12th Grade

30 Qs

Informática básica aplicada en artes gráficas

Informática básica aplicada en artes gráficas

9th - 10th Grade

38 Qs

Industrial Technology & Design

Industrial Technology & Design

7th - 9th Grade

38 Qs

Digital Media 1st 9 weeks REVIEW  (FALL 2021)

Digital Media 1st 9 weeks REVIEW (FALL 2021)

8th - 9th Grade

30 Qs

Digital Design Voc.

Digital Design Voc.

9th - 12th Grade

30 Qs

Graphic Design Exam #1

Graphic Design Exam #1

9th Grade

30 Qs

PHP Program '20 Semester Exam Morrell

PHP Program '20 Semester Exam Morrell

Assessment

Quiz

Design

9th Grade

Medium

CCSS
RI.6.7, RL.5.7, RI.5.7

+2

Standards-aligned

Created by

Tyler Morrell

Used 9+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?