Computer Science Principles Quiz

Grade 9 · Technology · Quiz

Test your knowledge of computing fundamentals, algorithms, data representation, and internet protocols.

Questions

  1. Which of the following is an example of lossless data compression?

    1. JPEG image compression
    2. MP3 audio encoding
    3. ZIP file compression
    4. Streaming video buffering
    Show answer

    Answer: ZIP file compression

    ZIP compression is lossless — the original data can be perfectly reconstructed. JPEG and MP3 are lossy formats that discard some data to achieve smaller sizes.

  2. What does DNS stand for and what does it do?

    1. Data Network System; it encrypts web traffic
    2. Domain Name System; it translates domain names into IP addresses
    3. Digital Node Server; it routes packets between routers
    4. Dynamic Network Service; it assigns IP addresses automatically
    Show answer

    Answer: Domain Name System; it translates domain names into IP addresses

    DNS (Domain Name System) acts like a phone book for the internet, translating human-readable domain names (like google.com) into numeric IP addresses.

  3. An algorithm that checks every element of a list one by one until it finds a target value is called a:

    1. Binary search
    2. Merge sort
    3. Linear search
    4. Recursive descent
    Show answer

    Answer: Linear search

    Linear search examines each element sequentially. It is O(n) in the worst case, compared to binary search which is O(log n) but requires a sorted list.

  4. Which of the following correctly converts the binary number 1010 to decimal?

    1. 4
    2. 8
    3. 10
    4. 12
    Show answer

    Answer: 10

    1010 in binary = (1×8) + (0×4) + (1×2) + (0×1) = 8 + 0 + 2 + 0 = 10 in decimal.

  5. What is the primary difference between the internet and the World Wide Web?

    1. The internet is software; the web is hardware
    2. The internet is the global network infrastructure; the web is a service that runs on it
    3. The web is older than the internet
    4. They are different names for the same thing
    Show answer

    Answer: The internet is the global network infrastructure; the web is a service that runs on it

    The internet is the physical and logical network infrastructure. The World Wide Web is one service that operates over the internet, using HTTP to deliver web pages.

  6. In the context of cybersecurity, what is phishing?

    1. A method for compressing network packets
    2. Unauthorized access to a database
    3. A social engineering attack that tricks users into revealing sensitive information
    4. A type of encryption algorithm
    Show answer

    Answer: A social engineering attack that tricks users into revealing sensitive information

    Phishing is a social engineering attack using deceptive emails or websites to steal credentials or sensitive information from unsuspecting users.

  7. Open-source software allows users to view, modify, and distribute its source code.

    Show answer

    Answer: True

    Open-source licenses (like GPL or MIT) grant users the freedom to view, modify, and redistribute the source code, fostering collaboration and transparency.

  8. The unique numerical label assigned to each device connected to a network is called an ______ address.

    Show answer

    Answer: ip

    An IP (Internet Protocol) address is a unique numerical identifier assigned to every device on a network, enabling routing of data packets.

Get a personalized course on Computer Science Principles built around your child.