Is the Computer Level 2 Python exam difficult?

(*-*)浩
Release: 2019-07-06 11:06:15
Original
23539 people have browsed it

The National Computer Level Examination added the second-level computer Python programming test subject in September 2018. Judging from the last exam, the exam is not difficult, especially the exam content is relatively small, so the pass rate is as high as 54% (Other subjects are below 30%).

Is the Computer Level 2 Python exam difficult?

#So what exactly is the second-level Python programming test? (Recommended learning: Python video tutorial)

1, basic theory of programming and basic overview of Python;

2, simple programming;

3. Simple application of third-party libraries;

In summary, it is recommended that students who have taken the exam multiple times and must obtain the certificate before June next year can consider applying for two subjects and one subject that you are good at. , and then take another subject of Python. The reason is very simple. Because the exam has just started, the number of sets of questions in the question bank is relatively small, which is easy for everyone to master, even if they memorize the answers.

The following provides you with a real exam question (programming question)

# CalStoryOfStone3.py
import jieba
from wordcloud import WordCloud
excludes = {"什么","一个","我们","那里","你们","如今", \
            "说道","知道","老太太","起来","姑娘","这里", \
            "出来","他们","众人","自己","一面","太太", \
            "只见","怎么","奶奶","两个","没有","不是", \
            "不知","这个","听见"}
f = open("红楼梦.txt", "r", encoding="utf-8")
txt = f.read()
f.close()
words  = jieba.lcut(txt)
newtxt = ' '.join(words)
wordcloud = WordCloud(background_color="white", \
                          width=800, \
                          height=600, \
                          font_path="msyh.ttf", \
                          max_words=200, \
                          max_font_size=80, \
                          stopwords = excludes, \
                          ).generate(newtxt)
wordcloud.to_file('红楼梦基本词云.png')
Copy after login

For more Python-related technical articles, please visit the Python Tutorial column. study!

The above is the detailed content of Is the Computer Level 2 Python exam difficult?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!