2.2 Programming Fundamentals
Definitive 21-Question Sequence | Violet Tier Diagnostics
[Danger Zone] Real vs Float: Identify the correct J277 data type for a variable storing `15.5` and justify.
Calculate the result of the following ERL operations:
17 MOD 5
17 DIV 5
Evaluate the output of the following string operations on: phrase = "Computer Science"
phrase.left(4)
phrase.substring(9, 3)
[SQL Grid Scan]: Write an SQL statement to retrieve the names of all students who scored more than 80 from the Results table.
[Boolean Selector Trap]: Identify the error in the following condition:
Complete the function scaffold. It must return double the input val.
result =
result
endfunction
[Array 0-Indexing]: Given the array items = ["Apple", "Banana", "Cherry"], state the index of "Cherry" and explain why.
Identify the SQL wildcard used to select all columns from a table.
Describe what a 2D Array represents in real-world data storage.
Explain the difference between a Function and a Procedure.