Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Logo SIKSHAPATH Logo

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
  • About
    1. Asked: December 3, 2021In: Other

      Explain in detail about the concept of Addressing in the Memory. What is an Instruction Cycle?

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:39 pm
      This answer was edited.

      Q.Explain in detail about the concept of Addressing in the Memory. Each instruction needs data on which it has to perform the specified operation. The data may be in the accumulator, GPR (general purpose registers) or in some specified memory location. The techniques of specifying the address of theRead more

      Q.Explain in detail about the concept of Addressing in the Memory.

      Each instruction needs data on which it has to perform the specified operation. The data may be in the accumulator, GPR (general purpose registers) or in some specified memory location.

      The techniques of specifying the address of the data are known as addressing modes.

      The important addressing modes are as follows :

      (i) Direct Addressing

      (ii) Register Addressing

      (iii) Register Indirect Addressing

      (iv) Immediate Addressing

      (v) Relation Addressing

      (i) Direct Addressing: In this, the address of the data is specified within the instruction itself.

      Example of direct addressing is :

      (a) STA 2500H : store the contents of accumulator in the memory location 2500H.

      (ii) Register Addressing: In register addressing, the operands are located in the general purpose registers. In other words the contents of the register are the operands. Therefore only this name of the register is to be specified in the instruction.

      E.g. of register addressing are :

      (a) MOV A, B: Transfer the contents of register B to register A.

      (iii) Register Indirect Addressing: In this, the address of the operand is given directly. The contents of a register or a registers pairs are the address of the operand.

      Example : LX1 H, 2400H–> load H-L pair with 2400 H.

      (a) MOV A, M : Move the contents of the memory location whose address is in H-L pair to the accumulator.

      (iv) Immediate addressing: In this the operand in given in the instruction itself. E.g. (a) MVI A, 06 : Move 06 to an accumulator.

      (v) Relation Addressing: In this, a signed displacement is added to the current value of the program counter to form the effective address. This is also known as PC relative addressing.  

      Q.What is an Instruction Cycle?

      The main function of a CPU is to execute programs. A program converts of a sequence of instructions to perform a particular task.

      Program as stored in a memory. The CPU fetcher one instruction at a time from the memory & executes it. Then it fetches the vent instruction to execute it.

      The CPU repeats this process till it executes all the instructions of the program. Thereafter, it may take another program if any, to execute.

      The necessary steps that the processor has to carry out for fetching an instruction from the memory and executing an instruction from the memory and executing it, constitute an instruction cycle.

      An instruction cycle consists of 2 parts. Fetch cycle & execute cycle.

      In the fetch cycle, the CPU fetches the m/c code of this instruction from the memory. The necessary steps that are carried out to fetch an opcode from the memory constitute a fetch cycle.

      In executing cycle instruction is executed.

      The necessary which are carried to execute an instruction constitute are execute cycle.

      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    2. Asked: December 3, 2021In: Other

      Explain about the System Clock. Explain about the System Bus. Explain the role of Expansion Slots. List out various Cards …

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:24 pm

      SYSTEM CLOCK: Every computer has got a system clock. It‟s located in the microprocessor. The clock is design by a piece of quartz crystal. The system clock keeps the computer system coordinated. It‟s an electronic system which keeps oscillating at specified times intervals, between 0 & 1. The spRead more

      SYSTEM CLOCK:

      Every computer has got a system clock. It‟s located in the microprocessor. The
      clock is design by a piece of quartz crystal. The system clock keeps the computer
      system coordinated. It‟s an electronic system which keeps oscillating at specified
      times intervals, between 0 & 1. The speed at which this oscillation takes place is
      called the cycle of the clock. The time taken to reach from „0‟ to „1‟ and back is
      called clock cycle the speed of the system clock is measured in terms of Hz.

       

      SYSTEM BUS:

      Bus means the electronic path between various components Bus refers to
      particular types of a cable. Each cable of a bus carries information of one bit.
      Buses are of 3 types :

      (1) Address Bus:It carries the address of memory location of required
      instructions and data. The address Bus is unidirectional, i.e., data flows in
      one direction from CPU to memory. The address bus data determines the
      maximum number of memory addresses. This capacity is measured in
      binary form. E.g. A 2 –bit address bus will provide 22 addresses.

      (2) Data Bus: Data bus is an electronic path that connects CPU, memory &
      other h/w devices. Data bus carries the data from CPU to memory or I/P–
      O/P devices and vice versa. It‟s a directional bus because it can transmit
      data in either direction. The processing speed of a computer increases if the
      data bus is large as it takes more data at one time.

      (3) Control Bus: Control Bus controls the memory and I/O devices. This bus
      is bidirectional. The CPU sends signals on the control bus to enable the
      O/P of the addressed memory devices.

      EXPANSION SLOT:

      The main function of the mother board is to enable connectivity between various
      parts of a computer with processor & memory. Various hardware cards can be
      fixed on the mother board to save different purposes. Mother boards have slots to
      fix the various cards-like video card, modem, sound cards etc, expansion slots on
      the motherboard can be used fro the following purposes:
      (i) To connect the internal devices of a computer eg. Hard disk etc. to the
      computer bus.
      (ii) To connect the computer to the external devices like mouse, printer etc.
      The above functions are carried out with the help of adapters.

       

      VARIOUS CARDS:

      (1) Sound Card: The sound card converts the
      sound into computer language & vice versa. All sound cards are based on
      MIDI (Musical Instrument Digital Interface) which represents the music in
      electronic form. The main part of sound card is DSP (Digital signal
      processor) which uses arithmetic logic to bring out sound effects.

      (2) SCSI (Small Compute System Interface) :This technology is used in high
      speed hard disk. It‟s often used in servers where high volume of data is
      used. At present different versions of SCSI are used. The capacity of the
      SCSI is determined by the bus width and speed of the interface. Through
      SCSI the computers bus is extended by means of the cable. It‟s an extension
      of the computer bus.

      (3) Network Cards : N/W card is a versatile device because it performs a number of
      tasks that contribute to the entire process of transmitting and receiving data between computers. It links a computer to another computer of the n/w through cable wires. A seven-layer model of OSI (Open System Interface) is used in the Internet for receiving and transmitting of data.

       

      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    3. Asked: December 3, 2021In: Other

      Explain the different types of Memory Modules.

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:13 pm
      This answer was edited.

      There are two types of memory modules : (i) SIMM : Single Inline Memory Modules (ii) DIMM : Double Inline Memory Modules These are small printed circuit cards (PCC) on which several DRAMS memory chips are placed. Such cards are plugged into the system board of the computer. The SIMM Circuit cards coRead more

      There are two types of memory modules :

      (i) SIMM : Single Inline Memory Modules

      (ii) DIMM : Double Inline Memory Modules

      These are small printed circuit cards (PCC) on which several DRAMS memory chips are placed. Such cards are plugged into the system board of the computer. The SIMM Circuit cards contain several memory chips with contacts placed on only one edge of this PCC whereas in DIMM, it‟s on both sides of the PCC.

      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    4. Asked: December 3, 2021In: Other

      Explain Memory Hierarchy in Computer Architecture.

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:08 pm

      Level-0 At level-0, Registers are present which are contained inside the CPU. Since they are present inside the CPU, they have least access time. They are most expensive and therefore smallest in size (in KB).   Level-1 At level-1, Cache Memory is present. It stores the segments of program thatRead more

      Level-0

      At level-0,

      Registers are present which are contained

      inside the CPU.

      Since they are present inside the CPU,

      they have least access time.

      They are most expensive and therefore

      smallest in size (in KB).

       

      Level-1

      At level-1,

      Cache Memory is present.

      It stores the segments of program that are frequently accessed by the processor.

      It is expensive and

      therefore smaller in size (in MB).

       

      Level-2

      At level-2,

      main memory is present.

      It can communicate directly with the CPU and with auxiliary memory devices through an I/O processor.

      It is less expensive than cache memory

      and therefore larger in size (in few GB).

       

      Level-3

      At level-3,

      Secondary storage devices like magnetic disk

      are present.

      They are used as back up storage.

      They are cheaper than main memory

      and therefore much larger in size (in few TB).

       

      Level-4

      At level-4,

      Tertiary storage devices like magnetic tape

      are present.

      They are used to store removable files.

      They are cheapest and largest in size

      (1-20 TB).

      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    5. Asked: December 3, 2021In: Other

      Consider an instruction pipeline having 4 phases with duration 60, 50, 90 and 80ns. Given latch delay is 10 ns. …

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:05 pm

      FORMULA FOR SPEED OF NON-PIPELINED AND PIPELINED RATIO: Speed Up (S) =Non-pipelined execution time/Pipelined execution time Pipeline Execution Time = Maximum delay due to any stage + Register Delay = Max { 60, 50, 90, 80} + 10 ns = 90 ns + 10 ns = 100 ns Non-pipeline execution time for one instructiRead more

      FORMULA FOR SPEED OF NON-PIPELINED AND PIPELINED RATIO:
      
      Speed Up (S) =Non-pipelined execution time/Pipelined execution time
      
      
      
      
      
      Pipeline Execution Time
      
      = Maximum delay due to any stage + Register Delay
      
      = Max { 60, 50, 90, 80} + 10 ns
      
      = 90 ns + 10 ns
      
      = 100 ns
      
      
      
      Non-pipeline execution time for one instruction
      
      = 60 ns + 50 ns +90 ns + 80 ns
      
      = 280 ns
      
      
      
      Speed up
      
      = Non-pipeline execution time / Pipeline execution time
      
      = 280 ns / 100 ns
      
      = 2.8
      See less
        • -5
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    6. Asked: December 3, 2021In: Other

      What is the average memory access time for a machine with a cache hit rate of 80%, cache access time …

      I'M ADMIN
      I'M ADMIN
      Added an answer on December 3, 2021 at 8:00 pm

      For simultaneous memory access organization, we have Average memory access time = H1 x T1 + (1 - H1) X H2 x T2  = 0.8 x 5 ns + (1 - 0.8) x 1 x 100 ns = 4 ns + 0.2 x 100 ns = 4 ns + 20 ns = 24 ns

      For simultaneous memory access organization,
      
      we have
      
      Average memory access time = H1 x T1 + (1 - H1) X H2 x T2 
      
      = 0.8 x 5 ns + (1 - 0.8) x 1 x 100 ns = 4 ns + 0.2 x 100 ns = 4 ns + 20 ns
      
      = 24 ns
      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    1 … 98 99 100 101 102 … 122

    Sidebar

    store ads

    Stats

    • Questions 1k
    • Answers 1k
    • Posts 149
    • Best Answers 89
    • This Free AI Tool Translates Entire Books in Minute !
    • AI News: 🎬 Hollywood’s AI Studios, 🎓 OpenAI’s Latest Gift to Educators, 🚚 Class8 Bags $22M, 🧠 Google Gemini’s Memory Upgrade
    • AI NEWS: Legal Action Against OpenAI, $16M Paid, & Elon Musk’s Praise from Investor 🤖💰📑 | AI Boosts Cloud Seeding for Water Security 🌱💧
    • AI News: 🎬AI Video Tool Scam Exposed🤯, 🛰️ AI-Powered Drones to Ukraine 😱, Google’s $20M AI Push, Sam Altman Joins SF’s Leadership Team
    • AI News: 🤝 Biden Meets Xi on AI Talks, 💡 Xavier Niel’s Advice for Europe, ♻️ Hong Kong’s Smart Bin Revolution, 🚀 AI x Huawei

    Explore

    • Recent Questions
    • Questions For You
    • Answers With Time
    • Most Visited
    • New Questions
    • Recent Questions With Time

    Footer

    SIKSHAPATH

    Helpful Links

    • Contact
    • Disclaimer
    • Privacy Policy Notice
    • TERMS OF USE
    • FAQs
    • Refund/Cancellation Policy
    • Delivery Policy for Sikshapath

    Follow Us

    © 2021-24 Sikshapath. All Rights Reserved