Search Header Logo

PHP-2

Authored by 邱建誌 邱建誌

Computers

11th Grade

Used 8+ times

PHP-2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

php程式檔案要放在哪裡?

C:\xampp\htdocs\

c:\htdocs\

c:\windows\

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

若有c:\xampp\htdocs\test.php

則,執行的網址是?

http://127.0.0.1/test.php

http://168.95.1.1/test.php

http://8.8.8.8/test.php

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

若有php程式檔,位置為

c:\xampp\htdocs\666\a.php

則執行的位址是?

http://127.0.0.1/a.php

http://127.0.0.1/666/a.php

http://127.0.0.1/6/a.php

http://127.0.0.1/666.php

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

程式錯誤,訊息如下:

Parse error: syntax error, unexpected token "echo", expecting "," or ";" in C:\xampp\htdocs\a.php on line 3

下列哪個程式會造成上述結果

<?php

echo "test"

echo "go"

?>

<?php

echo "test";

echo "go";

?>

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

PSPad上,存檔的快速鍵

瀏覽器上,重新整理的快速鍵

分別是?

Ctrl+A

Ctrl+V

Ctrl+S

F5

Ctrl+F5

Ctrl+S

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

中文編碼出現問題,需要在PSPad內做?

編碼→UTF8 BOM

檢視→行號

編碼→ANSI default

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

若以php呈現左圖

港明有底線,則程式為?

<?php

echo "<u>港明</u>高中";

?>

<?php

echo "<u>港明高中</u>";

?>

<?php

echo "<b>港明</b>高中";

?>

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?