Basic Scripting and Programming (2020)

From CyberEdWiki
Jump to: navigation, search

The intent of this Basic Scripting and Programming Knowledge Unit is to provide students with the basic ability to create simple scripts/programs to automate and perform simple operations, and to provide students with the skills necessary to implement algorithms using programming languages to solve problems. This knowledge includes basic security practices in developing scripts/programs (e.g., bounds checking, input validation).

Outcomes[edit]

To complete this KU, students should be able to:

  1. Demonstrate their proficiency in the use of scripting languages to write simple scripts (e.g., to automate system administration tasks).
  2. Write simple linear and looping scripts.
  3. Write simple and compound conditions within a programming language or similar environment (e.g., scripts, macros, SQL).
  4. Demonstrate proficiency in the use of a programming language to solve complex problems in a secure and robust manner.

Topics[edit]

  1. Implement basic security concepts
    • Permisisons, Bounds checking, input validation, type checking and parameter validation
  2. Be familiar with the concept and basic implementation of regular expressions.
  3. Understand basic data structures and algorithms
  4. Basic Boolean logic/operations.
    • AND / OR / XOR / NOT
  5. Scripting on both Windows and Linux
    • Language (e.g. PERL, Python, BASH, JAVA, VB Scripting, Powershell)
  6. Properly apply basic programming constructs and concepts including:
    • Variables and types (int, float, char, etc.)
    • Strings, arrays, structures
    • Sequential and parallel execution
    • Assignments (:=, =, ++, --, etc.)
    • Decisions and branching (if, if ... else, elseif, switch, case, etc.)
    • Loops (for, while, repeat, etc.)
    • Functions, procedures, and calls
    • Debugging Techniques

Skills[edit]

  1. Create and run basic scripts using a text editor or IDE.
  2. Edit, read, and alter a basic script.
  3. Prepare a script to run in a batch-mode or scheduled basis.

NICE Framework Categories[edit]

Specialization Areas[edit]

See also[edit]

Related Knowledge Units

Further reading[edit]

Suggested textbooks[edit]

Suggested academic readings[edit]

Sample knowledge test[edit]

Sample skills test[edit]

Sample abilities test[edit]

Additional notes or materials[edit]

  • An online regular expression evaluator, useful for developing and testing regular expressions - https://regex101.com/

Contacts[edit]

Reference ID[edit]

BSP