Preview

Quiz Comp Archi

Satisfactory Essays
Open Document
Open Document
438 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Quiz Comp Archi
Student Name:

Date:

Course (CEN 951): Computer Architecture

Book: <<Computer Organization & Architecture: Themes and Variations >>, 2013
1) What are the definitions of the bite, byte and word in the computer terminology?

2) Please give the decimal equivalence of the following binary bits?
1100010
1111011
0011011
0000111

3) Describe one way to represent a signed number (positive and negative floating number).

4) Please describe how the clock works in the digital circuit and what are main concerns on the clock design (performance, power).

5) What are registers or flip-flops? Please draw the symbol and circuit schematic about the D-latch based flip-flop structure.

6) What are combinational logic gates? Please draw the symbol, circuit schematic and truth table for the following gates:
Inverter
NAND
NOR
XOR
AND
OR
Tri-state Buffer

7) Please describe circuits of the shift registers and digital counter.

8) Please describe the half-adder and draw the circuit.

9) Please describe the full-adder. How to improve the speed.

10) Please describe the decoder circuit and working principle. Please describe the design flow of the control logic in a CPU.

11) What are the differences of CISC and RISC architectures? Why ARM architecture is favorable to the mobile device?

12) Please list registers and their functions in ARM. How many general purpose registers and how to use them in the program?

13) For each of the following 6-bit operations, calculate the values of the C, Z, V, and N flags in the ARM.
a) 001011 + 001101 (C, Z, V and N flags after the summation)
b) 111111 + 000001
c) 101101 + 011011
d) 000000 - 000001
e) 000000 – 111111
f) 111110 + 111111

14) Please write ARM programs in the following branching conditions:
a) FOR loop;
b) WHILE loop;
c) UNTIL loop;
d) JUMP (GOTO);
e) IF THEN ELSE condition.

15) Please describe three components of the ISA (instruction set architecture).

16) Why ARM uses the register indirect addressing mode but does not support

You May Also Find These Documents Helpful

  • Satisfactory Essays

    ECT114 week 3 lab

    • 299 Words
    • 2 Pages

    e. Write a technical statement describing the circuit configuration and behavior of Figure 1. Include the name of the logic circuit a written interpretation of the function table. (2 points)…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A. the CPU tells the RAM which address holds the data that the CPU wants to read…

    • 957 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    CHAPTER3 REVEIW

    • 527 Words
    • 3 Pages

    a. The CPU tells the RAM which address holds the data that the CPU wants to read…

    • 527 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    6. A user has opened a word processor, typed the numbers 123456789, and stored the document as a file called report1. Which of the following determines, in part, what bits the computer stores in the file to represent the text typed into the report?…

    • 856 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    truth table construction, subexpression construction using AND and NOT gates, subexpression combination using OR gates, circuit diagram production…

    • 819 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Lab 3 Student

    • 1264 Words
    • 7 Pages

    This lab requires you to think about the steps that take place in a program by writing pseudocode. Read the following program prior to completing the lab.…

    • 1264 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-4 2 Stored Program Concept A program can be encoded as bit patterns and stored i main memory. F d t d in i From th there, the CPU can then extract the instructions and execute them. In turn, the program to be executed can be altered easily.…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Find 3 × (−4), with m = 3 and r = −4, and x = 4 and y = 4:…

    • 325 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Motorcyle Anti-Theft Alarm

    • 6336 Words
    • 26 Pages

    Alhamdulillah and thank God as His willingness and blessings that brought us upon completing our microprocessor ELE 505 project which is ‘MOTORCYCLE ANTI-THEFT ALARM. First of all, we would like to express our grateful thanks to our lecturer, En Mahmud b Ibrahim for all information and guidance regarding to our project. She was being enormously helpful in giving suggestions, improving our project. Without her guidance we won’t think that we were able to complete this project on time.…

    • 6336 Words
    • 26 Pages
    Powerful Essays
  • Satisfactory Essays

    Module1 - Number systems and code. Number systems - Efficiency of number system, Decimal, Binary, Octal, Hexadecimalconversion from one to another- Binary addition, subtraction, multiplication and division, representation of signed numbers, addition and subtraction using 2’s complement and I’s complement. Binary codes - BCD code, Excess 3 code, Gray code, Alphanumeric code, Error detection codes, Error correcting code. Module II - Logic Gates and Boolean Algebra. Logic Gates - Basic logic gates- AND, OR, NOT, NAND, NOR, Exclusive OR, Exclusive NOR gates- Logic symbols, truth table and timing diagrams. Boolean Algebra - Basic laws and theorems , Boolean functions, truth table, minimization of boolean function using K map method, Realization using logic gates and universal gates. Module III - Combinational and Sequential Logic Circuits. Combinational circuits - Half adder, Full Adder, Parallel binary adder, Subtracter, Magnitude Comparator, Decoders, Encoders, Multiplexers, Demultiplexers, Parity bit generator, PLA. Sequential circuits - Flip Flops – RS, JK, T and D Flip Flops, Edge triggered Flip Flops, Master slave Flip Flops. Module IV - Registers and counters. Registers - Serial in serial out, Serial in Parallel out, Parallel in serial out, Parallel in Parallel out registers, Bidirectional shift registers, universal shift registers. Counters - Synchronous and asynchronous counters, UP/DOWN counters, Modulo-N Counters, Cascaded counter, Programmable counter, Counters using shift registers, application of counters. Module V - Introduction to computers. Basic components of a computer , I/O devices - Input and output devices, printers, Display devices, Scanners. Mother Board - components of mother board. Secondary storage devices Hard disk- components of hard disk, data storage in hard disk, disk geometry.CD Family, DVD.…

    • 325 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Vlsi Sample Codes

    • 325 Words
    • 2 Pages

    The VHDL code implementing this finite-state machine is shown in Example A–1, which includes a schematic of the synthesized circuit. The machine is described with two processes. One process defines the synchronous elements of the design (state registers); the other process defines the combinational part of the design (state assignment case statement). See the discussion under ‘‘wait Statement” in Chapter 6 for more details on using the two processes.…

    • 325 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Cmos

    • 761 Words
    • 4 Pages

    We will now see the use of transistor for designing logic gates. Further down in the course we will use the same transistors to design other blocks (such as flip-flops or memories) Ideally, a transistor behaves like a switch. For NMOS transistors, if the input is a 1 the switch is on, otherwise it is off. On the other hand, for the PMOS, if the input is 0 the transistor is on, otherwise the transistor is off. Here is a graphical representation of these facts:…

    • 761 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Boolean Functions

    • 1330 Words
    • 17 Pages

    • A binary variable is one that can only take the values 0 or 1.…

    • 1330 Words
    • 17 Pages
    Satisfactory Essays
  • Good Essays

    Very Good

    • 605 Words
    • 3 Pages

    The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    programming problem

    • 980 Words
    • 5 Pages

    For each of the following problems, use the top-down modular approach when writing the pseudocode to design a suitable program to solve each problem. Be sure to include an “analysis” for each problem. Note: you…

    • 980 Words
    • 5 Pages
    Satisfactory Essays