logo

Crowdly

Browser

Додати до Chrome

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

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

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]

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.lisboa.ucp.pt?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome