GoConqr has a new look! Let us know what you think.

Quiz

WEB

Hello World 181 questions 1,136 views 5.0 (1 rating)

Take the quiz

Questions in this quiz (181)

  1. 1Variable names (PHP) can only contain _
    1. Aletters, numbers and the underscore ( _ ) symbol
    2. Bletters and numbers
    3. Cletters, numbers and &^%$#@ ( _ ) symbol
    4. Dno correct answer
  2. 2 Are all keywords (e.g. if, else, while, echo, etc.) in PHP, classes, functions, and user-defined functions case-sensitive
    1. Ayes
    2. Bno
    3. Cdo not know
    4. Dnot sure
  3. 3 A variable declared ________ a function has a GLOBAL SCOPE. (PHP)
    1. Aoutside
    2. Bwithin
    3. Canywhere
    4. Dnowhere
  4. 4 A variable declared ________ a function has a LOCAL SCOPE. (PHP)
    1. Aoutside
    2. Bwithin
    3. Canywhere
    4. Dnowhere
  5. 5 to access a numeric arrays elements, refer to the array (PHP) with___
    1. Aappropriate index number in brackets
    2. Bappropriate index number with dots
    3. Cappropriate index number without brackets
    4. Dno correct answer
  6. 6 The _______ is an array which associates an index value (instead of a number) to a certain value.(PHP)
    1. Astring
    2. Bassociative array
    3. Cdot
    4. Dclass
  7. 7 Syntax for associative array (PHP)
    1. A$arrayName[index_value] = value;
    2. B$arrayName[“index_value”] = value;
    3. C$arrayName(index_value) = value;
    4. DarrayName[index_value] = value;
  8. 8 PHP ______ function returns the length of a string
    1. Astr_word_count()
    2. Bstrlen()
    3. Cstrops()
    4. Dstrrev()
  9. 9 PHP ______ function replaces some characters with some other characters in a string
    1. Astr_word_count()
    2. Bstrlen()
    3. Cstr_replace()
    4. Dstrops()
  10. 10 To create a constant (PHP), use
    1. Adefine(name, value, case-insensitive)
    2. Bconstant(name, value, case-insensitive)
    3. Cconstant(name, value)
    4. Dconstant( value)

Information

Description
2017
Language
English
Views
1,136
Rating
5.0 out of 5 · 1 rating
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?