YUBA COMPUTER ACADEMY
Name : Date :
1. How to add two numbers in python :
(a) plus() (b) + (c) add() (d) *
2. How to print a keyword in python :
(a) print() (b) echo() (c) cout() (d) [Link]
3. How to comment in python :
(a) # (b) // (c) /**/ (d) <!-->
4. How to take a input in python :
(a) int (b) input (c) cin (d) while
5. Which function is used to check any statements :
(a) for (b) else (c) elif (d) if
6. Which function is used for a finite loop :
(a) while (b) for (c) case (d) try
7. Which variable name is in correct :
(a) print87 (b) onezero (c) H3770 (d) 6seven
8. What is the output of the following expression :
(a) error (b) True (c) cout() (d) [Link]
9. How to make a function in python :
(a) def (b) function (c) void (d) main
[Link] data type is this :
(a) int (b) float (c) boolean (d)string