PDF Notes: computer science paper 1

    Master this deck with 27 terms through effective study methods.

    Generated from uploaded pdf

    Created by @kira678

    What is the term for breaking a problem into smaller parts?

    Facilitates easier problem-solving and understanding.

    What are two benefits of subprograms?

    Promote code reuse and improve maintainability.

    What line number indicates a condition-controlled loop?

    It allows repeated execution based on a condition.

    What line number indicates iteration over a data structure?

    Enables processing of each element in a collection.

    What line numbers indicate a selection in the algorithm?

    Determines which code block executes based on conditions.

    Define a syntax error.

    Occurs when code violates language rules.

    Explain a runtime error.

    Happens during execution, often due to invalid operations.

    What are the two possible results of evaluating a conditional test?

    True or false.

    What is the result of 5 // 2?

    It performs integer division.

    Name a search algorithm.

    Used to locate an item in a data structure.

    Name a sort algorithm.

    Organizes data in a specific order.

    How does the number of comparisons affect sorting execution time?

    More comparisons increase the time taken to sort.

    How many bits are used to represent each letter in ASCII?

    Seven bits.

    What letter does ASCII code 68 represent?

    The letter D.

    Define a sample interval.

    The time between two consecutive samples in audio.

    What expression calculates the size of a bitmap image?

    Width times height times color depth.

    What is the result of a logical shift left by 3 on 1010 0011?

    Shifts bits to the left, filling with zeros.

    What does overflow mean in computing?

    Exceeds the storage capacity of a variable.

    Convert +112 to 8-bit binary.

    01110000.

    What is the two's complement of -73 in 8 bits?

    10111001.

    How many symbols are in the hexadecimal system?

    Sixteen symbols.

    How many unique addresses can an 8-bit address bus access?

    256 unique addresses.

    What expression converts bytes to tebibytes?

    Divide by 2^40.

    What type of network covers a small geographical area?

    Local Area Network (LAN).

    What characteristic of a wireless network is measured in metres?

    Range.

    What are two disadvantages of a bus network topology?

    Limited cable length and performance issues with high traffic.

    Describe penetration testing.

    Simulates attacks to identify security vulnerabilities.