Professional Documents
Culture Documents
A) SELECT
B) LOAD
C) INSERT
D) UPDATE
2)
a. Oracle
Database
b. SQL
c. SQL+
d. MySQL
3)
type
b. prototype
c. instance
d. object
5)
a. extends
b. implements
c. abstract
d. new
6)
a. #include ‘filename’;
b. include ‘filename’;
c. @include ‘filename’;
d. #include ;
7)Php files have default extension of
.php
.html
.xml
.ph
8) Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
A. \r
B. \n
C. /n
D. /r
A. 1
B. 2
C. 0
D. -1
12) Which one of the following functions will convert a string to all uppercase?
A. strtoupper()
B. uppercase()
C. str_uppercase()
D. struppercase()
13) Which two predefined variables are used to retrieve information from forms?
A. $GET & $SET
B. $_GET & $_SET
C. $__GET & $__SET
D. GET & SET
14) When you use the $_GET variable to collect data, the data is visible to.
A. none
B. only you
C. everyone
D. selected few
A. bits
B. bytes
C. kilobytes
D. gigabytes
16) Which one of the following function outputs the contents of a string variable to the specified
resource?
A. filewrite()
B. fwrite()
C. filewrites()
D. fwrites()
<php>
<?php ?>
<? ?>
<? php>
/?
//
/#
/**
19) Which keyword is used to refer to properties or methods within the class itself?
A. private
B. public
C. protected
D. $this
20) The updated MySQL extension released with PHP 5 is typically referred to as..
A. MySQL
B. mysql
C. mysqli
D. mysqly
21) Which one of the following statements instantiates the mysqli class?
22) Which one of the following keyword is used to inherit our subclass into a superclass?
A. extends
B. implements
C. inherit
D. include
23) Which of the following term originates from the Greek language that means “having
A. Abstraction
B. Polymorphism
C. Inheritance
D. Differential
A. PHP 4
B. PHP 5
C. PHP 5.3
D. PHP 6
25) When you use the $_POST variable to collect data, the data is visible to.
A. none
B. only you
C. everyone
D. selected few
26) When you use the $_GET variable to collect data, the data is visible to.
A. none
B. only you
C. everyone
D. selected few