Quiz 1

¡Supera tus tareas y exámenes ahora con Quizwiz!

A Python line comment begins with _____

#

Python syntax is case-sensitive.

True

Why do computers use zeros and ones?

because digital devices have two stable states and it is natural to use one state for 0 and the other for 1

Python features include: (1) interactive mode (2) portable (3) easy to add modules

1, 2, and 3

Which of the following are true about Python: (1) Python is interpreted (2) Python is Object Oriented (3) Python is interactive

1, 2, and 3

________ is the physical aspect of the computer that can be seen.

Hardware

Which of the following statements is true?

Python 3 is a newer version, but it is not backward compatible with Python 2.

In Python, a syntax error is detected by the ________ at _________

interpreter/at runtime

Which of the following code is correct?

print("MET CS-521") print("Python") print("Computer Science")

Select ALL of the correct statement(s) to get credit:

print('Hello world') # This is a statement. A statements may have a side effect.


Conjuntos de estudio relacionados

NETWORK ROUTING PRINCIPLES LESSON 5

View Set

Unit 12-Other Securities Products

View Set

Chapter 2 - Nature and Formation of a Partnership

View Set

Computer Science HTML Study Guide

View Set