0% found this document useful (0 votes)
55 views12 pages

Python Introduction Part-1

The document is a quiz on Python fundamentals consisting of multiple choice questions. It covers topics like Python syntax, reserved keywords, programming patterns, and basic operations. The quiz contains 10 questions testing understanding of concepts like how Python prompts work, common file extensions, conditional execution, and the purpose of functions like input().

Uploaded by

manoj D
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
55 views12 pages

Python Introduction Part-1

The document is a quiz on Python fundamentals consisting of multiple choice questions. It covers topics like Python syntax, reserved keywords, programming patterns, and basic operations. The quiz contains 10 questions testing understanding of concepts like how Python prompts work, common file extensions, conditional execution, and the purpose of functions like input().

Uploaded by

manoj D
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 12

7/10/23, 12:57 PM Python Introduction Part-1

Python Introduction Part-1 Total points 10/10

The respondent's email (manojresearch2022@gmail.com) was recorded on submission of


this form.

When Python is running the interactive mode and displaying the chevron *1/1
prompt  (>>>)- What question Python is asking you?

What is the next machine language instruction to run

What Python script would you like to run

What is your favourite color

What Python statement would you like to run

Python scripts have names that end with 1/1

.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

Which of these words are reserved words in Python 1/1

todo

concat

break

if

What is the proper way to say good-bye to Python 1/1

exit

quit()

stop

end

Which of the parts of a computer actually executes the program 1/1


instructions

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

>>> x=2 1/1


>>>while(x>0)
>>>    print(x)
>>>    x=x-1
>>>Print("condition failed")
What is the output of the above code?

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

What does the Python input function do? 1/1

Pause the program and read data from the user

Connect to the network and retrieve a webpage

Read the memory of the running program

Take screenshot from an area of the screen

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

You might also like