What do you know about PHP P1

Please read the knowledge and multiple choice questions around the topic of PHP programming. With basic questions related to this topic, hopefully readers will add more useful knowledge.

  1. Question 1: For: a. = "A"; a. = "B"; a. = "c"; A value is:
    1. "c"
    2. "a"
    3. "abc"
    4. Error
  2. Sentence 2: a = 4; for (b = 0; b <= a; b ++) $ c ++; Value of c? :
    1. 0
    2. 4
    3. 5
    4. Error
  3. Question 3: Results after implementing the following code:
     
    1. 74
    2. 154
    3. 26
    4. 170
  4. Question 4: Which language is PHP based on Syntax?
    1. C
    2. Java
    3. HTML
    4. Ruby
  5. Question 5: Which of the following is an integer type in PHP?
    1. Int type
    2. Null type
    3. String type
    4. Real number type
  6. Question 6: What symbols are used to finish statements in PHP?
    1. A colon (:)
    2. Semi-colon (;)
    3. Question mark (?)
    4. Dots (.)
  7. Question 7: PHP does not support the following data types?
    1. String
    2. Float
    3. Single
    4. Null
  8. Question 8: Which engine is the main platform of PHP?
    1. ZEDAT
    2. ZEND
    3. ZENAT
    4. ZETA
  9. Question 9: Which PHP compiler is the compiler you think is correct?
    1. PHP Translator
    2. PHP Interpreter
    3. PHP Communicator
    4. No sentence correctly
  10. Question 10. To count the number of data lines in the table we use the function
    1. mysql_num_rows ();
    2. mysql_select_db ()
    3. mysql_fetch_array ()
    4. mysql_count_row ()
Update 24 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile