MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
To find the decimal value of 1111, that is 15, we can use the function? |
| A. | int(1111,10) |
| B. | int(‘1111’,10) |
| C. | int(1111,2) |
| D. | int(‘1111’,2) |
| Answer» E. | |
| 2. |
1011 |
| A. | 11 |
| B. | 13 |
| C. | 1101 |
| Answer» C. 1101 | |
| 3. |
‘0b10111’$ |
| A. | ‘0b11101’ |
| B. | ‘0b11111’ |
| C. | ‘0b11011’ |
| Answer» B. ‚Äö√Ñ√∂‚àö√ë‚àö‚â§0b11111‚Äö√Ñ√∂‚àö√ë‚àö¬• | |
| 4. |
8 |
| A. | 1 |
| B. | 2 |
| C. | 4 |
| Answer» C. 4 | |