0% found this document useful (0 votes)
3 views1 page

Question Python

The document is a quiz from Yuba Computer Academy that tests knowledge of basic Python programming concepts. It includes questions on adding numbers, printing keywords, commenting, taking input, checking statements, loops, variable naming, function creation, and data types. Each question provides multiple-choice answers for the learner to select from.

Uploaded by

arko2game9564
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Question Python

The document is a quiz from Yuba Computer Academy that tests knowledge of basic Python programming concepts. It includes questions on adding numbers, printing keywords, commenting, taking input, checking statements, loops, variable naming, function creation, and data types. Each question provides multiple-choice answers for the learner to select from.

Uploaded by

arko2game9564
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like