This is my first interview today. I cannot answer many questions. please advise me.

Source: Internet
Author: User
I went to the interview for the first time today. I couldn't answer many questions. please advise me to go to the interview for the first time. I found many of them are different from textbooks.
3. What about hibernate?
8. Are you familiar with the configuration of the James server? How many docs commands do you remember? (Project)
11. how can I turn to PHP for java development?
14. what is the difference between InnoDB and MyIsAm?
15. use the EL expression to write the url path.
I don't even know the names of these questions. I feel that the test is quite wide. please advise me.


Reply to discussion (solution)

Are you interviewing java or php? Mostly java knowledge points

I am going to interview PHP. I don't know how to get started with these written questions.

14. what is the difference between InnoDB and MyIsAm?

This should help.

Can I briefly explain the answer? Baidu's answer is profound.

What is the difference between InnoDB and MyIsAm?
InnoDB supports transactions, but MyIsAm does not.
InnoDB is slow and MyIsAm is fast
InnoDB cannot be copied directly, and MyIsAm can be copied directly.

As for Java-related issues, there is no need to answer them here.
1. you are not studying Java
2. here is the php discussion area. The Java issue should be discussed in the Java discussion area. Is there a specialization in the industry?

InnoDB supports row-level locks, which are more advantageous than MyIsAm in the case of highly concurrent writes.
InnoDB's count () needs to be traversed every time
This is not like a php interview.

I think I am innocent. Obviously, I am going to interview php, but some of my interview questions are java.
In addition, I lost to others in my work experience. I think I can fill in 1 ~ With 5 years of work experience, I am a fresh graduate.
I would like to fill in a one-year work experience, but below I want to fill in the work place, name, position and other information. I can't tell this, but I can only honestly fill in fresh graduates.
After filling out the form, it will be HR after a while, and the interview will be poor. because I am a fresh graduate, I have only two projects. the interviewer told me at least five or six. I think 2 ~ There are already enough of the three, and during the laughter period, the exercise questions cannot be obtained, and the previous project is counted as only two projects that have completed the business.
Forget it. it's tears.

Authorize the customer to display the customer information in the case of authorization. if the customer is not authorized and cannot access the customer, follow your own ideas to talk about how to implement the function?
How can this be achieved?
(My idea: when the customer authorizes, create a session to store the customer's information. if the authorization is canceled, the validity period of the session is set to-1. if the authorization is not authorized, no new session is created)

What is the difference between InnoDB and MyIsAm? Float

The so-called customer authorization should be to grade the customer, and different levels correspond to different permissions.

What is the meaning of 302,403,500 on the webpage?

These are all interview questions for junior programmers. The status code indicates the return value of the server. Baidu

You must learn how to use search engines! These questions are not difficult. baidu and Google can search for many answers at will.

What is the meaning of 302,403,500 on the webpage?


Http://baike.baidu.com/link? Url = fX5X_WN4wYoCxWePAOFa3PlXyHsdBj6kkN0qwuLbqYQX5PycV5jf8uRJO1JcazGtQZaTH7x-0BEX4r3261JWe _

For authorization, it is better to save it permanently. only sessions are established and one day after all expires.

Thank you for your suggestions.
$ A = "abcd ";
$ B = "dcse ";

$ A = $ a ^ $ B;
$ B = $ B ^ $;
$ A = $ B ^ $;

This is one of the ideas of exchanging variable values using bitwise operators.

$ A ^ $ B Xor (bitwise Xor) sets one of $ a and $ B as 1 and the other as 0 to 1.
(I understand that if one of the two variables is null and the other is not null, 1 is returned)

I have read some examples and tried several values.
Echo 12 ^ 9; // The output is 5
Echo 12 ^ 10; // 6
Echo 12 ^ 12; // 0
I don't see any patterns. please advise.

The previous problems have been basically solved. could you please take a look at this question?

Thank you for your suggestions.
$ A = "abcd ";
$ B = "dcse ";

$ A = $ a ^ $ B;
$ B = $ B ^ $;
$ A = $ B ^ $;

This is one of the ideas of exchanging variable values using bitwise operators.

$ A ^ $ B Xor (bitwise Xor) sets one of $ a and $ B as 1 and the other as 0 to 1.
(I understand that if one of the two variables is null and the other is not null, 1 is returned)

I have read some examples and tried several values.
Echo 12 ^ 9; // The output is 5
Echo 12 ^ 10; // 6
Echo 12 ^ 12; // 0
I don't see any patterns. please advise.


Echo 12 ^ 9; // The output is 5
Echo 12 ^ 10; // 6
Echo 12 ^ 12; // 0

First, convert to the binary system and perform the XOR operation.
Exclusive or operation, equal bits = 0 bits different = 1
For example, the binary value of 12 is
1100
The binary value of 9 is
101
Then 12 ^ 9 equals, bitwise OR
1100
0101
Obtain
1001
Decimal of 1001 = 9

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.