revision wace exam
暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。
卡片预览 (24 张)
Framework for Development - Investigate
Problem description: Understand the issue that needs solving. Define requirements: Determine what the system must do to meet user needs. Development schedule: Plan stages and deadlines to ensure timely project completion.
Framework for Development - Design
Data structures: Choose appropriate data storage methods like arrays or dictionaries. Design and test algorithms: Use pseudocode or flowcharts to model logical steps before coding.
Framework for Development - Develop
Develop code: Translate design into working code using a programming language. Debug code: Identify and remove syntax or logic errors. Unit testing: Test individual components for correct functionality. Use of live data: Validate system performance with real-world data.
Framework for Development - Evaluate
User acceptance testing (UAT): Ensure software meets user needs and performs correctly in realistic scenarios. Developer retrospective: Reflect on what worked and what didn’t to improve future development cycles.
Iterative development
Repeats each phase until product meets desired outcomes. Characteristics: Incremental changes improve functionality step-by-step, allows flexibility for user feedback, manages risks early, and promotes continuous improvement.
Parameters vs Arguments
Parameters: Placeholder variables used in function definitions. Arguments: Actual values passed to parameters when calling the function.
clear and uncluttered mainline
makes overall program flow and logic easier to understand and maintain
Version control
Tracks and manages changes to code over time. Allows collaboration, rollback of versions, and branching for experimentation. Common tools include Git and SVN.
Exception handling
Used to gracefully handle runtime errors and prevent program crashes. Example: Using try-except blocks in Python allows the program to recover or display user-friendly error messages.
Linear search algorithm
• compare elements in list with target element • if match, return index of current element • if elements don’t match, move to the next element • repeat steps 2-4 until end of list is reached O(n)
Binary search algorithm
• compare middle element with target element • if they match, return index • if middle element is greater than target, repeat process on left half • if middle element is less than target, repeat on right half • repeat steps 2-5 until element is found or end of list is reached. O(log n)
Bubble sort
• start at beginning of list • compare each pair together • if they are wrong, swap them • repeat steps 2-3 until the end of list is reached • if any swaps were made during previous pass, repeat steps 1-4 o(n^2)
Insertion sort
• start with second element • compare current element with elements to left • if current element is smaller, shift larger elements to the right • repeat steps 2-3 until elements are in correct position • move to next element and repeat steps 2-4 • continue this process until its all sorted o(n^2)
OOP principles
Abstraction: Hides complex details from users. Instantiation: Creating an instance (object) from a class. Inheritance: Allows one class to use properties of another. Polymorphism: Enables methods to behave differently based on the object calling them.
Breakpoints
A debugging tool that halts code execution at a specific line, allowing the programmer to inspect variable values and control flow.
Malware types
Viruses: Attach to legitimate programs. Trojans: Disguised as safe software. Worms: Self-replicate across networks. Spyware: Monitors user activity. Ransomware: Encrypts data for ransom.
Runtime errors
Arithmetic overflow: Result exceeds storage capacity. Index out of range: Attempting to access an array element outside its valid index range.
DoD model
Application (DNS, HTTP) - enables humans to interact with app Transport (TCP, UDP) - transfers data across a network Internet (IP, ARP, router) - handles packaging, addressing and routing of data Network (NICs, switches) - handles moving data into and out of a networks physical link
OSI model
1) Physical – handles physical connections between devices (USB, bluetooth) 2) Data Link – node-to-node communication (Ethernet), 3) Network – data transmission between different networks (IP, BGP) 4) Transport – ensures reliable delivery of data segments (TCP/UDP) 5) Session – manages connections between applications (RPC, PAP) 6) Presentation – transforms data into a standard interface (ASCII, JPEG), 7) Application – enables user to interact with application (HTTP, DNS).
MAC address
Unique identifier for a network interface card. Used in Layer 2 switching to decide how traffic moves across a local network.
Packet architecture
UDP: Lightweight, fixed header (8 bytes), no sequence/acknowledgment numbers. TCP: Reliable, includes sequence and acknowledgment numbers, variable header length (20–60 bytes).
Packets
Units of formatted data sent across packet-switched networks. Contain headers (routing info) and payload (data being transmitted).
Default gateway
Router that forwards packets from a local network to other networks (e.g., from LAN to Internet).
Ports
Numerical identifiers that allow multiple services to run on one device. Example: HTTP uses port 80, HTTPS uses port 443.