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...

Match the following terms to their meanings:

I. Field labels A. Contains boxes for different PivotTable parts II. Area Section B. Excel table that can show the same data in more than III. Values area one arrangement IV. PivotTable report C. PivotTable area that summarizes quantitative data V. Report Filter D. Identify the categories of data in each column E. Used to restrict the data displayed

Computer Science & Information Technology

The blinking vertical line that indicates where typed text will be entered is called the ________

A) insertion point B) path C) tab D) ribbon

Computer Science & Information Technology

Which is transmitted across the network?

A. Ciphertext B. Ciphertext & Plaintext C. Private Key D. Plaintext

Computer Science & Information Technology

A swap partition contains a filesystem.

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

Computer Science & Information Technology