Bachelor Of Computer Science

PHP Quizzes

CS: PHP MCQs - Complete

Assignment and Coercion Questions and Answers p. 12

Learn Assignment and coercion mock test for exam, assignment and coercion MCQ with answers pdf test 12 for online job interview. Practice "PHP Data Types Trivia Questions" and answers, assignment and coercion Multiple Choice Questions (MCQ) for online . Free assignment and coercion MCQs, php variables, uses of arrays, string replacement, comparison and searching, assignment and coercion test prep for computer science associate degree.

"The floatval ( ) function will convert your argument in", assignment and coercion Multiple Choice Questions (MCQ) with choices string, integer, float, and none of them for computer software engineer online degree. Learn php data types questions and answers with free online certification courses for 2 year computer science degree.

Trivia Quiz on Assignment and Coercion

1.

The floatval ( ) function will convert your argument in

Integer
String
Float
None of them

2.

Stristr ( ) is identical to Strstr ( ) except that

The comparison is case independent
The comparison start from middle
The comparison is case sensitive
None of them

3.

Replacing string from left hand side is known as

Slicing
Dicing
Trailing
Leading

4.

Indices of arrays can be either strings or numbers and they are denoted as

$my_array {4}
$my_array [4]
$my_array| 4 |
None of them

5.

All variables in PHP are denoted by

Dollar sign $
Hash sign #
Asterisk sign *
Percent sign %