Who developed Python Programming Language?
Wick van Rossum
Rasmus Lerdorf
Guido van Rossum
Niene Stom
Which type of Programming does Python support?
object-oriented programming
structured programming
functional programming
all of the mentioned
Is Python case sensitive when dealing with identifiers?
no
yes
machine dependent
none of the mentioned
Which of the following is the correct extension of the Python file?
.python
.pl
.py
.p
Is Python code compiled or interpreted?
Python code is both compiled and interpreted
Python code is neither compiled nor interpreted
Python code is only compiled
Python code is only interpreted
All keywords in Python are in _________
Capitalized
lower case
UPPER CASE
None of the mentioned
What will be the value of the following Python expression? 4+3%5
7
2
4
1
Which of the following is used to define a block of code in Python language?
Indentation
Key
Brackets
All of the mentioned
Which keyword is used for function in Python language?
Function
def
Fun
Define
Which of the following character is used to give single-line comments in Python?
//
#
!
/*
Which of the following functions can help us to find the version of python that we are currently working on?
sys.version(1)
sys.version(0)
sys.version()
sys.version
What does pip stand for python?
Pip Installs Python
Pip Installs Packages
Preferred Installer Program
All of the mentioned
What will be the output of the following Python code snippet if x=1? X<<2
4
2
1
8
在Python中,元素是无序不重复的是()
列表
元组
集合
字符串
在Python语言中,数据的输入是通过()来实现的
input()函数
print()函数
output()函数
abs()函数
以下算术表达式 5/3 的计算结果是
1.667
1
3
2
以下算术表达式 5//3 的计算结果是
1.667
1
3
2
以下算术表达式 3/5 的计算结果是
1.667
3
2
0.6
以下算术表达式 3%4 的计算结果是
1
2
3
4
以下逻辑表达式 True or False 的值是
true
真
假
True