Search Header Logo

Quiz4_CSCI_4410

Authored by Xin Yang

Computers

University

Used 15+ times

Quiz4_CSCI_4410
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does PHP stand for?

PHP: Hypertext Preprocessor

Private Home Page

Program Hyper Page

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP server scripts are surrounded by which delimiters?

<script>...</script>

<&>...</&>

<php>...</php>

<?php ... ?>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print "Hello World" in PHP?

Document.Write("Hello World!");

"Hello World!"

echo "Hello World!";

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All variables in PHP start with which symbol?

$

&

!

@

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to end a PHP statement?

;

</php>

.

New line

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a function in PHP?

function myFunction()

new_function myFunction()

create myFunction()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to write comments in PHP?

<!-- This is a comment --> for single-line, and <?php comment ?> for multi-line

// or # for single-line, and /* ... */ for multi-line

' This is a comment for single-line, and """ ... """ for multi-line

# for single-line, and <-- ... --> for multi-line

Access all questions and much more by creating a free account

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?