Py4e: Chapter 1

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of these words are reserved words in Python ?

if, break, while

Python scripts (files) have names that end with:

.py

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

20

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

Central Processing Unit (CPU)

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

quit()

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

Random steps

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

The computer did not understand the statement that you entered

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

Secondary Memory

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

A sequence of instructions in a programming language


Ensembles d'études connexes

23.3 Composed of Cartilages, Ligaments, and Muscles, the Larynx produces sound.

View Set

CHAPTER 15: PSYCHOLOGICAL DISORDERS

View Set

7.14.T - Lesson: Russia & Central Asia: Physical Geography, Part 2 Review

View Set

3.3 Exploration 3 (Energy and Matter Distribution in Ecosystems)

View Set

Chemistry- AQA GCSE- Covalent bonding

View Set

Unit 1 and Unit 2 Cisco Networking

View Set