C++ Programing

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

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

False

The programming process consists of several steps, which include? input, processing, and output design, creation, testing, and debugging key words, operators, and punctuation syntax, logic, and error handling None of these

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.

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>

Variable

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. A program A function A class An object

An object

Syntax is: Words that have a special meaning in the programming language Rules that must be followed when writing a program Symbols or words that perform operations Punctuation

Rules that must be followed when writing a program

The purpose of validating the results of the program is: To create a model of the program To correct syntax errors To correct runtime errors To determine whether the program solves the original problem

To determine whether the program solves the original problem

Programmer-defined names of memory locations that may hold data are: operands variables syntax operators None of these.

Variables

These are collections of programming statements that perform a task. procedures or functions messages objects messages

procedures or functions


Kaugnay na mga set ng pag-aaral

The Greek City-States 4:Ancient Greece

View Set

The Heroes adventure and My hero 886- 896

View Set

Network Pro Part 2 +++++++++++++++++++++++

View Set

General Surveying II (Control Survey)

View Set

Series 7- Chapter 3 Equity Securities

View Set