Unit1 - Introduction & Syntax of Python Program
Unit1 - Introduction & Syntax of Python Program
Unit1 - Introduction & Syntax of Python Program
Stay Tuned for Daily Quizzes on All 6th Semester Computer Group Subjects like
PHP, Python, MAD, and other
Online Quiz to help you in preparing for Online Exams, It covers Multiple Choice
Questions (MCQs) for 20 Marks
imp Links:
All Theory tutorials: https://bit.ly/335XFKi
contact us on [email protected]
Email (Optional)
B. James Gosling
C. Dennis Ritchie
D. Bjarne Stroustrup
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 1/7
2. Python was developed in which year? * 1/1
A. 1972
B. 1995
C. 1989
D. 1981
A. C
B. C++
C. Java
A. .p
B. .py
C. .python
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 2/7
5. Python is an Object-Oriented Programming Language. * 1/1
True
False
A. 2000
B. 2008
C. 2011
D. 2016
A. Parenthesis
B. Indentation
C. Curly braces
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 3/7
9. By the use of which character, single line is made comment 1/1
in Python? *
A. *
B. @
C. #
D. !
A. package
B. module
C. directory
True
False
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 4/7
12. Which statement is correct? * 2/2
13. What is the output of the following program: print((1, 2) + (3, 2/2
4)) *
B. (4, 6)
C. (1, 2, 3, 4)
D. Invalid Syntax
A. set
B. int
C. str
D. tupl
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 5/7
15. Which one of the following is an immutable data type? * 1/1
A. list
B. set
C. int
D. dict
(A) Lists
(B) Dictionary
(C) Tuples
(D) Class
17. What data type is the object below? L = [1, 23, 'hello', 1] * 1/1
a) list
b) dictionary
c) array
d) tuple
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 6/7
18. Which function is used to take input in python? * 1/1
A. scanf()
B. int()
C. promt()
D. input()
Happy Learning!
cwipedia.in
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
Forms
https://docs.google.com/forms/d/e/1FAIpQLSfjDdVe3JeBd9NC3fPsjxCd8KL996QLUeW7TuuGx5_K31yNgg/viewscore?viewscore=A… 7/7