PHP Junior Programmer Ability Test questions, comprehensive and strong, master can reply to answer ~_php tutorial

Source: Internet
Author: User
Tags tidy
PHP entry-level coder self-test questions


Description: This test is 100 points, involving the Web (PHP direction) of the comprehensive knowledge, 90 pass.

By:pig 2009.07.14

This question has been sent once, now tidy up, re-sent up.

-------------------------------------

One, basic PHP
1. Try to explain the difference between Echo and Print,require and include. (3 points)
2. Remove duplicate elements from an array in at least two ways. (3 points)

3. Briefly describe the usage and differences of $_get,$_post. (4 points)

4. The use and distinction between cookies and sessions, and the links between them. (6 points)

5. Exchange values of two variables without using intermediate variables. (3 points)

6. What does escape mean? Why would you want to escape? (3 points)

7. Construct an array from A to Z. (2 points)

8. Try to explain the use of symbolic->,=>, and the use of $this, $that. (3 points)

9. Define an abstract class student, then subclass CS to inherit and implement an abstract method of it do_homework (). (5 points)

Two Foreground Web Foundation

10. Try to explain the difference between class and ID. (2 points)

11. Get the contents of a DIV with ID key and add an Li tag in this Div, where the text node content is
"I am an li". (4 points)

12. Use CSS technology to implement landscape menus. (5 points)

13. How to implement a child window to refresh the parent frame. (2 points)

Three Database Basics

14. Code implementation change the table name of all data tables in the music database. (5 points)

15. There is a data table with 5 fields (CID, Ctitle,cbody,cauthor,ctime), which is now required to remove all fields from the 40 records after No. 800000 record. (4 points)

16. How to store an array object in a field in a data table. (2 points)

17. Compare the advantages and disadvantages of the two storage modes in MySQL, MyISAM and InnoDB, and use occasions. (3 points)

18. Try out some MySQL optimization methods. (4 points)

Four Algorithm and other.

is 19.MD5 () a cryptographic algorithm? How to protect the password in the member registration is not easy to be cracked? (3 points)

20. The idea and code realization of the function of "password retrieval" is discussed. (5 points)

21. Sort a basic ordered small-scale array. (4 points)

22. To establish a city bus query site, please implement its database structure design. (5 points)

23. Construct a regular match for all current mobile phones, including mobile, Unicom, and Telecom. (3 points)

24. Use regular or other methods to add commas to the numbers, such as 32,995,145. (4 points)
25. Known UPC code, that is, we often say the commodity bar code, a total of 13, of which the first three is the country code (China is 691,692,693), the last one is the check digit, the check rule is as follows


Sum= (a1+3a2+a3+3a4+...+an-1)


Sum+check=0 MoD 10, implementing its validation process in code. (3 points)

26. Find out the number of primes less than 10 billion, and the number of 9-digit primes. (4 points)

27. Understand MVC, and its implementation of the static directory. (6 points)

http://www.bkjia.com/PHPjc/477386.html www.bkjia.com true http://www.bkjia.com/PHPjc/477386.html techarticle PHP Entry-level coder self-Test Description: This testing is 100 points, involving the Web (PHP direction) of the comprehensive knowledge, 90 pass. By:pig 2009.07.14 This question was sent once, now tidy up, ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.