CS: Hwk 1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

This symbol marks the beginning of a comment in Python.

#

divides one number by another and gives the remainder

%

performs multiplication

*

raises a number to a power (exponent)

**

performs addition

+

performs subtraction

-

performs division

/

performs integer division.

//

A video display is a(n) device.

Output

A(n) is a set of instructions that a computer follows to perform a task.

Programming Language

If you were to look at a machine language program, you would see .

a stream of binary numbers

A(n) is a set of well-defined logical steps that must be taken to perform a task.

algorithm

A byte is made up of eight .

bits

Short notes placed in different parts of a program explaining how those parts of the program work are called .

comments

A(n) program translates a high-level language program into a separate machine language program.

compiler

A string literal in Python must be enclosed in

either single quotes or double quotes

A is a diagram that graphically depicts the steps that take place in a program.

flowchart

A error does not prevent the program from running, but causes it to produce incorrect results.

logic

An informal language that has no syntax rules and is not meant to be compiled or executed is called .

pseudocode

The rules that must be followed when writing a program are called .

syntax


Kaugnay na mga set ng pag-aaral

AP Government Chapter 9 Test Bank

View Set

Team Dynamics and Cohesion CHAPTER 9

View Set

Ch 25 Long-term Complications of Diabetes

View Set

Unit 2 - Languages with Special Roles: National and Official Languages

View Set

1066 Non-Invasive Exam Reading Quiz

View Set

CH15: Income, Wealth and Poverty

View Set

COM 275 Exam 1 Practice Questions

View Set