You are on page 1of 3

Q1: What is a correct way to add a comment in PHP??

a <!--...-->

b <comment>...</comment>

c None

d None

e /*...*/

f *\...\*

Q2: How do you find the number with the highest value of x and y??

a top(x, y)

b None

c Math.max(x, y)

d ceil(x, y)

e Math.ceil(x, y)

f None

Q3: When you need to obtain the ASCII value of a character which of the following function
you'll need to use in PHP??

a None

b None

c chr( );

d val( );

e ord( );

f .asc( );

Q4: Which of the following function returns a text in title case from a variable??
a None

b toupper($var)

c ucwords($var)

d .ucword($var)

e .upper($var)

f None

Q5: What is the function to parse a configuration file??

a parseini_file()

b parse_ini()

c None

d None

e parse_ini_file()

f None

Q6: TCL is used for _______??

a None

b Defining database schema

c Control access to data stored in a database

d None

e Managing the changes made by DML statements

f None of the mentioned

Q7: How do you write "Hello World" in an alert box??

a alert("Hello World");

b msg("Hello World");
c alertBox("Hello World");

d None

e None

f msgBox("Hello World");

Q8: test123?

The correct Answer is: None

b test

The correct Answer is: None

d test2

The correct Answer is: None

The correct Answer is: None

You might also like