WorksheetsBOP-1
Total questions: 15
Worksheet time: 15mins
A sequence of instructions in a computer language to get the desired result is known as :
An algorithm
A decision table
A program
A Flowchart
A program which translates a high-level language program into a machine language program is called ?
(A) Compiler
(B) Interpreters
(C) Both (A) and (B)
(D) None of the above
Which of the following statements is correct for variable names in Python language?
All variable names must begin with an underscore.
Unlimited length
The variable name length is a maximum of 2.
All of the above
Terminal
t
Decision
Process
Input/Output
Who developed Python Programming Language?
a) Wick van Rossum
b) Rasmus Lerdorf
c) Guido van Rossum
d) Niene Stom
In which year was the Python language developed?
1995
1972
1981
1989
In which language is Python written?
C
C++
Java
None
Which of the following is the correct extension of the Python file?
.python
.pl
.py
.pn
Which of the following character is used to give single-line comments in Python?
//
#
%
/*
Which of the following words cannot be a variable in python language?
_val
val
_try_
try
Which of the following is not a core data type in Python programming?
Tuples
Lists
Class
Dictionary
Which of the following types of loops are not supported in Python?
for
while
do-while
None of the above
Yes
No
Both
None
Which of the following functions is a built-in function in python language?
val()
print()
printf()
None of these
What will be the output of this statement?
str1 = "sonatech"
str1[-1:]
h
s
sona
tech
