Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: I/O Port Programming And Addressing Modes - Computer Science Engineering (CSE) MCQ

Test: I/O Port Programming And Addressing Modes - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: I/O Port Programming And Addressing Modes

Test: I/O Port Programming And Addressing Modes for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: I/O Port Programming And Addressing Modes questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: I/O Port Programming And Addressing Modes MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: I/O Port Programming And Addressing Modes below.
Solutions of Test: I/O Port Programming And Addressing Modes questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: I/O Port Programming And Addressing Modes 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: I/O Port Programming And Addressing Modes | 10 questions in 10 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: I/O Port Programming And Addressing Modes - Question 1

To initialise any port as an output port what value is to be given to it?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 1

In 8051, a port is initialised by default in its output mode no need to pass any value to it.

Test: I/O Port Programming And Addressing Modes - Question 2

Which out of the four ports of 8051 needs a pull-up resistor for using it is as an input or an output port?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 2

These pins are the open drain pins of the controller which means it needs a pull-up resistor for using it as an input or an output ports.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: I/O Port Programming And Addressing Modes - Question 3

Which of the ports act as the 16 bit address lines for transferring data through it?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 3

 PORT 0 and PORT 2 are used as the 16 bit address lines where PORT0 act as lower bit address lines and PORT 2 as higher bit address lines.

Test: I/O Port Programming And Addressing Modes - Question 4

Which of the following registers are not bit addressable?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 4

 PCON register is not a bit addressable register.

Test: I/O Port Programming And Addressing Modes - Question 5

 Which instruction is used to check the status of a single bit?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 5

JNB which stands for Jump if no bit checks the status of the bit P0.0 and jumps if the bit is 0.

Test: I/O Port Programming And Addressing Modes - Question 6

Which addressing mode is used in pushing or popping any element on or from the stack?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 6

 If we want to push or pop any element on or from the stack then direct addressing mode has to be used in it, as the other way is not accepted.

Test: I/O Port Programming And Addressing Modes - Question 7

Which operator is the most important while assigning any instruction as register indirect instruction?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 7

 In register indirect mode data is copied at that location where R0 or R1 are present, so @ operator is used ex. MOV @R0,A

Test: I/O Port Programming And Addressing Modes - Question 8

 What is the advantage of register indirect addressing mode?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 8

Register indirect addressing mode is useful if a series of data is to be assigned to that address, with the help of this quality the number of instructions decreases as a result of which performance increases.

Test: I/O Port Programming And Addressing Modes - Question 9

Which of the following comes under indexed addressing mode?

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 9

 Indexed addressing mode stand for that instruction where the bits of accumulator are also indexed with the 16 bit registers.

Test: I/O Port Programming And Addressing Modes - Question 10

Is this a valid statement ?SETB A

Detailed Solution for Test: I/O Port Programming And Addressing Modes - Question 10

SETB is used to set a bit of a register. A stands for accumulator which is an 8 bit register, so it is an invalid instruction.

Information about Test: I/O Port Programming And Addressing Modes Page
In this test you can find the Exam questions for Test: I/O Port Programming And Addressing Modes solved & explained in the simplest way possible. Besides giving Questions and answers for Test: I/O Port Programming And Addressing Modes, 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)