logo

Crowdly

Browser

Add to Chrome

Evaluate each expression and select all options that correctly state its ret...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Evaluate each expression and select all options that correctly state its return value. You can use the table below to check some functions' syntax and explanation.

Function

Syntax

Explanation

Int(number)

Returns the

integer part of a number.

Round(

expression

[,number of decimal places]

)

Rounds a

number to a specified number of decimal places.

Sqr(number)

Returns the

square root of a number.

Rnd()

Generates a

random number less than 1 but greater than or equal to zero.

Val(String)

Extracts the

numeric value at the beginning of a string, ignoring any subsequent

non-numeric characters.

Abs(number)

Returns the

absolute value of a number.

InStr(

[,start],

string1, string2)

Returns the

position of the first occurrence of

string2 in string1. start

is the starting position of the search. If omitted, search begins at the

first character.

InStrRev(

string1,

string2, [,start])

Returns the

position of the last occurrence of

string2 in string1. start

is the starting position of the search. If omitted, search begins at the last

character.

Format(

expression,

format

)

Formats a

value (like a date or number) into a specified text string.

[Expected time to answer: 2 mins]

More questions like this

Want instant access to all verified answers on moodle.lisboa.ucp.pt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome