National unified examination for admission of regular colleges and universities · Programmer paper

1. The paper is divided into three types: single choice question, short answer question and programming question, with 5 marks for each choice question, 10 marks for each short answer question and 20 marks for each programming question.

2. The exam lasts 30 minutes.

3. Please fill in all answers in the comments section of this article.

4. After the exam, please share the test paper with CSDN APP, moments and communities.

The title of this article is compiled from the Internet

1. Multiple choice questions

1. Who is now recognized as the world’s first female programmer?

A. Taylor swift

B. Ada Lovelace

C. Angela Go

D. Alan Mathison Turing

At 521, programmer Xiaojun gave 99 roses to his girlfriend. Which number stands for 99?

A. 024A9B6FD7A590BC4850039A0A09006B

B. 87DBE662A0F9238DDD0FCA0F5CC1BB67

C. 44641F691B2C64E3A0A4304F5CF1F3A9

D. 5DBF585833FF3048D40A00B799F4EEAB

3. Which object-oriented approach will make you rich? (a)

A. inheritance

B. encapsulation

C. polymorphism

D. the abstract

4, programmers work before the wife call: wife, dinner I bring back to eat, you say to buy some of what?

Wife: buy 1 catty steamed stuffed bun, if encounter sell watermelon of, buy 1.

Programmer buy steamed stuffed bun, saw next to someone selling watermelon. So, what do programmers take home for dinner? (a)

A. 1 jin of steamed stuffed bun

B. 1 baozi

C. 1 watermelon

Lin Xiangru, Sima Xiangru; Wei Wuji, Chang Sun Wuji. Which of the following sets of correspondences is similar ()

A. PHP, Python B. JSP, Servlet C. Java, Java Script D. C, C++

He found thousands of baidu, suddenly look back, the man was in the lights dim (Xin Qiji “jade case”). The algorithm embodied is :()

A. A greedy

B. back

C. exhaustion

D. partition

It is recorded in Gongsun Longzi, “The king of The state of Qi told Yin Wen, ‘I am a very good scholar. Why is there no scholar in the state of Qi? ‘Yin Wen said,’ I would like to hear your majesty’s so-called scholars. ‘The king of Qi cannot answer.” This shows the king of qi :()

[A]

B. It’s a stutter

C. Unable to define

D. Unable to define their own requirements

8. In the shop, the price of a pair of leather shoes is 298 yuan, not 300 yuan.

A. The leather shoes themselves

B. The price required for profitability

C. psychological

D. other

9. When a programmer asks for help, he says ()

A.help

B.F1

C.SOS

Db ug bug

The most likely occupation of the following group of people is ()

A. Employees of stripe factory

[B]. A group of shopping groups

C. the programmer

[D]. Member of the Stripe Club

11. The following code results:

The output is:

A.10B.7C.1D.6

12. Which of the following statements can be used to store attributes in the session object

A.s ession. GetAttribute (” key “, “value”)

B.s ession. SetAttribute (” key “, “value”)

C.s. ession. SetAttribute (” key “)

D.s ession. GetAttribute (” key “)

13, not affected by electromagnetic interference or noise transmission media is ().

A. twisted-pair cable

B. fiber

C. Coaxial cable

D. microwave

14.5g from which version of 3GPP?

A.Rel13

B.Rel14

C.Rel15

D.Rel16

15. The sorting code of a set of records is (46,79,56,38,40,84), and the sorting result of a sequence is (40,38,46,56,79,84), then the sorting algorithm of () is adopted.

A. the sparkling

B. Insert directly

C. rapid

D. 2 – way merge

16. For any binary tree T, H(T) represents the height of the tree. If tree T contains n nodes, then ()

A.H (T) = O (n) B.H (T) or less O (logn) c. (T) = O (logn) d.h. (T) or O (logn)

17, return true for ()

A. a1

a2

d2

C. b1

b2

D. c1

c2

18, which of the following is not 5G RLC layer entity ()

A. TM B. UM C. AM D. IM

19, Which of the following algorithms requires a record auxiliary space during sorting ()

A. Select sort directly

B. Insert sort directly

C. Bubble sort

D. Merge sort

20. The IPv6 address is () bit.

A.128B.64C.48D.32

2. Simple questions

1. Can you briefly describe what python generators are?

2. Please describe the working mode of 996?

3. What is the core of the argument between programmers and product managers?

Third, programming questions

N loaves, divided into two ways, eat 1 at a time or eat 2 at a time, find the sequence of all eating combinations and print. No programming languages!

4. Additional questions

The girl friend of programmer small li not only appearance level is tall, big long leg, still love sport, she likes to cross a step when climbing stair, also like to cross two or 3 steps, if a stair has N steps, excuse me how many kinds does she have to climb law? Please write procedures, language unlimited!

Finally, I wish all the students who participated in the college entrance examination this year a great success!

The best time to plant a tree was ten years ago. The second best time is now. ** For those of you who are learning programming, if you want to improve your core programming skills, be prepared and confident in future interviews! ** I may be able to help you here ~

C language C++ programming learning exchange circle, **QQ group [686521686] ** wechat public number: C language programming learning base

Organize and share (years of learning source code, project actual combat video, project notes, basic introduction tutorial)

Welcome to change careers and learn programming partners, use more information to learn and grow faster than their own thinking oh!