Chapter 1

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The programming process consists of several steps, which include:

design, creation, testing, and debugging

A variable declaration announces the name of a variable that will be used in a program, as well as:

the type of data it will be used to hold

In programming, the terms "line" and "statement" always mean the same thing.

False

Syntax is:

Rules that must be followed when writing a program

Which of the following is a preprocessor directive? // This program calculates the user's pay. pay = hours * rate; cin >> rate; #include <iostream> int main( )

#include <iostream>

What statement best describes a variable and its primary purpose?

A variable is a named storage location in the computer's memory used for holding a piece of information.

This is a software entity that contains data and procedures.

An object

The purpose of validating the results of the program is:

To determine whether the program solves the original problem

These are collections of programming statements that perform a task.

procedures or functions

Programmer-defined names of memory locations that may hold data are:

variables


Set pelajaran terkait

Ch. 11: population distributions

View Set

Ch 27: Assessment of the Respiratory System, Respiratory Practice Questions

View Set

Intro to Psychology Ch 5 Online Study Quiz

View Set

303 Hinkle PrepU Chapter 10: Principles and Practices of Rehabilitation

View Set

Analyzing Financing Activities: FAR340 Exercise 4

View Set