<strike id="6q0um"></strike>
  • <strike id="6q0um"><s id="6q0um"></s></strike>
  • <ul id="6q0um"></ul><strike id="6q0um"></strike>

    當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

    騰訊PHP工程師筆試題和面試題答案(二)

    更新:2023-09-19 04:45:55 高考升學(xué)網(wǎng)

      2.數(shù)據(jù)庫查詢,mysql使用EXPLAIN分析查詢,啟用slow query log記錄慢查詢。

      PHP LAMP Engineer Test Paper

      Question 1

      What does print out?

      A) 3

      B) False

      C) Null

      D) 1

      E) 0

      Question 2

      Which of the following snippets prints a representation of 42 with two decimal places?

      A) printf(“%.2d\n”, 42);

      B) printf(“%1.2f\n”, 42);

      C) printf(“%1.2u\n”, 42);

      Question 3

      Given

      $text = ‘Content-Type: text/xml’;

      Which of the following prints ‘text/xml’?

      A) print substr($text, strchr($text, ‘:’));

      B) print substr($text, strchr($text, ‘:’) + 1);

      C) print substr($text, strpos($text, ‘:’) + 1);

      D) print substr($text, strpos($text, ‘:’) + 2);

      E) print substr($text, 0, strchr($text, ‘:’)

      Question 4

      What is the value of $a?

      $a = in_array(‘01′, array(‘1′)) == var_dump(‘01′ == 1);

      ?>

      A) True

      B) False

      Question 5

      What is the value of $result in the following PHP code?

      function timesTwo($int) {

      $int = $int 2;

      }

      $int = 2;

      $result = timesTwo($int);

      ?>;

      Answer: NULL

      Question 6

      The code below ___________ because ____________.

      class Foo {

      ?>

      function bar() {

      print “bar”;

      }

      }

      ?>

      A) will work, class definitions can be split up into multiple PHP blocks.

      B) will not work, class definitions must be in a single PHP block.

      C) will not work, class definitions must be in a single file but can be in multiple PHP blocks.

      D) will work, class definitions can be split up into multiple files and multiple PHP blocks.

      Question 7

      When turned on, ____________ will _________ your script with different variables from HTML forms and cookies.

      A) show_errors, enable

      B) show_errors, show

      C) register_globals, enhance

      D) register_globals, inject

      Question 8

      What will be the output of the following PHP code:

      echo count(strlen(“http://php.net”));

      ?>

      Answer: 1

      Question 9

      What is the best all-purpose way of comparing two strings?

      A) Using the strpos function

      B) Using the == operator

      C) Using strcasecmp()

      D) Using strcmp()

      Question 10

      What is the difference between “print()” and “echo()”?

      Answer: print is a function,echo is a language construct

      友情提示:閱讀了本文“騰訊PHP工程師筆試題”,本站中國人才網(wǎng)(cnrencai)筆試頻道,還為你提供更多“筆試題目”相關(guān)文章閱讀

    相關(guān)文章

    最新圖文

    亚洲成人一级电影| 国产亚洲精品拍拍拍拍拍| 久久亚洲中文字幕精品一区| 中文日韩亚洲欧美制服| 亚洲福利一区二区三区| 亚洲精品福利网站| 亚洲网站在线播放| 亚洲成人黄色在线| 亚洲人成网站在线观看播放青青| 亚洲色大成网站www永久| 久久亚洲精品中文字幕| 久久亚洲精品国产精品| 久久久婷婷五月亚洲97号色| 亚洲午夜精品一区二区| 亚洲色偷偷偷网站色偷一区| 亚洲精品国产情侣av在线| 亚洲成人免费网站| 亚洲国产日韩精品| 亚洲乱人伦中文字幕无码| 亚洲国产精品日韩av不卡在线| 亚洲av中文无码字幕色不卡| 亚洲成a人无码亚洲成www牛牛| 久久亚洲精品无码gv| 少妇亚洲免费精品| 精品亚洲成α人无码成α在线观看| 久久久久亚洲精品天堂久久久久久| 亚洲综合图色40p| 亚洲国产成人片在线观看无码| 亚洲AV日韩AV永久无码久久| 久久久久亚洲精品日久生情| 亚洲国产情侣一区二区三区| 中文字幕精品三区无码亚洲| 婷婷国产偷v国产偷v亚洲| 亚洲情a成黄在线观看| 亚洲人成色77777| 亚洲人成在线影院| 亚洲乱码一二三四区麻豆| 亚洲色偷偷综合亚洲av78| 亚洲AV无码乱码在线观看| 国产亚洲视频在线播放| 无码专区—VA亚洲V天堂|