Shun Fung Technology Pen test

Source: Internet
Author: User

1. When programming with the TCP protocol, which of the following issues must be handled by the programmer?

Correct answer: D

A re-transmission of chaotic sequence packets

B Error correction during data transmission

C Network congestion processing

D format and application protocol for sending data


2 . Similarities and differences between concurrency and parallelism

A : Parallelism refers to the occurrence of two or more events at the same time, while concurrency means that two or more events occur at the same interval. In a multi-channel program environment, concurrency means that there are several programs at the same time that are running concurrently over a period. But in a single processor system, each moment can only have a program to execute, so micro-these programs can only be time-sharing alternating execution. If there are multiple processors in a computer system, these programs can be executed concurrently to be allocated to multiple processors, implementing parallel execution, that is, using each processor to process a concurrent execution of a program, so that multiple programs can simultaneously execute

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/86/9E/wKioL1fFawOARMYUAAAuWS17lh8030.png "style=" float: none; "title=" concurrent. png "alt=" Wkiol1ffawoarmyuaaauws17lh8030.png "/>650" this.width=650; "src=" http://s2.51cto.com/ Wyfs02/m01/86/9e/wkiol1ffaxrqrairaaaes5cd3yg662.png "title=" parallel. png "alt=" wkiol1ffaxrqrairaaaes5cd3yg662.png "/ >


Concurrent "" "Parallel


3. TCP protocol, which of the following descriptions is wrong?

Correct answer: D

A ordered

B Reliable

C Fault tolerance

D Security


4, the following data structure, the fastest insertion speed is?

Correct answer: A

A Linked list

B Array

C Queue

D Stack


5. What is the phase of type inference in the traditional C + + language?

Correct answer: B

A Translation

B Compilation

C Link

D Expand


6. The problem that the latter cannot avoid is that the preemptive distribution is compared with the agreement type allocation.

Correct answer: A

A Dead Lock

B Live Lock

C busy and so on

D NULL pointer


7, in the following sorting methods, unstable method has?

Correct answer: C

A back and sort with cardinal sort

B Insert sort with Hill sort

C -heap sorting and quick sorting

D Select sort and Bubble sort


8, set a binary tree depth of K, then the two-fork tree has a maximum () node.

Correct answer: D

A2k-1

B2^k

C2^ (k-1)

D2^k-1


9. The view in the database, what kind of design pattern can be analogous?

Correct answer: C

A Policy mode

B Single-case mode

C Decorator mode

D Message Subscription mode


10. Please cite several indexes that you are familiar with, the data structure behind them, and their application scenarios. It is also possible to outline the core principles of inverted indexes.

A: MYSQL, Pgsql, sql-server-oracle are inseparable from the B-tree index, hash index, B-tree can do range lookup, based on the leaf node lookup suitable for where statement. MySQL is particularly optimized for where a=xxxx, using a hash index, which is suitable for random lookups, and other ways to do so when you cannot or need to do a scan.

The core principle of inverted indexes is to index the keywords and the number of pages that appear in the document.


11, not the basic characteristics of database transactions is ()

Correct answer: C

The atomicity of A

B Consistency

C Stability

D Persistence

E Independence


12, two programs in the running State of communication with each other, the necessary process is generally called?

Correct answer: A

A Serialization and deserialization

B encoding and decoding

C REQUEST & Responese


(There is a ~~~~~, do not understand, the great God Solution ~-~)

Draw a time series diagram of a typical visitor's visit to the site using AJAX technology. Assume that site access is all normal. A typical single database, single application server structure;

This article is from the "a" blog, please make sure to keep this source http://lzs66.blog.51cto.com/9607068/1844486

Shun Fung Technology Pen test

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.