
PHP TEST
Authored by BSCS-2024-067 Haris Yousaf
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A relational database ___________ is a data structure used to store and organize information.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MySQL is
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What SQL clause is used to restrict the rows returned by a query?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which will input data into a table?
INSERT INTO table(name, height, weight) VALUES('strand', '6ft 2in', '165')
INPUT INTO table(name, height, weight) VALUES('strand', '6ft 2in', '165')
INSERT INTO table CATEGORIES(name, height, weight) VALUES('strand', '6ft 2in', '165')
INSERT INTO table CATEGORIES(name, height, weight) ('strand', '6ft 2in', '165')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I want to show all data in a MySQL table, I would use
SHOW * FROM table;
SELECT * FROM table;
SHOW * IN table;
SELECT * IN table;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is PHP written into a webpage?
Just like other html tags: <php> </php>
Only in a separate file which is linked to the html page
Using curled brackets {php} {/php}
A PHP script starts with <?php and ends with ?>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The if statement is used to execute some code only if a specified condition is true
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?