• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/23

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

23 Cards in this Set

  • Front
  • Back
What are the Design Tools?
Data Dictionary, Pseudocode, Data Structure Diagrams (DSDs), Object Descriptions, Use Cases,
What is a Data Dictionary?
Lists all the variables that are being used (or that are going to be used) in the program)
Includes their Name, Type, Size, Scope, and Description
What is Pseudocode?
Structured English that is used to outline what the program will do with the data to produce the necessary functionality.
It is NOT considered a programming language
What is a Data Structure Diagram? (DSD)
Used to represent entities within the program and how each relate with each other.
What are Object Descriptions?
Help plan the structure and content of the objects that will be used in the solution.
What are Use Cases?
Help an external observer visualise what the system does
What is Syntax?
Refers to the rules that are followed in a programming language.
It defines symbols, words and structures that must be used in order for the compiling application to understand the program that has been written
What are Object Oriented Languages?
Refers to programming languages that centre around objects.
Objects include buttons, text boxes, labels and images.
When the user interacts with an object, sections of the code are activated.
What are Procedures?
Also known as subroutines, functions or methods.
They make the program code more readable by breaking it up into sections. It's a self contained code that performs an action, and allows a large program to be divided up between various programmers
What are Parameters?
Values or references that a procedure uses.
What are Methods and Events?
Events refer to things that happen to an object that are triggered by the user or by another object
Methods refer to commands that interact with the object directly to alter their behaviour.
What are the Control Structures?
Sequence, Selection, and Iteration
What is Internal Documentation?
Can be used to explain a procedure or variables.
It also assists programmers to understand what the code is expected to do.
Storage Size of an Integer
4 bytes
Storage Size of a Character
1 byte
Storage Size of a String
Varies
Storage Size of a Boolean
1 byte
Storage Size of a Floating Point
12 bytes
Main advantage of using Procedures?
They allow various parts of a program to call the same code therefore allowing reuse of the same code- therefore reducing duplication
Three conventions that should be followed when naming elements
1. The name should reflect the type of element
2. It should describe the purpose of the element,
3. Should not have any spaces
Difference between a Method and an Event
A method alters the behaviour of an object while an event is when a user interacts with the object.
Difference between a Stack and a Queue
A stack is based on the First In Last Out (FILO) principle, while a queue is based on the First In First Out principle (FIFO)
Why is it important to consider the size of the data type considered?
As there could be wasted space, due to how the data type selected will set aside/take up the required amount of storage needed, even if it's not using all that space.
It impacts the efficiency of the program.