Alibaba has launched the test. Thank you for your advice.

Source: Internet
Author: User

By memory:

(1) h students go to school by bus every day, and will be late when they overhead in the morning and encounter a congestion. H, the probability of overhead in the morning is 0.2, and the probability of congestion on the road is 0.5. If H is late one morning, which of the following statements are true:

A-I slept too late this h morning.

B-the probability of oversleeping h this morning is 0.2.

C-the probability of oversleeping h this morning is more than 0.2.

D-"congestion this h morning

E-"the probability of traffic jam this h morning is 0.5

F-"the probability of a traffic jam this h morning is less than 0.5

Analysis:

Set event Y: H is late, P (y) = 1-(1-0.2) * (1-0.5) = 0.6

Event A: overslept, P (A) = 0.2

Event B: traffic jam, P (B) = 0.5

P (A | y) = P (AY)/P (y) = P (A)/P (y) = 0.2/0.6

P (B | y) = P (by)/P (y) = 0.5/0.6

Answer: c

(2) In a two-way cyclic linked list, the pointer P points to the node (not the end node) and inserts the node pointed to by the pointer S. The operation to modify the pointer is as follows:

A-> P-> next = s; s-> Prev = P; P-> next-> Prev = s; s-> next = p-> next;

B-> P-> next-> Prev = s; P-> next = s; s-> Prev = P; s-> next = p-> next;

C-> P-> next-> Prev = s; s-> Prev = P; P-> next = s; s-> next = p-> next;

D-> S-> Prev = P; s-> next = p-> next; P-> next = s; P-> next-> Prev = s;

E-> S-> Prev = P; s-> next = p-> next; P-> next-> Prev = s; P-> next = s;

F-> S-> next = p-> next; s-> Prev = P; P-> next = s; P-> next-> Prev = s;

Answer: E

(3) There are four processes A, B, C, and D, so that they enter the ready queue in sequence, because the time difference can be considered as arriving at the same time. The four processes run in 11, 7, and 2 time units respectively by rotation, and set the time slice to 1. The average turnaround time of the four processes is

A-"15.25

B-"16.25

C-"16.75

D-"17.25

E-"17.75

F-"18.25

Analysis:

The turnaround time of a process is the time from the start to the end of a process,

11 7 2 4

10 6 1 3 (+ 4)

9 5 0 2 C the turnaround time is 7

8 4 0 1 (+ 3)

7 3 0 0 d turnover time is 14

6 2 0 0

5 1 0 0

4 0 0 0 B turnover time is 20

The week time of A is 24.

(7 + 14 + 20 + 24)/4 = 16.25

Answer: B

(4) A prison identification access system is used to identify entry personnel. This system includes four different types of personnel: prison guards, thieves, food deliverers, and others. Which of the following solutions is the most suitable:

A-binary classification

B-multiclass classification

C-hierarchical clustering

D-K-center Clustering

E-"Regression

F-structure analysis problems

(5) which of the following statements is true?

A-this question has no correct options

B-this question has multiple correct options

C-"D and E are incorrect.

D-"B and C have a correct

Incorrect e-"C

F-"E and F have a correct

Analysis:

If a is correct, it first conflicts with C because there is only one correct answer.

If B is correct, there is a conflict between D and E.

If C is correct, conflicts between D and E

If F is correct, there is a conflict between D and E.

If D is correct, it is obviously impossible

If e is correct, true

Answer: E

(6) Use a truck to transport n hard disks filled with 1 TB of data, and send the data to the destination at 1000km km/h, at least how many hard drives are delivered on a truck, and the transfer rate exceeds GPS.

A-"2000

B-"3000

C-"4000

D-"5000

E-"6000

F-"7000

Analysis:

Transfer Rate = n × 1000/80 GB/(3600*1000)> 1000,> for 8n/36,

Answer: d

(7) There is a bottle containing salt with a volume of W. After the salt is used up, some salt powder (volume negligible) remains on the wall of the bottle. Now, we need to modify the sugar in the bottle and give you the U-volume purified water to clean the bottle. After each cleaning, the bottle will leave at least V of water (salt solution, which can ignore the volume of salt ). Suppose W> U> V, which of the following methods can be used to clean the bottle.

A-pour all the water into the bottle and then drop the water

B-"is divided into two equal parts and cleaned twice.

C-"each injection of purified water with a volume of V

D-"2 V of water each time

E-"re-injects used water into the bottle and cleans it multiple times.

F -- "the above methods have the same effect

Answer: No

(8) which of the following functions is a system call rather than a library function?

A-"printf

B-scanf

C-"fgetc

D-"read

E-"print_s

F-"scan_s

Analysis:

Common system calls include create, open, close, read, write, lseek, access,

Answer: d

(9) A football team has four foreign aids: Brazil, the Netherlands, Italy, and the United States. They are good at forward, guard, and guard respectively.

Out-of-the-USA expertise

Xianfeng

Ba Wai and another expert at the same position

Hewai is good at comparing it with BA Wai

The above conditions can be introduced:

A-forward

B-keep guard

C-guard

D-forward or guard

E-guard or guard

F-forward or defender

Analysis:

If Ba is good at defending the door, he can only be good at defending the defender.

If out-of-Ba is good at the striker, you only need to be good at defender.

Answer: d

(10) If the distance between the two vehicles is 10 minutes, the number of minutes for a shuttle bus is 1 and 9 respectively. The probability of a random arrival passenger is as follows:

A-"0.1

B-"0.2

C-"0.3

D-"0.4

E-"0.5

F-"0.9

Analysis:

Random passengers arrive in equal probability within 10 minutes. Passengers in the range of (] Take a bus, and passengers in the range of (] Take a shuttle bus.

Answer: B

(11) In Linux, an executable file is root and has a setid. When a common user Mike runs this program, the valid users and actual users of the processes are

A-> root Mike

B-> root Root

C-> Mike Root

D-> Mike mke

E-> deamon Mike

F-> Mike deamon

Analysis:

I remember talking about setid in laruence's private dish. It should be.

Answer:

(12) coin game: continuous coin throwing until one wins. A is expected to win first, then back, and B is expected to win two times in a row. When I ask AB, the probability of a winning is ______.

A-"1/6
B-"1/4
C-"1/3
D-"1/2
E-"2/3
F-3/4 analysis: A and B are equal probability, so they are 0.5 Answer: dI cannot think of the other three questions. t_t additional question: (1) What should I do if the android download website's access traffic and download index increase? (2) Write a function and find the difference between the absolute values of the two trees with the largest and smallest values to traverse the binary tree. I use BFS (3) continuous longest public subsequence problem reference http://www.cnblogs.com/ErinCodeMM/archive/2012/10/30/2747042.html

Alibaba has launched the test. Thank you for your advice.

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.