MySQL has a classic interview

https://www.cnblogs.com/cctv4/p/11533554.html

MySQL has a classic interview

  1. Alpha and Beta testing testing What is the difference?

Answer: difference: The main difference between the two different test sites. Alpha testing is the place to go to user developer to test, beta testing is testing one or more users of the places. Alpha testing environment is controlled by the developer, the number of users is relatively small, the time is relatively concentrated. The beta test environment is not controlled developer, who do not know how to torture user software, the number of users relatively more time is not set. In general, alpha beta testing prior to test execution. Common software products need to beta test a large-scale, long test cycle. If the product through beta testing, it can be officially released.

 

  1. Software testing is involved in the stage from which the software, and later to intervene in what to do? Why get involved from this stage?

Answer: intervention from the requirements analysis phase, the tester needs analysis phase, mainly to do: 1. understanding the needs, 2 indicates demand is not clear where 3 analysis test range and test points.

 

  1. The relationship between integration and system testing

Answer: The main test system is functional testing, test software "requirements specifications" mentioned functions whether there are any omissions, correct implementation. Do system testing should strictly follow the "requirements specifications" to it as the standard. Test methods generally used are black-box testing method; integration time integration test after test before system testing unit test is completed. Integration testing, also known as interface testing, as I work mainly for rest some of the http protocol interface to do some interface test tools mainly used are: fiddler, postman, jmeter etc.

 

  1. What is the purpose of the test plan work? What test plan includes work? Which of these is most important?

Answer: The purpose: 1. test to determine the time and resources needed to ensure their availability and effectiveness. 2. Each test phase of testing completed to establish and test success criteria, objectives to be achieved. 3. Identify the test event risks, and eliminate possible risks, reduce risk can not be eliminated by a loss it brings. The main elements: product overview, test strategy, test methods, test area, the test configuration, test period, test resources, testing exchange, risk analysis, etc.

 

  1. Describes the hierarchical structure tcp / ip protocols, each protocol layer of the important

A: Application Layer: inter-application communication layer, such as the Simple Mail Transfer (SMTP), File Transfer Protocol (FTP), remote network access protocol (Telnet) and so on. Transport Layer: In this layer, which provides that the data transfer between nodes, such as Transmission Control Protocol (TCP), User Datagram Protocol (UDP), etc., TCP and UDP for a data packet is added to transfer data and transmit it to the next one layer, this layer is responsible for transmitting data, and determines that the data has been received and delivered. Interconnect Network layer: responsible for providing the basic data packet transmission function, so that each data packet can reach a destination host (but does not check whether received correctly), such as Internet Protocol (IP). Network Interface layer: the actual network media management, defines how to transmit data using the actual network (e.g., Ethernet, Serial Line, etc.).

 

  1. What is concurrency? How to set the concurrent test in loadrunner? Rendezvous failure how to do?

A: Concurrency refers to is the number of online users to interact with the server at the same time. In loadrunner, by providing a collection point in the script, and then set up a collection point in the policy controller to achieve concurrent test. The reason rendezvous release failure is that the server can not handle such a large number of concurrent, possible causes are: the database can not handle so many concurrent, there may be a server middleware tomcat out of memory, or the server cpu, disk io, also may cause the set point release failure.

 

 

  1. Common sense Parameter Description ls command and parameters

 

  1. Command "tail myself" and "head myself" What does this mean?

A: tail myfile represented: 10 the last display line head myfile myfile represents: the first 10 lines of myfile

 

  1. In the vi editor, which can move the cursor to the command line 200? Find what string command? How to switch from insert mode to command line mode?
  2. Linux systems in the / home / wwwroot / sinozzz123 Rename the directory / home / wwwroot / sinozzz456 command what is
  3. Use c language to write the function, swap the values ​​of two variables

#include <stdlib.h> #include <stdio.h> int main () {int a = 10, b = 20; printf ( "before switching a =% d, b =% d \ n", a, b) ; int temp = a; // define a temporary variable a = b; b = temp; printf ( "a =% d Following the exchange, b =% d \ n", a, b); return 0;}

  1. What are the basic database table? What is a view?

A: basic table itself is independent of the presence of the table, in a SQL table a correspondence relations. Views are derived from one or several basic Table. View itself does not exist independently stored in the database, it is a virtual table. I.e. only stored in the database without defining the view corresponding to the view data is stored, the data is still stored in the base table deriving view. Users can view as in the base table, the view can be redefined in view.

 

  1. The following questions will use SQL to the database as a bank basic, basic table structure is as follows: Table ranked name Branch (branch) branch-name branch-city assets ranking table name Customer (Customer) customer-name customer-street customer- city ​​ranked table name Loan (Loan) loan-number branch-name amount table name among the borrower (lender) customer-name loan-number table ranked name account (account) account-number branch-name balance sheet among the names depositor (depositors) customer-name account-number

13.1. Find the live in Harrison and at least three customers account average balance in the bank

 

13.2. Find out customers' loans in the bank's name, and his name is neither Smith nor Jones

 

13.3. To find out the name of that total assets ratio of at least one bank branch located in Brooklyn to be more branch

 

13.4. All Perryridge find only one branch of client accounts

 

13.5. Find the loan amount in the table is null number of loans

 

13.6. Find the number of depositors for each branch of

 

13.7. Find the average account balance is greater than 1,200 yuan Branch

 

13.8. Find the street address contains the substring Main names of all customers

 

 

A.1:Select depositor. customer-name, avg(balance)From depositor, account, customer Where depositor.account-number = account.account-number And account.account-number = customer.customer-nameAnd customer-city = ‘Harrison’group by account.customer-name having count (distinct depositor.account-number)>=3

 

A.2:select distinct customer-name from borrowerwhere customer-name not in (‘Smith’,’Jones’)

 

A.3:Select distinct T.branch-name From branch as T, branch as S Where T.assets > S.assets and S.branch-city = ‘Brooklyn’

 

A.4. Select T.customer-name From depositor as TWhere unique (select R.customer-name From account, depositor as RWhere T.customer=R.customer-name and R.account-number=account.account-number and Account.branch-name=’Perryridge’)

 

A.5:Select loan-number From loanWhere amount is null

 

A.6:Select branch-name, count(distinct customer-name)From depositor, account Where depositor.account-number = account.account-numberGroup by branch-name

 

A.7:Select branch-name, avg(balance) From account Group by branch-nameHaving avg(balance) > 1200

 

A.8:Select customer-name From customer Where customer-street like ‘%Main%’

 

Guess you like

Origin www.cnblogs.com/cyy2022989579/p/11830111.html