Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Home

S-ITWB311 BIT32 1st Sem ( 2023-2024 )


MIDTERM: MODULE 1 - INTRODUCTION TO PHP

Short Quiz: Introduction to PHP


Submissions
Here are your latest answers:

Question 1
Match the following reasons why PHP is a viable scripting language

Response: Compatible with most servers => It can be deployed to majority of commercial servers available today.

Response: Open Source => It is free and can be used or utilized by everyone.

Response: Easy to Learn => Community support is widely available and there are plenty of developers who use PHP even to this day.

Response: Supports wide range of database => Aside from being compatible with different OS and servers, it also works well with various databases available

Score: 2 out of 2 Yes

Question 2
Match the following:

Response: Server-Side Scripting => Source code is visible to the user

Response: Client-Side Scripting => It runs on the web server

Score: 0 out of 2 No

Question 3
Who uses PHP? (Choose three)

Response: Facebook

Response: Friendster

Response: Etsy

Score: 0.67 out of 2

Question 4
Match the following reasons why PHP is a viable scripting language

Response: Runs on various platforms => It can run on basically any operating system be it Windows, Linux, Unix, Mac, and etc.

Response: Open Source => It is free and can be used or utilized by everyone.

Response: Efficient => Is quick in terms of scripting and delivering content or data.

Response: Supports wide range of database => Aside from being compatible with different OS and servers, it also works well with various databases available

Score: 2 out of 2 Yes

Question 5
In PHP, Function are case sensitive, variable names are not, and statements needs not to be terminated with a semicolon.

Response: False

Score: 2 out of 2 Yes

Question 6
PHP's interpreter is implemented in _____ and syntax inspired by _____.

Response: HTML

Response: Perl
Score: 1 out of 2

Question 7
Give three (3) advantages of using PHP. _____, _____, and _____.

Response: Cost Efficient

Response: Time Saver

Response: Scalable

Score: 2 out of 2 Yes

Question 8
PHP's syntax is inspired by _____ and its interpreter is implemented in _____.

Response: Perl

Response: HTML

Score: 1 out of 2

Question 9
What syntax/symbols represent a single-line comment (choose two):

Response: //

Response: /*

Score: 0.33 out of 2

Question 10
What does PHP stand for? (Choose two)

Response: Hypertext Preprocessor

Response: Personal Home Page

Score: 2 out of 2 Yes

You might also like