CBSE Class 12 Computer Science PYQs
CBSE Class 12 Computer Science PYQs
Bus topology connects all devices to a single communication line; a failure in this main line can disrupt the entire network, making it less reliable. Star topology connects all devices to a central hub; if one connection fails, other devices remain unaffected, making it more reliable in isolation but vulnerable if the hub fails. Ring topology connects devices in a circular fashion; data travels in one direction, and a failure in any cable or device can split the network into two segments, improving reliability slightly over bus but less so than star. Star topology offers the most robust architecture against single-point failures when considering the entire network's functional continuity, provided the central hub is resilient .
A LAN (Local Area Network) is a network that covers a small geographic area, like a single building or a campus, and is typically used for connecting computers within this area to share resources and information. A WAN (Wide Area Network), on the other hand, covers a much larger geographic area, potentially worldwide, and is used to connect multiple LANs. WANs are ideal for businesses with multiple office locations spread out across different towns, states, or countries .
A firewall enhances network security by acting as a barrier between a trusted internal network and untrusted external networks, filtering incoming and outgoing traffic based on predetermined security rules. It prevents unauthorized access to or from a private network. However, firewalls can be bypassed using techniques such as IP spoofing, where attackers disguise their IP address to appear trustworthy, or by using tunneling protocols that encapsulate restricted protocols within allowed ones. Advanced persistent threats (APTs) and some forms of encrypted traffic can also evade detection by a firewall .
Errors in SQL syntax prevent queries from executing, often resulting in an error message specifying the issue. Identifying and correcting these errors requires understanding SQL syntax rules, such as the order of clauses and proper punctuation. For example, a common error like omitting a comma between selected columns in 'SELECT name marks FROM STUDENT;' will result in a syntax error. Correcting it involves inserting the comma: 'SELECT name, marks FROM STUDENT;'. Similarly, incorrect clause ordering or omitting 'FROM' can be identified and corrected by adhering to proper SQL statement syntax, like changing 'SELECT * WHERE Marks > 80 FROM STUDENT;' to 'SELECT * FROM STUDENT WHERE Marks > 80;' .
A Network Interface Card (NIC) is a hardware component that allows a computer to connect to a network. It provides the physical interface through which the network cable is attached. The NIC is responsible for converting data from the computer into a format that can be transmitted over the chosen network medium (wired or wireless). Each NIC has a unique hardware address known as a MAC (Media Access Control) address, which is used to ensure that data transferred over the network reaches the correct destination .
Web browsers and search engines are both essential for internet usage, but they serve different roles. A web browser is a software application used to access websites by entering their URLs, facilitating rendering of web pages and user interaction with web content. Examples include Google Chrome and Mozilla Firefox. A search engine, like Google or Bing, is a software system designed to search the internet for information. It helps users find specific content by entering keywords, returning a list of relevant webpages found in its indexed database. Browsers enable users to view and interact with content, while search engines help users discover new websites related to their search queries .
Optical fiber offers several advantages over coaxial cable, including significantly higher bandwidth and faster data transmission speeds, as well as greater resistance to electromagnetic interference, which enhances signal quality. Additionally, optical fibers are lighter and more durable over long distances. However, optical fibers can be more expensive to install and repair, and they require special equipment and skills for handling and splicing, which can be seen as disadvantages compared to coaxial cables .
HTTP (HyperText Transfer Protocol) is a protocol used for transmitting web pages on the internet. It is not encrypted, meaning data transferred using HTTP can be intercepted and read by unauthorized parties. HTTPS (HTTP Secure) incorporates encryption via the TLS/SSL protocols, providing secure communication over a computer network and safeguarding user privacy. This encryption ensures that data such as passwords and credit card information cannot be easily intercepted or tampered with during transmission, making HTTPS more suitable for any site that requires login information or financial transactions .
An IP address is a unique string of numbers separated by periods for IPv4, and by colons for IPv6, that identifies each computer using the Internet Protocol to communicate over a network. IPv4 uses 32-bit addresses, limiting the address space to about 4.3 billion unique addresses, which has proved insufficient with the rapid growth of devices connecting to the internet. IPv6 addresses this limitation by using 128-bit addresses, vastly increasing the number of possible unique addresses, accommodating the expanding number of devices connected to the internet, and supporting auto-configuration capabilities and improved routing .
The SQL GROUP BY clause is used to arrange identical data into groups based on one or more columns, often in conjunction with aggregate functions like COUNT, SUM, AVG, MAX, or MIN to provide meaningful insights. For example, in a company, you can group employees by department using the GROUP BY clause and then use COUNT() to find out how many employees are in each department, SUM() to calculate total salaries by department, or AVG() to determine the average salary. This helps in generating reports that reflect the organizational structure and financial summaries department-wise, aiding decision-making processes .