Computer Science Test Review
Computer Science Test Review
HTML stands for Hyper Text Markup Language, and it serves as the foundational
structure of websites. It allows web designers and developers to create content that is
displayed consistently across various operating systems and devices. Notably, HTML is
not just limited to static web pages; it also plays a role in interactive elements, including
games.
HTML is primarily utilized for creating and structuring web pages. It ensures that content
is accessible and displayed correctly across diverse platforms. As a dominant web
language, HTML is pivotal in the development of millions of websites, serving as the
backbone for web content.
Key Differences:
1. Syntax: HTML relies on tags and elements to organize content, whereas Python
uses indentation and keyword syntax that is more aligned with natural language.
2. Functionality: HTML is used primarily for presenting information, while Python
can execute complex computations and logic.
Purpose:
6. Concept of Abstraction
Abstraction is a fundamental concept in computer science that involves simplifying
complex systems by focusing on high-level functionalities rather than intricate details. It
is particularly relevant in object-oriented programming languages such as C++ and
Java.
Benefits of Abstraction:
1. Data Hiding: Conceals unnecessary details from users for better usability.
2. Simplification: Reduces complexity by focusing on essential features.
3. Reusability: Code modules can be leveraged across different projects, promoting
efficiency.
The binary number system is a base-2 numerical system that uses only two symbols: 0
and 1. Each digit in this system is a bit, and eight bits combined form a byte,
representing a single character.
Usage:
The binary system employs only two digits (0 and 1), while the hexadecimal system is
base-16 and includes digits from 0 through 9 and letters A through F (where A
represents 10, B represents 11, etc.).
Key Usage:
1. Binary: Closely aligned with the on/off states of electrical signals in computers.
2. Hexadecimal: Provides a more human-readable form of binary code, facilitating
easier interpretation and debugging.
9. Concept of Collaboration
Collaboration in computer science refers to the process of working together with others
to achieve common goals or solve problems.
Importance:
Code modules are important for organizing and managing code effectively.
Key Applications:
1. Internal Hardware: Located inside the computer, such as the CPU, motherboard,
and memory modules.
2. External Hardware: Components outside of the computer system, including
peripherals like mice, keyboards, and monitors.
Memory refers to electronic components that are used to store data and instructions
temporarily or permanently within a computer system.
Usage:
Memory is crucial for processing data as it holds the instructions needed by the CPU to
perform tasks.
Benefits:
Comparison:
A bit is the smallest unit of data in computing, representing a binary value (0 or 1). A
byte comprises eight bits, commonly used to represent a single character in
programming.