Modal Coimpiutaireachd agus Ailtireachd

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Dè am mìneachadh as fheàrr air sruth smachd ann an co-theacsa coileanadh prògram?

  • An t-sreath de dh'àithnean a thèid a chur an gnìomh ann am prògram.
  • An t-slighe a ghabhas an dàta rè coileanadh.
  • An dòigh anns a bheil dàta air a stòradh sa phrìomh chuimhne.
  • An t-sreath de thaghadh slighe airson coileanadh. (correct)

Dè a tha a’ tachairt ann an coileanadh air a stiùireadh le dàta?

  • Tha àithne air a cur an gnìomh nuair a thèid a thaghadh le sruth smachd.
  • Tha àithne air a cur an gnìomh nuair a tha a h-uile argamaid aice rim faighinn. (correct)
  • Tha àithne air a cur an gnìomh ma tha feum air a thoradh airson coileanadh àithne eile a thathar a’ cur an gnìomh mar-thà.
  • Tha coileanadh na h-àithne an urra ri freagarrachd phàtrain sònraichte.

Dè an dòigh a tha modal Turing a’ cleachdadh gus faighinn a-mach an gabh gnìomh a choileanadh?

  • A’ cleachdadh nithean mar aonadan bunaiteach a tha a’ cuairteachadh feartan agus modhan.
  • A’ cleachdadh argamaidean mar an aonad bunaiteach airson measadh.
  • A’ dearbhadh an gabh gnìomh a choileanadh stèidhichte air teòiridh Turing. (correct)
  • A’ cleachdadh dàta mar an aonad bunaiteach airson gnìomhachd.

Dè a th’ ann am prìomh fòcas modal stèidhichte air loidsig predicate?

<p>A’ cur predicates ri seata de nithean. (B)</p> Signup and view all the answers

Dè a tha am facal 'ailtireachd' a’ toirt iomradh ann an coimpiutaireachd, a rèir Amdahl et al. (1964)?

<p>Na buadhan den t-siostam a tha am prògramadair a’ faicinn, stèidhichte air modal coimpiutaireachd agus cànanan prògramaidh. (B)</p> Signup and view all the answers

Dè th’ ann am prìomh bhun-bheachd a tha co-cheangailte ri ailtireachd tùsail von Neumann?

<p>Sreath de dh’àithnean a chaidh a chur an gnìomh air sruth dàta a tha a’ tighinn a-steach gus sruth dàta a tha a’ dol a-mach a thoirt gu buil. (D)</p> Signup and view all the answers

Dè a tha a’ nochdadh ailtireachd Harvard fìor?

<p>A’ stòradh còd agus dàta ann an dà chuimhne eadar-dhealaichte a tha ag obrachadh gu neo-eisimeileach. (A)</p> Signup and view all the answers

Dè a th’ ann an co-shìnteachd aig ìre stiùiridh?

<p>A’ toirt iomradh air mar a tha iomadh obair air an coileanadh aig an aon àm leis a’ phrògram. (A)</p> Signup and view all the answers

Dè a tha a’ comharrachadh co-shìnteachd aig ìre snàthainn?

<p>A’ ceadachadh prògram obrachadh ann an ioma snàthainn aig an aon àm. (D)</p> Signup and view all the answers

Dè th’ ann an diofar eadar giollachd ioma-bhunaiteach co-chothromach agus neo-chothromach?

<p>Ann an giollachd ioma-bhunaiteach co-chothromach, faodaidh na bunaitean a bhith co-ionann, fhad ‘s a tha aon no barrachd de na bunaitean nas cumhachdaiche na cuid eile ann an giollachd ioma-bhunaiteach neo-chothromach. (E)</p> Signup and view all the answers

Dè am prìomh dhleastanas a th’ aig Ailtireachd Seata Stiùireadh (ISA)?

<p>A’ toirt seachad dìreach na mion-fhiosrachadh bathar-cruaidh airson prògramadh agus cruinneachadh. (A)</p> Signup and view all the answers

Ann an ailtireachd clàr-chlàraidh, ciamar a gheibh stiùireadh cothrom air cuimhne airson operands agus toraidhean?

<p>Chan fhaigh ach stiùireadh luchdachadh agus stòraidh cothrom air a’ chuimhne gus a’ chlàr-chlàraidh anns a bheil na operands agus an toradh à (un)luchdachadh. (A)</p> Signup and view all the answers

Ann an co-theacsa sheata stiùiridh coimpiutair (ISA), dè a tha nas cumanta ri seata stiùireadh lùghdaichte (RISC)?

<p>Tha nas lugha de chearcaill gach stiùireadh aice (CPI). (D)</p> Signup and view all the answers

Dè a tha sònraichte mu choimpiutair seata stiùireadh neoni (ZISC)?

<p>Stèidhichte air maidseadh pàtrain agus às-làthaireachd stiùiridh anns an t-seadh clasaigeach. (A)</p> Signup and view all the answers

Ann an co-theacsa eadar-aghaidh bus, dè a tha am modal cleachdaiche a’ riochdachadh?

<p>Tha inneal a bhios na Master (M) no Slave S. (A)</p> Signup and view all the answers

Dè a tha cudromach aig na h-amannan sgaoilidh ann am multibus?

<p>Tha iad a’ nochdadh air an aon òrdugh meudachd ris an ùine comharran, a’ dèanamh riaghladh chomharran gleoc deatamach. (A)</p> Signup and view all the answers

Dè a tha a’ dèanamh eadar-dhealachadh eadar busaichean roinnte agus busaichean hierarchical ann an ailtireachd multibus?

<p>Tha busaichean roinnte nan earrann den bhus, agus tha busaichean hierarchical a’ ceangal eileamaidean tro bhus leudaichte ionadail ceangailte tro bhus cruinneil. (B)</p> Signup and view all the answers

Ach an Linn Breac, dè a tha a’ comharrachadh busaichean achaidhean ann an siostaman didseatach?

<p>Bithear gan cleachdadh an aghaidh bhusaichean coimpiutair agus a’ tabhann seasmhachd ann an suidheachaidhean fuaimneach. (C)</p> Signup and view all the answers

Dè am prìomh dhleastanas a tha aig SoCs (Siostam air Chip) ann an co-theacsa busaichean didseatach?

<p>Gus iomadachadh de cho-phàirtean bho ìre an t-siostaim a thoirt gu buil (meadhanan, microprocessors, agus riaghladairean I/O) air a’ chip singilte. (C)</p> Signup and view all the answers

Flashcards

Prògram

Sreath staitigeach de aithrisean àrd-ìre air am briseadh sìos gu stiùireadh sìmplidh.

CPU

Aonad meadhanach giollachd a’ làimhseachadh stiùireadh agus dàta airson àireamhachadh.

Cur gu bàs prògram

Pròiseas fiùghantach air a tharraing le bun-bheachd sruthadh.

Smachd sruth

Sreath de thaghadh slighe airson cur gu bàs.

Signup and view all the flashcards

Sruth dàta

Slighe a ghabhas an dàta rè cur gu bàs.

Signup and view all the flashcards

Uidheam smachd

A’ sònrachadh mar a thèid àireamhachadh a chur gu bàs agus mar a tha aon stiùireadh ag adhbhrachadh cur gu bàs fear eile.

Signup and view all the flashcards

Cur gu bàs air a stiùireadh le smachd

Stiùireadh air a chur gu bàs nuair a thaghas sruth smachd e.

Signup and view all the flashcards

Cur gu bàs air a stiùireadh le dàta

Stiùireadh air a chur gu bàs nuair a tha na h-argamaidean aige uile rim faighinn.

Signup and view all the flashcards

Cur gu bàs air a stiùireadh le iarrtas

Stiùireadh air a chur gu bàs ma tha feum air a thoradh airson cur gu bàs stiùiridh eile.

Signup and view all the flashcards

Cur gu bàs air a stiùireadh le pàtran

Stiùireadh air a chumhnachadh le freagarrachd phàtranan sònraichte.

Signup and view all the flashcards

Uidheam dàta

A’ sònrachadh mar a gheibh stiùireadh na h-obraichean aige agus mar a thèid an toradh a chuir gu feadhainn eile.

Signup and view all the flashcards

Cuimhne co-roinnte

Tha prìomh chuimhne a’ stòradh aon leth-bhreac den fhiosrachadh a tha ri fhaighinn airson àireamhachadh.

Signup and view all the flashcards

Dol seachad teachdaireachd

Thathas a’ cur leth-bhreac de na h-obraichean gu gach aonad àireamhachaidh.

Signup and view all the flashcards

Modal àireamhachaidh

Tarraing àrd-ìre a’ mìneachadh mar a thèid àireamhachadh a dhèanamh.

Signup and view all the flashcards

Modal stèidhichte air nithean

A’ cleachdadh nì mar bhun-stèidh.

Signup and view all the flashcards

Modal sruth dàta

Modal cur gu bàs air a stiùireadh le dàta le dol seachad teachdaireachd

Signup and view all the flashcards

Modal tagraidh

A’ cleachdadh argamaid mar bhun-stèidh airson gnìomhan a chur an sàs airson measadh.

Signup and view all the flashcards

Modal stèidhichte air loidsig predicate

Stèidhichte air seata de nithean far a bheil predicates air an cur an sàs.

Signup and view all the flashcards

Ailtireachd ann an siostaman coimpiutair

Tha modail àireamhachaidh an urra ri ailtireachd coimpiutair agus cànan prògramaidh.

Signup and view all the flashcards

Prìomh sheòrsan cànain

The main language types are procedural-imperative, object-oriented, functional, and logical.

Signup and view all the flashcards

Study Notes

Computational Model and Architecture

  • A program is a static sequence of high-level statements, broken down into simple, structured instructions.
  • The CPU manipulates instructions and data to perform computations.
  • Program execution is a dynamic process, defined by the flow of instructions.
  • Instruction flow is the continuation of executed instructions—the path taken in the code.
  • Control flow is the succession of path selections during execution.
  • Data flow is the path data takes during execution.
  • The control mechanism specifies how execution occurs and how one instruction leads to another.
  • In control-driven execution, an instruction is executed when the control flow selects it.
  • In data-driven execution, a statement executes when all its arguments are available.
  • Demand-driven execution means an instruction runs if its result is needed by another instruction already executing.
  • Pattern-driven execution relies on the correspondence of certain patterns or goal statements.
  • The data mechanism specifies how an instruction gets its operands and how results are communicated.
  • Shared memory means the main memory stores a single copy of information, shared and accessed by reference.
  • Message passing involves sending a copy of operands to each unit for computation; data access is by value.
  • A computation model is a high-level abstraction explaining how computations are carried out, including entities, operations, and execution/data models.
  • The Turing model can be used to determine whether a function is computable.
  • The object-oriented model uses objects containing attributes and methods.
  • The Dataflow model uses data-driven execution with message passing, where instructions produce data for other instructions.
  • The Application model uses arguments as entities to which functions are applied for evaluation.
  • The Predicate logic-based model is based on a set of objects to which predicates (properties) are applied, and uses pattern-driven execution and shared data.

Architecture in Computer Systems

  • Computation models rely on computer architecture and programming languages.
  • Main language types are procedural, object-oriented, functional, and logical.
  • "Architecture" refers to system attributes visible to the programmer. It is based on the computation model and programming languages used.
  • Architecture also refers to the study and classification of computers.
  • The semantic gap is the difference between the High-Level Programming Language's (HLL) computation model and the architecture required to execute them.

Architecture Models

  • The original von Neumann architecture is the foundation of current processors, enhanced with features like pipelines, cache memory, and prefetching.
  • It involves a procedural problem description model with instructions executed on a data flow.
  • It involves a centralized execution model based on state transition semantics.
  • It features a unique stream of instructions executed on data stored in memory (single-instruction stream).
  • The modern von Neumann model has been extended for additional high-level language functionality and greater speed.
  • The concept of stacking encapsulates recursion in computation.
  • New data types include binary coded decimal, fixed/floating-point real numbers, and character strings.
  • It employs complex addressing modes like indexing and indirection.
  • Tables are used with pointers and dynamic entities.
  • Increased memory capacity utilized virtual memory mechanisms such as paging and segmentation.
  • Parallel computation was introduced by multiplying functional units and implementing pipeline structures.
  • In a pure Harvard architecture, code and data are stored in two distinct memories, each with its own communication path to avoid access conflicts.
  • Each memory has its own communication path (bus).
  • Parallelism is intrinsic since each address corresponds to multiple storage locations.
  • Modified Harvard architectures mix von Neumann and Harvard architectures.
  • Unified memory and specialized memory closer to the processor (cache) are used to improve flow rates.
  • In that model, address zero refers to a single memory cell, but instructions and data communications use separate buses.

Parallelism

  • Parallelism is a computing method where parts of a complex task are split up and run simultaneously on multiple CPUs.
  • Instruction-Level Parallelism refers to how many operations are performed simultaneously by the program.
  • Instruction-level parallelism brings together design techniques from processors and compilers to overcome sequential execution.
  • It speeds up instruction execution, especially data transfers and arithmetic operations.
  • Thread-Level Parallelism allows a program or instruction to work in multiple threads.
  • It is referred to as multithreaded parallelism, with two approaches: explicit and implicit multithreading.
  • Explicit Multithreading (Chip Multithreading) involves issuing instructions from multiple threads in a cycle.
  • Hardware Multithreading involves having multiple thread contexts in a single processor.
  • Fine-grained multithreading provides two or more threads in a chip.
  • Coarse-grained multithreading provides multiple threads within a processor core.
  • Hyperthreading transforms parallelism at the activity thread level into parallelism at the instruction level.
  • Chip Multiprocessing replicates an entire processor core for each thread in order to support multiple threads on a processor chip.
  • Implicit Multithreading generates threads by the hardware or compiler.

