Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Addressing Modes- 1 - Computer Science Engineering (CSE) MCQ

Test: Addressing Modes- 1 - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: Addressing Modes- 1

Test: Addressing Modes- 1 for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Addressing Modes- 1 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Addressing Modes- 1 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Addressing Modes- 1 below.
Solutions of Test: Addressing Modes- 1 questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Addressing Modes- 1 solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Addressing Modes- 1 | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Addressing Modes- 1 - Question 1

Match List-I with List-ll and select the correct answer using the codes given below the lists:
List-I

List- II 
1. immediate
2. Register
3. Displacement
Codes:

Detailed Solution for Test: Addressing Modes- 1 - Question 1


Here contents of Regs [R4] and [R3]
are added and placed into Register [R4
which is a register operation.

Here 3 is data instead of address
Hence, it is a immediate mode.

Test: Addressing Modes- 1 - Question 2

The register which keeps track of the execution of a program and which contains the memory address of the instruction which is to be executed next is known as ______ .

Detailed Solution for Test: Addressing Modes- 1 - Question 2

Program counter is the register which keeps track of the execution of a program and which contains the memory address of the instruction which is to be executed next by the processor.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Addressing Modes- 1 - Question 3

In case of vectored interrupt, interrupt vector means

Detailed Solution for Test: Addressing Modes- 1 - Question 3

In a vectored interrupt, the source that interrupts supplies the branch information to the computer. This information is called the interrupt vector. In. some computers the interrupt vector is an address that points to a location in memory where the beginning address of the Input Output service routine is stored.

Test: Addressing Modes- 1 - Question 4

Consider the following I/O instruction format for IBM 370 I/O channel 

Then operation code specifies
1. Test I/O
2. Test channel
3. Store channel identification
4. Halt device

Detailed Solution for Test: Addressing Modes- 1 - Question 4

The operation code specifies one of eight input output instructions: Start input/output, start input/ output fast release, test input/output, clear input/ output, halt input/output, halt device, test channel and store channel identification.

Test: Addressing Modes- 1 - Question 5

Match List-I with List-ll and select the correct answer using the codes given below the lists:

Detailed Solution for Test: Addressing Modes- 1 - Question 5

3 address instruction:
Two operand locations and a result location are explicitly contained in the instruction word, 
e.g, Y = A - B
2 address instruction:
One of the addresses is used to specify both an operand and the result location,
e.g, Y = Y + X
1 address instruction:
Two addresses are implied in the instruction and accumulator based operations, 
e.g. ACC = ACC + X
0 address instructions:
They are applicable to a special memory organization called a stack. It interact with a stack using push and pop operations. All addresses are implied as in register based operations
T = Top ( T - 1 )

Test: Addressing Modes- 1 - Question 6

In a certain processor, a 2 byte Jump instruction is encountered at memory address 3010 H, the Jump instruction is in PC relative mode. The instruction is JMP - 7 where - 7 is signed byte. Determine the Branch Target Address 

Detailed Solution for Test: Addressing Modes- 1 - Question 6

The Jump instruction is at address 3010 H and instruction is 2 bytes. Therefore, PC points to 3012 H on execution of this instruction.
Now Branch Target PC
= PC + (-7)
= 3012 H - 7 H = 3005 H

Test: Addressing Modes- 1 - Question 7

Relative Addressing Mode is used to write Position-independent code because

Detailed Solution for Test: Addressing Modes- 1 - Question 7

The address reference is not absolute, it is relative to current location and therefore .these programs are easy to relocate in the memory of the computer.

Test: Addressing Modes- 1 - Question 8

 The immediate addressing modes can be used for ______
1. Loading internal registers with initial value.
2. Perform arithmetic or logical operation on immediate data.

Detailed Solution for Test: Addressing Modes- 1 - Question 8

Immediate addressing modes can be used for either loading internal register with initial value or perform arithmetic or logical operation on immediate data.

Test: Addressing Modes- 1 - Question 9

Processor XYZ supports only the immediate and the direct addressing modes. Which of the following programming language data structures cannot be implemented on this processors?
1. Pointers
2. Arrays
3. Record

Detailed Solution for Test: Addressing Modes- 1 - Question 9

To access pointer, arrays and records we need indirect addressing modes, so with direct and immediate addressing modes we cannot implement these.

Test: Addressing Modes- 1 - Question 10

The register which contains the data to be written into or read out of the addressed location is known as

Detailed Solution for Test: Addressing Modes- 1 - Question 10

MDR register needed to read or written data into or onto memory location.

Information about Test: Addressing Modes- 1 Page
In this test you can find the Exam questions for Test: Addressing Modes- 1 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Addressing Modes- 1, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)