click below
click below
Normal Size Small Size show me how
Python
Fundamentals of python chapter 1
| Question | Answer |
|---|---|
| The items listed in the parentheses of a function definition are called | parameters |
| An algorithm is | a step-by-step process that will eventually solve a problem |
| Computer languages designed to be used and understood by humans are | high-level computer languages |
| A computer's CPU executes instructions that are written in | the CPU only executes 0s and 1s |
| The term syntax refers to | the rules for forming legal statements |
| Why don't we program computers using a common human language such as English? | Human languages are complex and often ambiguous or imprecise. |
| The term semantics refers to Question 5 options: | the meaning of statements |
| An algorithm must be | none of the above |
| What is the purpose of comments in a computer program? | they help a human reading the comment understand the code. |
| Which of the following statements is true? | RAM requires power to maintain its values. |
| The Python input function | both displays text on the screen and allows someone using your program to enter value from the keyboard |
| One difference between a compiler and an interpreter is | a compiler is no longer needed after a program is translated |
| the Python print function | causes text to be printed on the screen |