1. Assertion (A): In 8085, P flag is for parity checking.Reason (R): If the result of ALU has even parity, P flag is set and if the result has odd parity, P flag is reset.





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->How many ‘8’ are there followed by an even number and preceded by an odd number? 3825832832827848568784286....
QA->The function of Arithmetic and Logic Unit (ALU) is?....
QA->Who is the author of the book Reset: Regaining India’s Economic Legacy?....
QA->-------- means audit pays surprise visit to client office and surprise checking on certain important items....
QA->----------- means audit pays surprise visit to client office and surprise checking on certain important items....
MCQ->Assertion (A): In 8085, P flag is for parity checking.Reason (R): If the result of ALU has even parity, P flag is set and if the result has odd parity, P flag is reset.

....
MCQ->Assertion (A): In 8085, the zero flag is set when ALU operation results in 0. If the result is not 0, this flag is reset.Reason (R): In 8085 the S flag is set when the contents of accumulator become negative during execution of an instruction.

....
MCQ->Which of the following code snippets are the correct way to determine whether a is Odd or Even? int a; String res; if (a % 2 == 0) res = "Even"; else res = "Odd"; int a; String res; if (a Mod 2 == 0) res = "Even"; else res = "Odd"; int a; Console.WriteLine(a Mod 2 == 0 ? "Even": "Odd"); int a; String res; a % 2 == 0 ? res = "Even" : res = "Odd"; Console.WriteLine(res);....
MCQ->Which three statements are true? Assertion checking is typically enabled when a program is deployed. It is never appropriate to write code to handle failure of an assert statement. Assertion checking is typically enabled during program development and testing. Assertion checking can be selectively enabled or disabled on a per-package basis, but not on a per-class basis. Assertion checking can be selectively enabled or disabled on both a per-package basis and a per-class basis.....
MCQ->What will be the output of the program? public class WrapTest { public static void main(String [] args) { int result = 0; short s = 42; Long x = new Long("42"); Long y = new Long(42); Short z = new Short("42"); Short x2 = new Short(s); Integer y2 = new Integer("42"); Integer z2 = new Integer(42); if (x == y) / Line 13 / result = 1; if (x.equals(y) ) / Line 15 / result = result + 10; if (x.equals(z) ) / Line 17 / result = result + 100; if (x.equals(x2) ) / Line 19 / result = result + 1000; if (x.equals(z2) ) / Line 21 / result = result + 10000; System.out.println("result = " + result); } }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution