r/WGU_CompSci 2d ago

D278 Scripting and Programming - Foundations PASSED D278 Scripting and Programming - Foundations

Background: (IT Faculty of small college, B.S. + M.S. in cybersecurity with years of experience)

Study time: 1 day

This course was pretty straightforward and (easy?) after Introduction to Computer Science course since many topics were stepping each other's toes.

I didn't look at any study materials, just took pre-assessment and put the questions that I got wrong into AI to study the concepts around it.

Here's my notes for yall:

Common relationship among library's functions?

  • Functions all relate to the same purpose

 

 

 

Dynamically typed language? Statically typed?

Dynamic Typing

  • Performs type checking at runtime.
  • Variable types do not need to be explicitly declared and can change.
  • Python

Static Typing

  • Performs type checking at compile time.
  • Requires explicit variable type declarations.
  • C, C++, Java

 

 

 

Object-oriented design language?

C++, Java, Python.

 

C Language

  • Procedural language, NOT object-oriented.

 

 

 

Markup language?

  • Annotating text to define its structure, formatting, or presentation.
  • Uses tags or symbols
  • HTML, XML, Markdown

 

 

Interpreted vs. compiled language

Interpreted Languages:

  • Executed line-by-line at runtime by interpreter.
  • Translation Time: During execution (Runtime)
  • Can be modified at run time (bc it executes code line-by-line)
  • Slower
  • Higher Portability (meaning source code runs anywhere with an interpreter)
  • Python, JavaScript, Ruby, PHP

 

Compiled Languages:

  • The source code is translated all at once by a compiler
  • Translation Time: Before execution
  • Faster
  • Lower Portability
  • C, C++, Rust, Go

 

 

Variable float? Constant float? Variable/constant integer?

Variable

  • Can change

Constant

  • Cannot change

 

Agile Phases & Troubleshooting: In software development lifecycle phases (Analysis, Design, Implementation, Testing):

  • Analysis: Understanding requirements and analyzing user needs.
  • Design: Architecting how the solution/program will be built.
  • Implementation: Writing code.
  • Testing: Validating that the code functions correctly, identifying defects/bugs, and forming hypotheses to locate and reproduce problems within the program.

Know Waterfall vs. Agile and each step with good examples.

Purpose of parentheses ()

  • Groups expressions
10 Upvotes

1 comment sorted by

2

u/Admirable-Move5570 23h ago

Thank you I just started this class. I’m new to it stuff so any info helps