Computer Programming Flashcards
(39 cards)
process of creating or writing a set of instructions for a computer to do tasks
Computer Programming
Set of instructions
Algorithm
Syntax is to ______; Semantics is to _______
rules; meaning
locating and removing errors in a program
Debugging
Pictorial representation of an algorithm
Flowchart
3 Programming Control Structures
Sequence, Selection, Loop
How many bits does a float have?
32
How many bits does a double have?
64 bits
Order of operators from first to last
Arithmetic, Relational, Logical, Assignment
translates from high level to low level programing
Compiler
translates from high level to machine code
Interpreter
translates computer instructions to machine code
Assembler
type of computer programming in which programmers define the date type of a data structure, and types of operations that can be applied to the date structure.
It is an approach to problem solving where all computations are carried out using objects
Object Oriented Programming
In OOP, class is to ____ and object is to the instance of that ______.
blueprint
binds code or object in a single unit
Encapsulation
only shows important parts while hiding impelementations
Abstraction
a child class (subclass) inherits properties from a parent class (superclass)
Inheritance
performing a single action in different ways; an object can take many forms
Polymorphism
simplified, informal way of writing steps of an algorithm
Pseudocode
a standard visual language used to design systems in a way that is versatile, flexible, and easy to understand. It helps in specifying, visualizing, constructing, and documenting the various components of a software system.
Unified Modeling Language (UML)
Structural UML Diagram that has class, data members, methods, and their relationships.
Class Diagram
Structure UML Diagrams that has instances of class and their linkages
Object Diagram
Structural UML Diagram that has organizations & dependencies of software components.
Component Diagram
Structure UML Diagram that has physical deployments of artifacts (files) on nodes (software)
Deployment Diagram