• Tidak ada hasil yang ditemukan

II B.Tech (CSE)-CO-Answers for Assignment Test 1

N/A
N/A
Protected

Academic year: 2024

Membagikan "II B.Tech (CSE)-CO-Answers for Assignment Test 1"

Copied!
5
0
0

Teks penuh

(1)

1 (a) What are the advantage of using perform 2’s complement arithmetic over 1’s complement

(b) Perform 2’s complement Addition

i)-1 7 + (+2) ii) - 5+(-33)

i) -17—binary—010001---1’s comp---101110---2’s compl.---- 101111

+2 --binary- 000010---+000010 Add: 110001(neg)

No carry, 2’s compl. of 110001----001110 +000001= -001111---- (-15) ii)-5---binary---0000101----1’s compl.—1111010---2’s compl.----1111011

-33---binary—0100001----1’s compl.---1011110---2’s compl.----1011111 Add: 1011010 (neg) No carry,--2’s compl’ of 1011010: 0100101 +1 -

(0100110)—(-38)

II B.Tech (CSE)-CO-Answers for Assignment Test 1

(2)

4) How the following arithmetic expression is explained evaluated using i) STACK m/c ii) l Address m/c ; F = (A+B-C) / (D+E)

STACK machine 1 address Machine PUSH D LDA D

PUSH E ADD E ADD STA H PUSH A LDA A PUSH B ADD B ADD SUB C

DIV DIV H

PUSH C STA F SUBDIV

POP F

II B.Tech (CSE)-CO-Answers for Assignment Test 1

(3)

5) Answer the following in a line or two.

(a)What is the maximum amount of memory that can be accessed by the CPU?

Ans. If a machine word is N bits and memory addressed word is M bits ,then the max. amount of memory that can be addressed is 2M X N bits

(b) How data information is stored in the memory?

(c) How memory can be accessed?

(d) What is Random access memory?

Ans. A random-access memory device allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory

II B.Tech (CSE)-CO-Answers for Assignment Test 1

(4)

5) Answer the following in a line or two.

(e) What is a Vonneumann machine?

Ans. His computer architecture design consists of a Control Unit, Arithmetic and Logic Unit(ALU), Memory Unit, Registers and

Inputs/Outputs . Von Neumann architecture is based on the stored-

program computer concept, where instruction data and program data are stored in the same memory.

(f) Explain” stored program concept

Instruction data and program data are stored in the same memory at the time of execution.

(g) What is branching?

Branching is a transfer of control from the current statement to another statement or construct in the program unit. A branch alters the execution sequence.

II B.Tech (CSE)-CO-Answers for Assignment Test 1

(5)

5) Answer the following in a line or two.

(i)What type of operation is performed to multiply the number stored in register R by 16?

Use Arithmetic left shift by 4 bits.

(j) Name the assembly instructions used to transfer data between the memory and registers

MOVE Or LOAD/STORE (k)What is a micro operation?

Smallest operation that can be performed in registers in one clock cycle.

(l) What is the addressing mode use for this statement ADD #5,R3 ? Immediate addressing mode

II B.Tech (CSE)-CO-Answers for Assignment Test 1

Referensi

Dokumen terkait

The subject of the study is the English final test items for the second semester of the Eleventh grade of SMA Negeri 1 Magetan in the 2013/2014 academic year.. The

The equilibrium data of the adsorption of Cd(II) onto resin was then analyzed using Langmuir isotherm,.

Adsorption of metal ions investigated on phosphonate modified silica follow a pseudo 1 st order mechanism for Cu(II) and pseudo 2 nd order for Co(II), Ni(II), and Zn(II). PMS gives

Results: Score increased significantly (p<0.05) in all items for first to third from four times of data retrieval in the exposed group, whereas in the control group,

A first-shell coordination number of 6 in agreement with experimental data were obtained from Monte Carlo simulations of a single cobalt (II) ion in water.. The structure of

a. The form that arranged items which explain the occurrences, behaviors or actions which is described. Write the data of observation is not just to write, but also have

Definition & concepts 2.1 Definition of a DB model model : a collection of concepts, language, graphics to describe the data structure & data processing operations DB model – describes