NEW
Font size
WorksheetsPython Programming
Total questions: 25
Worksheet time: 13mins
Who is the father of Computer?
Allen Turing
Charles Babbage
Simur Cray
Augusta Adaming
Which of the following is also known as brain of computer?
Control unit
Central Processing unit
Arithmetic and language unit
Monitor
ASCII stands for
American Stable Code for International Interchange
American Standard Case for Institutional Interchange
American Standard Code for Information Interchange
American Standard Code for Interchange Information
Microprocessors as switching devices are for which generation computers
First Generation
Second Generation
Third Generation
Fourth Generation
Which of the following is a part of the Central Processing Unit?
Printer
Key board
Mouse
Arithmetic & Logic unit
Which device is required for the Internet connection?
Repeater
Modem
CD Drive
NIC Card
Which of the following is incorrect variable name in Python?
variable_1
variable1
1variable
_variable
Which functions are used to accept input from the user.
input()
raw_input()
rawinput()
string()
What is the data type of print(type(10))
float
integer
int
String
What is the output of the following code
x = 6 y = 2
print(x ** y) print(x // y)
66 0
36 0
66 3
36 3
Which of the following statement is False?
They can contain both letters and numbers.
Variable names can be arbitrarily long.
Variable name can begin with underscore.
Variable name can begin with number.
Which of the following is not used as loop in Python?
for loop
while loop
do-while loop
None of the above
What is NIC used for?
To remotely access PC
To connect computer to a network
It is used in junipers routers for gateway card
None
. In a type of computer network, what does MAN stands for?
Metropolis area network
Mini area network
Metropolitan area network
Micro area network
Which of the following is the type of the computer network?
Metropolitan area network (MAN)
Local area network (LAN)
Wide area network (WAN)
All of the above
The _______ provides pictorial representation of given problem.
Algorithm
Flowchart
Pseudocode
All of these
_______ is a procedure or step by step process for solving a problem.
Algorithm
Flowchart
Pseudocode
All of these
The ______ symbol is used at the beginning of a flow chart.
Circle
Rectangle
Diamond
None of these
What will be the output of above Python code?
str1="6/4"
print("str1")
1
6/4
1.5
str1
What will following Python code return?
str1="Stack of books"
print(len(str1))
13
14
15
16
Which one of the following is correct way of declaring and initializing a variable, x with value 5?
int x
Int x=5
int x=5
x=5
declare x=5
All keyword in python are in
Lowercase
Uppercase
Both uppercase & Lowercase
None of the above
How many keywords are there in python 3.7?
32
33
30
31
In Python3, which functions are used to accept input from the user
input()
raw_input()
rawinput()
string()
Who developed the Python language?
Zim Den
Guido van Rossum
Niene Stom
Wick van Rossum
