stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basics_Quiz Flashcards | StudBud
Explore
/
Basics_Quiz
Basics_Quiz
13 terms
·
StudBud Administration
·
2 plays
Imported from external platform
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
9. In which language is Python written?
c
Java
C++
Both B&C
2
10. The Command use to start python from the command prompt is
py
python
exec python
both B&C
3
6. Which of the following concepts is not a part of Python?
Pointers
All the above
Dynamic Typing
Loops
4
7. Which of the following statements are used in Exception Handling in Python?
except
all the above
finally
try
5
11. What is the maximum possible length of an identifier?
16
None of these above
32
64
6
8.Which of the following types of loops are not supported in Python?
for
while
do-while
none
7
12. In which year was the Python language developed?
1995
1989
1972
1981
8
3. What will be the output of the following code snippet? - print(2**3 + (5 + 6)**(1 + 1))
121
8
None of the above
129
9
1.All the keywords in Python are in
None of the above
Capitalized
Lower case
Upper case
10
13. Which of the following statements is correct regarding the object-oriented programming concept in Python?
Classes are real-world entities while objects are not real
All of the above
Objects are real-world entities while classes are not real
Both objects and classes are real-world entities
11
2.The built-in function in Python is:
Print ()
Factorial ()
Seed ()
Sqrt ()
12
4. What will be the output of the following code snippet? a = [1, 2, 3] a = tuple(a) a[0] = 2 print(a)
[2,2,3)
[2,2,3]
Error
(1,2,3)
13
5. What will be the output of the following code snippet?
0 3 6 9 12 15
0 3 6 9 12
Infinte Loop
0 1 2 .....15