answers already passed
What is the definition of an algorithm - correct answer ✔✔ A procedure or formula for solving
a problem, based on conducting a series of specified action. Often expressed as algorithm =
logic + control or as controlled logical deduction
Algorithms + data = - correct answer ✔✔ Programs or applications or apps
What are the 3 constructs of an algorithm - correct answer ✔✔ 1) Sequence: Step in the
algorithm executed in a specified order (always ran)
2) Decision: Block of code that "might be ran 0 or 1 times" depending on outcome when tested.
3) Repetition: Block of code within the decision block are executed 0 to many or 1 to many
depending on outcome of condition tested.
Explain the main logical operators:
-And
-Or
-Not
-Xor
-Is, Is not
-In, Not In
-Like - correct answer ✔✔ And: All conditions are true
Or: Atleast 1 condition is true
Not: True when the condition tested is false
Xor: One and only one of the conditions is true
, Is, Is not: used to check reference types
In, Not in: used to check if values are matched
Like: Used to search for a specific pattern
Explain the operator, Between - correct answer ✔✔ Depends on programming language used.
Some will include boundaries while some will exclude
Explain the difference in "False" and FALSE - correct answer ✔✔ "False" is a string while FALSE
is Boolean
Explain the difference in a system value vs a formatted value - correct answer ✔✔ System
Value: what computer see and reads
Formatted Value: what user sees
Explain a nested if - correct answer ✔✔ If the condition is true, do this. Else let's test a new if.
With a nested if, if there are ___ "ifs" or decisions, how many outcomes are there. - correct
answer ✔✔ ____ + 1. There will be 1 more outcome than there are ifs
What is Debugging - correct answer ✔✔ Identifying and removing errors
What is a prototype - correct answer ✔✔ Early version of a product
What is the software development life cycle - correct answer ✔✔ 1) Define problem
2) Analyze problem
3) Develop Algorithm
4) Code & Document