Answer the following statements true (T) or false (F)

1. If the string variable, name has the value "Anne.Smith", then the following statement would return annesmith.
Set newName = toLower(name)
2. If the integer variable, number has the value 5, then the following statement would return 25 to result.
Set result = sqrt(number)
3. Given an integer variable, number. The only possible values for number that could result from the following statement are 1 and 2.
Set number = random(0, 2)
4. The following pseudocode would display Hello, friend.
Declare String str1 = "Hello,"
Declare String str2 = " friend"
Set message = append(str1, str2)
Display message

1. FALSE
2. FALSE
3. FALSE
4. TRUE

Computer Science & Information Technology

You might also like to view...

When using the Freeze Panes feature, what is a pane bounded by?

A) The status bar B) Vertical or horizontal bars C) A solid red line D) The ribbon

Computer Science & Information Technology

Personal skills refer to people's ability to manage different situations andthemselves

Indicate whether the statement is true or false

Computer Science & Information Technology