Home >headlines >The National College Entrance Examination Paper for Programmers has been exposed. How many questions can you answer correctly?

The National College Entrance Examination Paper for Programmers has been exposed. How many questions can you answer correctly?

藏色散人
藏色散人forward
2021-06-15 10:56:168018browse

##National Unified Examination for General College Admissions

Programmer Paper

1. This test paper is divided into three types: multiple-choice questions, short-answer questions, and programming questions. Each multiple-choice question is worth 5 points, each short-answer question is worth 10 points, and each programming question is worth 20 points.

2. The exam time is 30 minutes;

3. Please fill in all answers in the comment area of ​​this article;

4. After the exam, please share this test paper to CSDN APP, Moments, and communities.


The title of this article is compiled from the Internet

1. Single-choice question

#1. Now recognized in the world Who was the first female programmer?

A. Taylor swift

B. Ada Lovelace

C. Angela Go

D. Alan Mathison Turing

2. On 521, programmer Xiaojun gave his girlfriend 99 roses. Which number below represents 99?

A. 024A9B6FD7A590BC4850039A0A09006B

B. 87DBE662A0F9238DDD0FCA0F5CC1BB67
C. 44641F691B2C64E3A0A4304F5CF1F3A9
D. 5DBF585 833FF3048D40A00B799F4EEAB

3. Which object-oriented method allows you to Become rich? ()

A.Inheritance

B.Encapsulation

C.Polymorphism

D.Abstraction

4. The programmer called his wife before getting off work: Wife, I will bring you dinner. What do you want to buy?

Wife: Let’s buy 1 catty of steamed buns. If you meet someone selling watermelon, buy one.

When the programmer was buying steamed buns, he saw someone selling watermelon next to him. So, what did the programmer bring home for dinner? ()

A. 1 catty of steamed buns

B. 1 steamed bun

C. 1 watermelon

5. Lin Xiangru , Sima Xiangru; Wei Wuji, Changsun Wuji. Which of the following sets of correspondences is similar to this ( )

A. PHP, Python

B. JSP, servlet
C. java, java script
D. C, C

6. People searched for him thousands of times, but suddenly looking back, he was in a dimly lit place (Xin Qiji's "The Sapphire Case"). The algorithm embodied is: ( )

A. Greedy

B. Backtracking
C. Exhaustive
D. Divide and conquer

7 , "Gongsun Longzi" records: "The king of Qi said to Yin Wen: 'I am very fond of scholars, so why do you think there are no scholars in the country of Qi?' Yin Wen said: 'I would like to hear what the king calls scholars.' The king of Qi has no scholars. In response." This shows that King Qi: ( )

A. Idiot and ignorant

B. He is a stammer
C. Can't define
D. Can't define My own needs

8. The price of a pair of leather shoes in the store is 298 yuan, not 300 yuan. Why does the store price it this way?

A. The leather shoes themselves

B. The price required to make a profit
C. Psychology
D. Others

9. Programmers will ask for help when asking for help Say ()

A.help

B.F1
C.SOS
D.Bugah bugah

10. The most likely occupations of the following group of people Yes ()

The National College Entrance Examination Paper for Programmers has been exposed. How many questions can you answer correctly?

A. Stripe production factory employee

B. A group of group buying organizations
C. Programmer
D. Stripe club member

11. The result of the following code is:

#include <cstdio>
int n, d[100];
bool v[100];
int main( ) {
    scanf("%d", &n);
    for (int i = 0; i The output result is: <p></p>
<blockquote>A.10<p> B.7<br> C. 1<br> D.6<br></p>
</blockquote>12. To save attributes in the session object, which of the following statements can be used ( )<p></p>
<blockquote>A.session.getAttribute(“key ","value")<p> B.session.setAttribute("key","value")<br> C.session.setAttribute("key")<br> D.session.getAttribute("key")<br></p>
</blockquote>13. The transmission medium is not affected by electromagnetic interference or noise ( ). <p></p>
<blockquote>A.Twisted pair<p> B. Optical fiber<br> C. Coaxial cable<br> D.Microwave<br></p>
</blockquote>14.5G starts from which version of 3GPP of? <p></p>
<blockquote>A.Rel13<p> B.Rel14<br> C.Rel15<br> D.Rel16<br></p>
</blockquote>15. The sorting code of a group of records is (46 , 79, 56, 38, 40, 84), the result of one sorting is (40, 38, 46, 56, 79, 84), then the () sorting algorithm is used. <p></p>
<blockquote>A. Bubble<p> B. Direct insertion<br> C. Quick<br> D. 2-way merge<br></p>
</blockquote>16. For any tree Binary tree T, H(T) represents the height of the tree. If the tree T contains n nodes, then ()<p></p>
<blockquote>A.H(T)=O(n)<p> B.H(T)≤O(logn)<br> C.H(T)= O(logn)<br> D.H(T)≥O(logn)<br></p>
</blockquote>17. The following statement returns true ()<p></p>
<p><img src="https://img.php.cn/upload/article/000/000/020/ea6394adc9607857d5523b34603bec0b-1.png" alt="The National College Entrance Examination Paper for Programmers has been exposed. How many questions can you answer correctly?"></p>
<blockquote>A. a1<p>a2<mark> B. d1<br>d2</mark> C. b1<br>b2<mark> D. c1<br>c2</mark></p>
</blockquote>18. Which of the following is not an entity of the 5G RLC layer ()<p></p>
<blockquote>A. TM<p> B. UM<br> C. AM<br> D. IM<br></p>
</blockquote>
<p>19. Which of the following algorithms require an auxiliary space for a record during the sorting process ( ) </p>
<blockquote><p>A. Direct selection sorting <br> B. Direct insertion sorting <br> C. Bubble sort<br> D. Merge sort</p></blockquote>
<p>20, IPv6 address is () bit. </p>
<blockquote><p>A.128<br> B.64<br> C.48<br> D.32</p></blockquote>
<p><strong>2. Simple questions</strong></p>
<p>1. What is singleton pattern? Let’s talk about its usage scenarios based on the code. </p>
<p>2. Given a binary tree with root as the root and an integer target, please delete all leaf nodes whose value is target. </p>
<p>3. Please briefly describe the core of the quarrel between programmers and product managers? </p>
<p><strong>3. Programming question</strong></p>
<p>N pieces of bread can be eaten in two ways, one at a time or two at a time. Find the sequence combination of all eating methods. Print. No limitation on programming language! </p>
<p><strong>4. Additional questions</strong></p>
<p> Programmer Xiao Li’s girlfriend not only has good looks and long legs, but also loves sports. She likes to cross the stairs when climbing stairs. She also likes to climb two or three steps on one step. If there are N steps on a staircase, how many ways can she climb? Please write a program in any language! </p>
<hr>
<p>Finally, I wish all students who participated in the <a href="https://www.hfplg.com/" target="_self">College Entrance Examination</a> this year a successful start and a spot on the gold list! </p>
<p>Recommended learning: "<a href="//m.sbmmt.com/course/list/29/type/2.html" target="_blank">PHP Video Tutorial</a>"</p>
<link href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/markdown_views-d7a94ec6ab.css" rel="stylesheet">
<link href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/style-f1c5feb645.css" rel="stylesheet">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path></svg></cstdio>
Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete