Visual Logic: Arithmetic Expressions & Intrinsic Functions (Vocabulary)

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms from the Visual Logic notes on arithmetic expressions, operators, and intrinsic functions.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

PEMDAS (Order of Operations)

The rule for evaluating expressions: Parentheses, Exponents, Multiplication & Division (left-to-right), Addition & Subtraction (left-to-right).

2
New cards

Parentheses

Grouping symbols that change the order of operations when evaluating expressions.

3
New cards

Exponentiation

Raising a number to a power; symbol ^; example 2^3 = 8.

4
New cards

Multiplication (*)

Arithmetic operation denoted by *; evaluated left-to-right with Division.

5
New cards

Division (/)

Arithmetic operation denoted by /; evaluated left-to-right with Multiplication.

6
New cards

Integer Division (backslash)

Operator that performs division and discards the remainder, yielding an integer quotient (e.g., 5 divided by 2 using integer division yields 2).

7
New cards

Integer Remainder (Mod)

Operator that returns the remainder after division (e.g., 5 Mod 2 = 1).

8
New cards

Addition (+)

Arithmetic addition operator; example 2+15=17.

9
New cards

Subtraction (-)

Arithmetic subtraction operator; example 7-4=3.

10
New cards

Output Statement

Visual Logic command used to display information; uses the Output keyword and a parallelogram; strings appear exactly as typed inside quotes; expressions evaluate to a value; concatenation uses the & operator.

11
New cards

Concatenation Operator (&)

Operator that joins strings, variables, and expressions into one output expression.

12
New cards

FormatCurrency

Intrinsic function that formats numbers as currency with a dollar sign and thousands separators.

13
New cards

FormatPercent

Intrinsic function that formats a decimal as a percentage (e.g., 0.0625 → 6.25%).

14
New cards

Abs

Intrinsic function that returns the absolute value of a number (e.g., Abs(-3.3) = 3.3).

15
New cards

Int

Intrinsic function that truncates a real number to its integer part (e.g., Int(3.8) = 3).

16
New cards

Round

Intrinsic function that rounds a real number to the nearest integer (e.g., Round(3.8) = 4, Round(7.1) = 7).

17
New cards

Random

Intrinsic function that returns a random integer in a specified range (e.g., Random(5) yields 0 to 4).

18
New cards

Input Dialog

UI prompt used to obtain user input (e.g., 'Please type a value for CENTS:').

19
New cards

String Literal

Text enclosed in quotes; used in programming to represent strings (e.g., 'Hello World').

20
New cards

Average Formula

Compute the average of three numbers as (Num1+Num2+Num3)/3.