Algorithms & Programming Fundamentals
Which programming language uses C+ or Java for expressing algorithms?
C++
Python
Scratch
Java
When aiming to develop AI applications such as expert systems, which feature is most advantageous?
Inheritance in object-oriented programming
Rule-based constructs in logic programming
Loops in procedural programming
Recursion in functional programming
In a software development process, what is the main purpose of using algorithms?
To outline a step-by-step solution to a problem
To increase the storage capacity required by software
To enhance the graphical user interface of an application
To decide which programming language should be used for coding
What potential security risk does utilizing floating-point arithmetic possess when programming financial transaction software?
Floating-point arithmetic increases processing time, possibly allowing more time for unauthorized interception attempts during transactions.
Floating-point arithmetic can introduce rounding errors that might be exploited in fraudulent activities through transaction miscalculations.
Implementing floating-point operations often leads to more complex code bases that increase chances of unintended security loopholes.
Utilizing floating-point arithmetic requires additional memory allocation which could lead to vulnerabilities via buffer overflow attacks.
What would be the result of calculating the expression "10 % 4" in a programming context?
2
4
8
6
What value will be stored in variable "result" after executing this expression if variables "a"=5 and "b"=10? result = (a > b) ? a:b;
10
True
False
5
If , what is the value of ?
-1
-1/2
-0
-2

How are we doing?
Give us your feedback and let us know how we can improve
What does modulo operation find when given two numbers?
Remainder after division
Product after multiplication
Quotient after division
Difference after subtraction
Select the correct comparison operator that means "not equal to."
<
<=
!=
If and , what is the value of ?
15
5
-5
-15