Chapter 4 ( true or false)

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

x!=y is the same as (x>y ||x<y)

true

A variable defined in an inner block may or may not have the same name as a variable defined in the outer block

false

When an if statement is nested in the else part of another statement, as in an if/else if, the only time the inner if is executed is when the expression of the outer if is true

false

it's safe to assume that all uninitialized variables automatically start with 0 as their value

false

y<x is the same as x>=y

false

x>=y is the same as (x>y && x=y)

false ??

A conditionally executed statement should be indented one level from the if statement.

true

All lines in a block should be indented one level

true

The scope of a variable is limited to the block in which it is defined

true

When an if statement is nested in the if part of another statement, the only time the inner if is executed is when the expression of the outer if is true

true

You can use the relational operators to compare string objects

true


संबंधित स्टडी सेट्स

chapter 16 environmental science

View Set

Chapter 1 & 2 Quiz (and Practice)

View Set

Chapter 20 Homework Assignment (BAS 267)

View Set

Chapter 11: The production Function

View Set