CSCI 14 Ch4

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

Without this statement appearing in a switch construct, the program "falls through" all of the statements below the one with the matching case expression.

Break

If you intend to place a block of statements within an if statement, you must place these around the block.

Curly braces { }

When a program lets the user know that an invalid choice has been made, this is known as:

Input validation

These operators connect two or more relational expressions into one, or reverse the logic of an expression.

Logical

Whereas < is called a relational operator, x < y is called a(n) ________.

Relational expression

True/False: As a rule of style, when writing an if statement you should indent the conditionally-executed statements.

True

What is the value of the following expression? True && False

True && True = True True && False = False False && False = False

What is the Value of the following expression? True || False

True || False = True True || True = True False || False = False

The ________ of a variable is limited to the block in which it is declared.

scope


Kaugnay na mga set ng pag-aaral

NURS (FUNDAMENTAL): Ch 39 NCLEX Fluid, Electrolyte, and Acid-Base Balance

View Set

Economics Section 1 Chapter Review

View Set

Chapter 6 (Dissociative Disorders)

View Set

chapter 13 Stockholders' Equity accounting 2301

View Set

Intro-Into-Business: Ch. 9 Learn Smart

View Set

Biology Quiz 3: How Do Plants Work?

View Set