Sample Questions
Ballerina language concepts
What is true about Ballerina's type system?
- a) Ballerina type system supports union types.
- b) Ballerina is a dynamically-typed language and all variables are implicitly typed.
- c) Ballerina's type system is limited to primitive types such as integers, strings, and booleans.
- d) Ballerina does not support the object type.
Ballerina database connectors and transactions
What is the purpose of the sql:ParameterizedQuery type in the Ballerina SQL connectors?
- a) To allow writing SQL queries with parameters.
- b) To store the results of a SQL query.
- c) To define the structure of a database table.
- d) None of the above.