PY4E: Chapter 1

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Python scripts (files) have names that end with:

.py

What will the following program print out: >>> x = 15 >>> x = x + 5 >>> print(x)

20

What is "code" in the context of this course?

A sequence of instructions in a programming language

Which of the parts of a computer actually executes the program instructions?

Central Processing Unit

Which of the following is not one of the programming patterns covered in Chapter 1?

Random steps

A USB memory stick is an example of which of the following components of computer architecture?

Secondary memory

What is the best way to think about a "Syntax Error" while programming?

The computer did not understand the statement that you entered

When Python is running in the interactive mode and displaying the chevron prompt (>>>) - what question is Python asking you?

What Python statement would you like me to run?

Which of these words are reserved words in Python ?

if, break, while

What is the proper way to say "good-bye" to Python?

quit()


संबंधित स्टडी सेट्स

English File Advanced Vocabulary : Money

View Set

Resistance and the Abolition Movement

View Set

PN 131 Comprehensive Final NCLEX Practice

View Set