Quiz: Programming Concepts — Quick Check
Select one answer per question and press
Submit
. Correct answers will be revealed after submission.
1. When handling data within a program, which of the following is listed as a common data structure used when defining and declaring constants and variables?
A. Binary search
B. Records
C. Truncation
D. Post-check actions
2. Which type of operator is used to compare values, such as using the symbol <> (not equal to)?
A. Mathematical operator
B. Boolean operator
C. Relational operator
D. String handling function
3. The conversion of a string to an integer or float is categorized under which type of built-in function?
A. General functions
B. Arithmetic functions
C. Validation check techniques
D. String handling functions
4. Which of the following is specifically listed as a technique used for validating data to analyse and improve accuracy?
A. Random
B. Data type check
C. Length
D. Defining functions
5. When considering control structures, which keyword is listed as a specific type of loop?
A. THEN
B. ELIF
C. BREAK
D. OPEN
6. In the context of managing variables, which pair represents the scope of variables discussed in the sources?
A. Input and output
B. Local and global variables
C. Single-dimensional and multi-dimensional
D. Last In First Out and First In First Out
7. Which of these algorithms is listed under the category of "Sorting" standard algorithms?
A. Serial search
B. Input validation
C. Insertion sort
D. Count occurrences
8. When defining function calls within control structures, which of the following actions is necessary?
A. Applying the MOD operator
B. Declaring arguments
C. Implementing FIFO
D. Interpreting date/time
9. Which abbreviation is listed as the principle describing a stack, used when implementing sorting and searching?
A. FIFO (First In First Out)
B. LIFO (Last In First Out)
C. ELIF (Else If)
D. DIV (Division)
10. Besides lists and sets, what type of array structure is explicitly mentioned under Data structures (C6) for storing and processing data?
A. Object arrays
B. Multi-dimensional arrays
C. Boolean arrays
D. Character arrays
Submit
Reset