Computer Science Class Quiz
48 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What typically holds the most data in a hard disk drive?

  • Cylinders
  • Sectors
  • Platters (correct)
  • Tracks
  • High-level formatting erases the actual data stored on a disk.

    False

    What is the purpose of disk defragmentation?

    To organize fragmented data to improve data retrieval speed and increase storage capacity.

    Each sector typically holds _____ bytes of data.

    <p>512</p> Signup and view all the answers

    Match the types of formatting with their descriptions:

    <p>Low-Level Formatting = Sets up the structure of the disk High-Level Formatting = Erases pointers stored in the File Allocation Table Partitioning = Divides a disk into separate sections Disk Defragmentation = Organizes fragmented data</p> Signup and view all the answers

    What is the consequence of repeated low-level formatting?

    <p>Damage to the disk</p> Signup and view all the answers

    In a hard disk drive, tracks are aligned to form a cylinder.

    <p>True</p> Signup and view all the answers

    What does the partition table manage?

    <p>The locations and sizes of partitions on a disk.</p> Signup and view all the answers

    What is one main advantage of using a Graphical User Interface (GUI)?

    <p>More intuitive and user-friendly</p> Signup and view all the answers

    Gesture User Interfaces are ineffective in smart homes.

    <p>False</p> Signup and view all the answers

    What technology is often used with Gesture User Interfaces to detect movements?

    <p>Camera and infrared sensor</p> Signup and view all the answers

    In healthcare, gesture interfaces allow doctors or patients to control devices without _____ contact.

    <p>physical</p> Signup and view all the answers

    What happens if one operation in a bank account transfer fails?

    <p>The entire transaction is cancelled.</p> Signup and view all the answers

    Match the following uses with their corresponding benefits/platforms:

    <p>Smart Homes = Control devices through gestures Gaming = Interact using body movements Virtual Reality (VR) = Engage with digital environments Healthcare = Control without physical contact</p> Signup and view all the answers

    Which of the following is considered a disadvantage of GUIs?

    <p>Learning curve with updates</p> Signup and view all the answers

    Mainframe computers can experience downtime during hardware updates.

    <p>False</p> Signup and view all the answers

    What is a core strength of supercomputers?

    <p>They provide maximum computational power.</p> Signup and view all the answers

    Gesture-based interfaces require users to use a mouse.

    <p>False</p> Signup and view all the answers

    What is a disadvantage of GUI related to disabilities?

    <p>Not suitable for all disabilities</p> Signup and view all the answers

    Mainframes can perform hundreds of millions of ______________ per second.

    <p>instructions</p> Signup and view all the answers

    Match the use of supercomputers with their application:

    <p>National Defense = Data encryption and weapon design Scientific Research = Quantum mechanics Weather Forecasting = Analyzing large datasets Genetic Analysis = Identifying disease-susceptible genes</p> Signup and view all the answers

    Which field does Quantum Mechanics primarily study?

    <p>Behavior of matter and light at atomic and subatomic scales</p> Signup and view all the answers

    Supercomputers are not effective for drug research.

    <p>False</p> Signup and view all the answers

    Name one primary use of supercomputers in scientific research.

    <p>Quantum mechanics</p> Signup and view all the answers

    What is the primary purpose of mainframe security?

    <p>To handle large volumes of sensitive data securely</p> Signup and view all the answers

    Supercomputers are measured in Millions of Instructions Per Second (MIPS).

    <p>False</p> Signup and view all the answers

    What is the typical future target for supercomputer speed expected within this decade?

    <p>Exaflops</p> Signup and view all the answers

    Mainframe metrics are often linked to cost, calculated as cost per million __________ per second.

    <p>instructions</p> Signup and view all the answers

    Match the following types of security features with their descriptions.

    <p>User Identification and Authentication = Includes multi-factor authentication Access Levels = Restricts data access based on clearance Data Encryption = Protects transmitted and stored data Continuous Monitoring = Detects unauthorized access attempts</p> Signup and view all the answers

    What is the cost per MIPS for a mainframe that costs $500,000 and provides 1,000 MIPS?

    <p>$500</p> Signup and view all the answers

    End-to-End Encryption ensures that only the sender and recipient can decrypt the data.

    <p>True</p> Signup and view all the answers

    What is one of the main challenges with using MIPS as a performance metric?

    <p>Not all instructions are equal in complexity.</p> Signup and view all the answers

    What is the primary use of mainframe computers?

    <p>Bulk data-processing applications</p> Signup and view all the answers

    Supercomputers are built for reliability and multitasking.

    <p>False</p> Signup and view all the answers

    Name an example of a supercomputer mentioned in the content.

    <p>Summit supercomputer</p> Signup and view all the answers

    The IBM z15 can have up to ____ processor cores.

    <p>190</p> Signup and view all the answers

    Match the following computer types with their primary usage:

    <p>Supercomputer = Scientific research and simulations Mainframe computer = Bulk data processing Personal Computer (PC) = General purpose computing Utility software = System maintenance tasks</p> Signup and view all the answers

    Which of the following is NOT a characteristic of modern mainframe computers?

    <p>Large size, equivalent to a room</p> Signup and view all the answers

    Mainframe computers can handle parallel processing efficiently.

    <p>True</p> Signup and view all the answers

    Supercomputers can have over ____ processing cores.

    <p>100,000</p> Signup and view all the answers

    What is a primary advantage of using a Command-Line Interface (CLI)?

    <p>Less resource-intensive</p> Signup and view all the answers

    Gesture-based interfaces are intuitive for all users.

    <p>False</p> Signup and view all the answers

    Name one disadvantage of using a Command-Line Interface (CLI).

    <p>Users must have specific knowledge of commands and syntax.</p> Signup and view all the answers

    A disadvantage of gesture-based interfaces is that actions may not always be recognized accurately, leading to __________ actions.

    <p>incorrect</p> Signup and view all the answers

    Match the following interface types with their identified advantages:

    <p>Command-Line Interface = Less resource-intensive Gesture-Based Interface = Hands-free interaction Dialogue Interface = Voice-based control</p> Signup and view all the answers

    Which of the following is an advantage of a gesture-based interface?

    <p>Suitable for smart homes</p> Signup and view all the answers

    Cultural differences can affect the interpretation of gestures in gesture-based interfaces.

    <p>True</p> Signup and view all the answers

    What is a major factor in choosing an interface type for a user?

    <p>User's needs and physical abilities.</p> Signup and view all the answers

    Study Notes

    Hardware and Software

    • This is Chapter 2 of a course on hardware and software.
    • The chapter covers mainframe computers, supercomputers, system software, utility software, custom-written software, off-the-shelf software, and user interfaces.

    Mainframe Computers and Supercomputers

    • Characteristics: Longevity, reliability, availability and serviceability (RAS), security, performance metrics (MIPS and FLOPS), volume of input, output and throughput, fault tolerance, operating system, number of processors, heat maintenance.
    • Uses (Mainframes): Census, transaction processing, industry statistics, consumer statistics.
    • Uses (Supercomputers): Weather forecasting, climate research, quantum mechanics.
    • Advantages/Disadvantages: Detailed comparisons between mainframes and supercomputers will be discussed later in the chapter.

    Introduction - Mainframe Computers

    • Primary use: Bulk data processing for large organizations (censuses, statistics, transactions).
    • Characteristics: Larger, more powerful, and more expensive than personal computers.
    • Cost: Prices in 2020 started from $75,000
    • Functionality: Multitasking and multi-user systems allow many people to work on different tasks simultaneously using hundred of processor cores for parallel processing. Highly reliable and resistant to viruses and Trojan horses.
    • Coexistence with PCs: Organizations can use both mainframes and personal computers together, with PCs handling parallel processing tasks, and mainframes maintaining their dominant multitasking capabilities.
    • Example: IBM z15 with up to 190 cores.

    Introduction - Supercomputers

    • Performance: Can have over 100,000 processing cores, exponentially faster than mainframes and PCs (calculations).
    • Example: The Summit supercomputer (launched in 2018 in USA), can perform in 1 second what would take the world population 305 days. Occupies a space equivalent to two tennis courts.
    • Application: Ideal for large-scale data tasks like payroll batch processing for hundreds of workers in seconds; other examples include applications like weather forecasting and climate research.
    • Example: Cray XC40 supercomputer, up to 172000 processor cores

    Comparison Summary

    • Supercomputers: Designed for maximum computational speed to handle extremely complex, high-level calculations; focus is on scientific research, weather forecasting, simulations, and large-scale data analysis, optimized for a small number of highly complex tasks at very high speed.
    • Mainframes: Purpose is built for reliability, multitasking, and managing large-scale data transactions; focused use is in bulk data processing, such as transaction processing, censuses, and business operations, designed to handle a large number of smaller, simple tasks simultaneously.

    Characteristics of Mainframe Computers and Supercomputers

    • Detailed characteristics (longevity, reliability, security, performance metrics, input/output volumes, fault tolerance, operating systems, processor counts, etc.) are listed independently.

    Longevity

    • Mainframes: Long lifespan (operating continuously for decades).
    • Threats: Older programming languages (e.g., COBOL), skills shortages in maintaining them, technological competition (e.g., cloud computing).
    • Comparison to supercomputers: Mainframes generally have a longer lifespan.

    Reliability (RAS)

    • Reliability: Ability of the system to operate without failure. Mainframes' self-checking processors recover from errors quickly; their software also ensures regular updates.
    • Availability: Mainframes are typically operational for extended periods, and can quickly recover from failures, using a process called Mean Time Between Failures (MTBF).
    • Serviceability: Easy to identify, diagnose, and resolve issues without major shutdowns.

    Security

    • Mainframe: Designed to handle sensitive data and is crucial for banking and employee management. It utilizes multi-factor authentication, varying access levels, encryption (of data), secure operating systems.
    • Supercomputer: Uses end-to-end encryption to protect sensitive data (e.g., DNA profiles).

    Performance Metrics

    • Mainframes: Measured in millions of instructions per second (MIPS). MIPS aren't equal due to varying complexities, and benchmarks provide more accurate comparisons. MIPS cost-efficiency is linked to the cost per million instructions per second.
    • Supercomputers: Measured in floating-point operations per second (FLOPS). Examples: Petaflops (1 quadrillion), and the expected use of Exaflops (1,000 petaflops) within this decade. FLOPS are more reflective of supercomputer performance than MIPS.

    Volume of input, output, and throughput

    • Mainframes: Have specialized peripheral processors for input/output (I/O) operations freeing up the central processing unit (CPU) allowing them to manage high volumes of simultaneous input, processing, and output. They handle terabytes of data.
    • Supercomputers: Optimized for raw processing power, not throughput.

    Fault Tolerance

    • Mainframes: High fault tolerance, due to fewer components; Mainframes can automatically switch to alternative processors to maintain functionality.
    • Supercomputers: Lower fault tolerance than mainframes due to their large number of components.

    Operating system

    • Mainframes: Often run multiple operating systems simultaneously, use parallel processing and make efficient use of processor cores.
    • Supercomputers: Typically run a single operating system (usually Linux) and employ massively parallel processing, using hundreds of thousands of cores.

    Number of processors

    • Early Mainframes: Initially had just one processor.
    • Mainframes: Typically have hundreds of processor cores.
    • Supercomputers: Typically have hundreds of thousands of processor cores.

    Heat maintenance

    • Mainframes: Early models used liquid cooling and later transitioned to more efficient air cooling for cost savings. Now, liquid cooling is considered more effective for larger models.
    • Supercomputers: Often rely increasingly on direct liquid cooling due to the massive heat generated by a large amount of processors.

    Uses of Mainframe Computers (including)

    • census
    • transaction processing
    • industry statistics
    • consumer statistics

    Uses of Supercomputers (including)

    • weather forecasting
    • climate research
    • quantum mechanics

    Advantages and disadvantages of mainframe computers and supercomputers

    Data Compression

    • Lossless: Perfectly restores the original data after decompression. Common for spreadsheet, database, and word processing files. (e.g. GIF, PNG)
    • Lossy: Removes unnecessary data bits. Common in image formats and audio files. (e.g. JPEG)
    • Advantages: Faster transmission, reduced storage space.
    • Disadvantages: Quality reduction in some cases.

    Disk Defragmentation

    • Process: Rearranging fragmented data blocks on a hard drive to make files contiguous and optimize access times.
    • Benefit: Faster file retrieval, improved disk performance, better utilization of disk space.

    File copying

    • Methods: CLI, GUI
    • Result: Duplicate file in different location.

    File deleting

    • Process: Erasing pointers to locate file.
    • Impact: While readily available for deletion, file can still be recoverable until it is overwritten

    Anti-virus

    • Detection and removal: Identifying and eliminating viruses and other malicious software.
    • Prevention: Continuous monitoring for suspicious activity (e.g.; email or file alterations).
    • Updates: Regular updates to stay effective against new threats (viruses, adware, worms, Trojan horses).
    • Scanning options: Users can scan specific files, folders or the entire system in order to detect threats.
    • Automatic scanning: Schedules scans on a regular basis.

    Different methods of detecting viruses:

    • Signature-based Detection: Matching known virus signatures (byte sequences) and detecting only already known types. Limitations include inability to detect unknown viruses.
    • Heuristic-based Detection: Analyzing a program’s source code and comparing it to known viruses. This methods can detect viruses that are not well known, but it can lead to false positives (mistaking harmless files as malware).
    • Behavioral-based Detection: Monitoring for unusual behavior that might indicate a virus activity (e.g. sending large numbers of emails, altering critical files), and running suspected malicious software within secure sandbox environments.

    Utility Software

    • Need and uses: For tasks beyond operating systems
    • Examples: File management, Memory management, Data compression, Disk defragmentation, Backup software.

    Operating Systems

    • Functions: Manage hardware, software, resources, and user interactions for a computer.
    • Memory: Allocates RAM to programs.
    • Input/output: Manages data from various input/output components.
    • Files: Tracks files, space, and details.
    • Multitasking: Handles multiple processes/ programs.
    • Error Handling: Displays errors to users.
    • Security: Protection, encryption, permissions.

    Disk Management

    • Functionality: Formats (low-level), partitions, compresses, defragments, manages drives, backs up disks.
    • Specific Use Cases: Assigns names to disks, initializes drives, extends or shrinks partitions, and changes drive letters.

    Custom Written Software

    • Use Cases: Designed to meet specific, unique needs. Examples include integrated solutions like websites, databases, and spreadsheets.
    • Development Time: Significantly high; development is based on the client specifications and requirements.
    • Ownership: Entirely owned by the company purchasing or commissioning the custom-written software.

    Off-the-Shelf Software

    • Use Cases: Designed for widespread use. Cost-effective if the needs aren't too specific. Examples include programs and packages like payroll, word processing, spreadsheet, database programs.
    • Advantages: Cost-effective, immediately readily available, comprehensive support, rigorously tested
    • Disadvantages: Potential limitations on customization, might include unnecessary features, compatibility difficulties depending on the client's system.

    User Interfaces

    • CLI (Command Line Interface): Text-based input; Preferred by developers, administrators, and advanced users needing precise control
    • GUI (Graphical User Interface): Windows, icons, menus, pointers; Easy to use for most users; Can use more resources; Learning curve with updates
    • Dialogue Interface: Voice-based input; Useful for users with disabilities and certain tasks; possible background noise, and limited vocab.
    • Gesture-Based Interface: Physical gestures to control devices; Useful for specific situations (e.g., controlling devices, medical use, gaming)

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge on hard disk drives, formatting types, and user interfaces in this comprehensive quiz. Dive into the intricacies of data storage, defragmentation, and the advantages of GUIs. Perfect for students in computer science classes looking to reinforce their understanding.

    More Like This

    Disk Drive Basics
    10 questions

    Disk Drive Basics

    GoldenGlacier avatar
    GoldenGlacier
    Hard Disk Drives Overview
    28 questions

    Hard Disk Drives Overview

    GracefulIslamicArt5348 avatar
    GracefulIslamicArt5348
    Storage Media Overview: HDDs and More
    12 questions
    Computer Science: Hard Disk Drives Quiz
    10 questions
    Use Quizgecko on...
    Browser
    Browser