Python Introduction Part-1
Python Introduction Part-1
When Python is running the interactive mode and displaying the chevron *1/1
prompt (>>>)- What question Python is asking you?
.doc
.png
.py
.exe
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 1/12
7/10/23, 12:57 PM Python Introduction Part-1
todo
concat
break
if
exit
quit()
stop
end
CPU
Main memory
Secondary memory
Input/Output devices
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 2/12
7/10/23, 12:57 PM Python Introduction Part-1
Which of the following is not one of the programming patterns present in 1/1
Python
Repeated steps
Random steps
Sequential steps
Conditional steps
21
210
2 1 condition failed
2 1 0 condition failed
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 3/12
7/10/23, 12:57 PM Python Introduction Part-1
What will be the value of x after the following statement executes: 1/1
x=1+2*3-8/4
3.0
15
5.0
What will be the value of x after the following statement executes: 1/1
x=int(98.6)
99
98
100
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 4/12
7/10/23, 12:57 PM Python Introduction Part-1
Forms
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 5/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 6/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 7/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 8/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwPZ… 9/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwP… 10/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwP… 11/12
7/10/23, 12:57 PM Python Introduction Part-1
https://docs.google.com/forms/d/e/1FAIpQLSe76Q2I43W3DfFxyUrLNEwWbHdFbJT6Pg2npXXAVkGHno_qMQ/viewscore?viewscore=AE0zAgAwP… 12/12