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

    當前位置:高考升學網 > 招聘筆試題 > 正文

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

    更新:2023-09-19 04:45:55 高考升學網

      2.數據庫查詢,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工程師筆試題”,本站中國人才網(cnrencai)筆試頻道,還為你提供更多“筆試題目”相關文章閱讀

    最新圖文

    2020年河北新聞網兩學一做

    時間:2023-09-18 07:0:24

    2020年河北新聞網兩學一做

    時間:2023-09-15 11:0:59

    兩學一做學習教育知

    時間:2023-09-21 06:0:30

    2020年開展兩學一做學習教

    時間:2023-09-19 21:0:30
    亚洲人成国产精品无码| 亚洲AⅤ无码一区二区三区在线 | 亚洲人妻av伦理| 五月天婷亚洲天综合网精品偷| 亚洲精品无码久久| 久久久久久亚洲精品影院| 日本亚洲色大成网站www久久| 久久精品国产亚洲AV蜜臀色欲| 亚洲系列国产精品制服丝袜第| 色拍自拍亚洲综合图区| 久久夜色精品国产噜噜亚洲AV| 亚洲午夜久久久精品影院| 久久水蜜桃亚洲av无码精品麻豆 | 校园亚洲春色另类小说合集| 日韩色视频一区二区三区亚洲| 在线观看亚洲电影| 亚洲国产精品成人久久蜜臀| 亚洲成AV人在线观看网址| 亚洲人成无码网WWW| 曰韩亚洲av人人夜夜澡人人爽| 亚洲开心婷婷中文字幕| 亚洲国产精品无码成人片久久| 亚洲国产综合专区在线电影| 亚洲黄色网址在线观看| 亚洲一区动漫卡通在线播放| 国产亚洲精品bv在线观看| 亚洲国产无线乱码在线观看| 亚洲AV无码成H人在线观看| 精品国产亚洲一区二区在线观看 | 亚洲а∨天堂久久精品9966| 亚洲av永久中文无码精品| 日韩色视频一区二区三区亚洲| 亚洲精品无码日韩国产不卡?V| 伊人久久精品亚洲午夜| 亚洲AV无码成人精品区在线观看| 久久久久亚洲精品天堂| 亚洲Av无码一区二区二三区| 亚洲精品无码成人片久久不卡 | 五月天婷亚洲天综合网精品偷| 国产自偷亚洲精品页65页| 久久亚洲精品成人综合|