自己总结和找了一些linkedin Python技能测试的原题,一般15道测试题里有一半来自底下的题目。对着题目好好复习,好好查一查还是挺容易通过的。
懒得自己找答案和详细解析的可以参考这个链接: 优快云资源链接
1.What is an abstract class?
2.What happens when you use built-in function “any()” on a list?
3.What data structure does a binary tree degenerate to if it isn’t balanced properly?
4.What is a static method?
5.What are attributes?
6.What is the term used to describe this code? Count, fruit, price = (2, ‘apple’, 3.5)
7.What built-in method would you use to remove items from a list?
8.What is one of the most common uses of Python’s sys library?
9.What is a runtime of accessing a value in a dictionary by using its key?
10.What is the correct syntax of defining a class called Game?
11.What is a correct way to write a doctest?
12.What built-in python data type is commonly u