Multicore Architecture

  • A multicore microprocessor consists of multiple independent cores on the same die (single-chip multiprocessor).
  • When the number of cores is very high, the terms many-core and massively multicore are used.
  • Each core is pipelined and has multiple levels of cache.
  • Symmetric Multiprocessing consists of identical cores sharing memory.
  • Asymmetric Multiprocessing uses cores with different capabilities.

Instruction Set Architecture (ISA)

  • This is the architecture of the processor seen by the programmer and is the interface between software and hardware.
  • An instruction set defines operations, instruction format, coding, addressing modes, and the number, type, and size of operands.
  • The processor executes in different modes: application-level, system-level, and supervisor modes.
  • Storage components consist of general-purpose registers, main memory, and the stack.
  • In a register-register architecture, only load and store instructions access memory.
  • In a memory-memory architecture, all operands are in memory with a potentially large instruction size.
  • Various instruction sets are used in the industry and are of theoretical importance.
  • Reduced Instruction Set Computer (RISC) has fewer cycles per instruction (CPI).
  • Complex Instruction Set Computer (CISC) requires fewer instructions per program than RISC.
  • Minimal Instruction Set Computer (MISC) has a very small number of instruction operations and opcodes.
  • Very Long Instruction Word (VLIW) is designed to exploit instruction-level parallelism.
  • Explicitly Parallel Instruction Computing (EPIC) allows processors to execute software instructions in parallel, controlled by the compiler.
  • One Instruction Set Computer (OISC) uses only one instruction, eliminating the need for an opcode.
  • Zero Instruction Set Computer (ZISC) uses pattern matching without traditional instructions.
  • Basic examples of instructions are: LOAD for retrieving data, STORE for saving data, OUT for outputting, IN for inputting, ADD for summing, COMPARE for comparisons, and JUMP for directing flow.

Bus Interfaces and Classifications

  • Bus nodes are either masters (M) or slaves (S), such as MPUs, memory devices, or I/O controllers.
  • The bus interface facilitates communication between modules.
  • A clocked interface relies on a clock signal for pacing and timing.
  • Functional modules manage bus access, arbitration, interruptions, and DMA transfers and generate bus timing signals.
  • Signals on a bus differ from power supply lines and carry information.
  • Logical signals are active on a high/low state or on signal edges.
  • Bus signals are independent of the electrical interface and microprocessor protocol.
  • Bus signals are separated into families based on function.
  • An address transfer bus carries addresses from master to slaves.
  • A data transfer bus carries data (n signals) and can handle smaller words.
  • A control bus consists of access control signals, including memory and I/O operations. The status bus reports bus errors.
  • An access arbitration bus manages access to transfer buses.
  • A synchronization bus carries clock signals.
  • A utility bus generates start/stop sequences.
  • Interfacing logic isolates and amplifies signals, shifts voltage levels, and uses drivers and receivers.
  • The communication path in a bus is a transmission line, characterized by resistance, inductance, capacitance, and conductance per unit length.
  • Noise influences the signal and leads to transmission errors, including crosstalk between lines.
  • Noise sources include RFI (Radio-Frequency Interference) and EMI (Electromagnetic Interference).
  • Shielding protects against electromagnetic interference.
  • Propagation times are on par with signal periods, requiring careful management of clock signals.

Architectural Implementations

  • Initially, all entities shared a single bus (the shared bus).
  • Segmented buses consist of portions allowing communication between masters and slaves.
  • Hierarchical buses have clusters communicating through a locally segmented bus, then a global bus.
  • Multiple buses allow concurrent communication, and can be implemented hierarchically.
  • A Bridge links two buses electrically.
  • A Local bus is at the component level on the PCB, it is the bus of the microprocessor.
  • Memory buses are used in memory systems, with a controller managing multiple ranks of memory over several channels.
  • Link buses connect microprocessors or bridges and use packets for communication.
  • Expansion slot buses have connectors for I/O interface cards and expansion cards.
  • Expansion buses allow a baseboard to have its own small I/O expansion board; it is board-level bus.
  • I/O buses link one or more devices to one or several I/O controllers, such as those for mass storage (ATA, SCSI).
  • Backplane and centerplane buses connect electronic cards using printed circuit boards.
  • Fieldbus implements programmable logic controllers (PLCs), interacting with instruments, sensors, and actuators.
  • A SoC (System on a Chip) integrates components (microprocessors, memories, I/O controllers) down to a single chip.
  • Power bus supplies power to a computer system with precise voltages.

Studying That Suits You

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

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser