Search Header Logo

TLE 10 - Q3 Computer Programming

Authored by JOSEPH ALMONTE

Fun

10th Grade

Used 3+ times

TLE 10 - Q3 Computer Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does PHP stand for?

a. PHP: Hypertext Preprocessor
b. Private Home Page
c. Personal Hypertext Processor
d. Philippine Hypertext Preprocessor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct opening and close tag for PHP scripts? echo “This is PHP”;

a.
b.
c. echo “This is PHP”;
d.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to end a PHP statement?

a. .

b. ;

c. New line

d. :

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The PHP syntax is most similar to:

a. Perl and C
b. JavaScript
c. VBScript
d. C# and Phyton

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you get information from a form that is submitted using the "get" method?

a. Request.Form;
b. $_GET[];
c. Request.QueryString;
d. $_POST[];

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With PHP, can we use both single quotes ( ' ' ) and double quotes ( " " ) for strings?

a. No, we can't use both single quotes ( ' ' ) and double quotes ( " " ) for strings.
b. Yes, we can use both single quotes ( ' ' ) and double quotes ( " " ) for strings.
c. we can only use single quotes ( ' ' ) but we can't use double quotes ( " " ) for strings.
d. we can only use double quotes ( " " ) but we can't use single quotes ( ' ' ) for strings.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a. create myFunction()
b. new_function myFunction()
c. function myFunction()
d. function create myFunction()

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?