There is FIFO access.
3 multiple choice options
What is a subprogram?
A sequence of program instructions that perform a specific task
In pseudocode, how would you call a function named CalculateSum with two parameters a
and b?
CalculateSum(a, b)
3 multiple choice options
,What is the primary purpose of using subprograms in a program?
To allow for code reuse and better organization
Which operation is used to add an element to the top of a stack?
Push
3 multiple choice options
Which scenario is a stack most suitable for?
Managing tasks in a printer queue
3 multiple choice options
,Which is an example of an integer data type?
42
3 multiple choice options
Which data type is used to represent textual data?
String
3 multiple choice options
Which variable name is valid in most programming languages?
variable_123
3 multiple choice options
, Which statement correctly assigns the value 10 to the variable x?
x = 10
3 multiple choice options
Which is used for iteration in programming?
While loop
3 multiple choice options
What is the result of the expression 2 + 3 x 4?
14
3 multiple choice options