Comp Sci Unit 1 Flashcards
Strong Password
a password that is easy for a user to remember but would be difficult for someone else to guess based on knowledge of that user
Algorithm
a finite set of instructions that accomplish a specific task
Abstraction
the process of reducing complexity by focusing on the main idea
Sequencing
the application of each step of an algorithm in the order in which the code statements are given
Selection
determines which parts of an algorithm are executed based on a condition being true or false
Iteration
a repeating portion of an algorithm
Encryption
the process of encoding data to prevent unauthorized access
Decryption
the process of decoding the data
Programming Languages
used to implement algorithms executed by programs
Problem
a general description of a task that can (or cannot) be solved algorithmically
Instance of a Problem
a specific task that needs to be solved with specific input
Decision problem
a problem with a yes/no answer
Optimization problem
a problem with the goal of finding the “best” solution among many
Decidable problem
a decision problem for which an algorithm can be written to produce a correct output for all inputs
Undecidable Problem (Halting Problem)
one in which no algorithm can be constructed that always leads to a correct yes-or-no answer