2019 national college entrance examination volume exposure programmer, you can try to answer how much?

National Higher Education Entrance Examination

Programmers volume

1. The paper is divided into multiple choice, short answer, three types of programming problems, 5 points per choice, short answer each question 10 points, 20 points for each question programming problems.

2. The test time is 30 minutes;

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

4. After the exam, please share this paper to CSDN APP Blink, circle of friends.

Study title finishing from the network

First, multiple choice

1. now recognized as the world's first female programmers?

A. Taylor swift

B. Ada Lovelace

C. Angela Go

D. Alan Mathison Turing

2, Xiao Ming to his girlfriend sent 99 roses, I ask the representatives of the number 99 is?

A. 024A9B6FD7A590BC4850039A0A09006B
B. 87DBE662A0F9238DDD0FCA0F5CC1BB67
C. 44641F691B2C64E3A0A4304F5CF1F3A9
D. 5DBF585833FF3048D40A00B799F4EEAB

3, what kind of object-oriented approach allows you to become rich? ()

A. Inheritance

B. Packaging

C. polymorphism

D. abstract

4, programmers work before the call to his wife: my wife, my back to eat dinner, buy what you say?

Wife: buy 1 kg bun it, if they are selling watermelons, just buy one.

Programmers buy buns, see next to someone selling watermelons. So, what programmers with dinner to go home? ()

A. 1 kg buns

B. 1 buns

C. 1 watermelon

5, Lin, Simaxiangru; wild Wei, Sun loudly. Which of the following groups a correspondence relationship similar to this ()

A. PHP,Python
B. JSP,servlet
C. java,java script
D. C,C++

6, no trace of her thousands of Baidu, when I look back, that person is in the dim light (ji "Qing Yuan"). The algorithm is embodied :()

A. greedy
B. backtracking
C. exhaustive
D. Divide and Conquer

7, "public sun Lung," it reads: "The king of that Yin Wen said: 'Guaren very good persons, persons with no Qi, why?' Yin Wen said: 'King of the so-called persons who would appreciate' the king not to be. "this shows that the king :()

A. stupid is no way
B. is a stuttering
C. does not define
D. does not define their needs

8, a pair of shoes in the store price is 298 yuan, instead of $ 300, according to the store to ask what this pricing?

A. shoe itself
B. desired price earnings
C. psychological
D. Other

9, would say that the programmer help ()

A.help
B.F1
C.SOS
D.Bug bug ah ah

10, the following group of people most likely occupation ()

A. streak plant employees
B. buy a group of organizations
C. programmer
D. striped club members

11, the result is the following code:


#include <cstdio>
int n, d[100];
bool v[100];
int main( ) {
    scanf("%d", &n);
    for (int i = 0; i < n; ++i) {
        scanf("%d", d + i);
        v[i] = false;
    }
    int cnt = 0;
    for (int i = 0; i < n; ++i) {
        if (!v[i]) {
            for (int j = i; !v[j]; j = d[j]) {
                v[j] = true;
            }
            ++cnt;
        }
    }
    printf("%d\n", cnt);
    return 0;
}
输入:10 7 1 4 3 2 5 9 8 0 6

The output is:

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

12. To save the property in the session object, which you can use the following statement ()

A.session.getAttribute(“key”,”value”)
B.session.setAttribute(“key”,”value”)
C.session.setAttribute(“key”)
D.session.getAttribute(“key”)

13, noise from electromagnetic interference or the transmission medium is ().

UTP A.
B. Fiber
C. coaxial
D. Microwave

14.5G from which version of 3GPP started?

A.Rel13
B.Rel14
C.Rel15
D.Rel16

15, a group of records sorted code (46,79,56,38,40,84), the sort result of a trip (40,38,46,56,79,84), is used in the () ordering algorithm.

A. blistering
B. directly into
C. Quick
D.2- way merge

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

A.H(T)=O(n)
B.H(T)≤O(logn)
C.H(T)=O(logn)
D.H(T)≥O(logn)

17, the return value is true in the following statement ()

A. a1a2
B. d1d2
C. b1b2
D. c1c2

18, which is not below 5G RLC layer entity ()

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

19. Which of the following algorithms require auxiliary space a record of the sorting process ()

A. Direct selection sort
B. direct insertion sort
C. Bubble sort
D. merge sort

20, IPv6 address () position.

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

Second, the simple question

1. Please briefly describe what the generator is a python?
2, please describe the 996 operating mode?
3. Please describe briefly what the core programmers and product managers are forced to tear?

Third, the programming problem

N bread, two types of eating time to eat one or two time to eat, eat all the required sequences and the combination print. Any programming language!

Fourth, additional questions

A programmer girlfriend has a pair of great legs, she was climbing the stairs when you can boast a one-time step, two steps or three steps, there are N stepped in front of her, I ask her how many climb law?

Finally, I wish all the students take the exam this year hit the ground running, pass the examination!

Guess you like

Origin blog.csdn.net/qq_42415326/article/details/91354039