a) OR b) AND c) XOR d) NAND
View QuestionWhich of the following bitwise operations will you use to set a particular bit to 1?
a) OR b) AND c) XOR d) NOR Answer: ...
View QuestionWhat is a bit array?
a) Data structure for representing arrays of records b) Data structure that compactly stores ...
View QuestionWhich of the following statement is invalid with respect to balancing symbols?
a) [(A+B) + (C-D)] b) [{A+B}-{C-[D+E]}] c) ...
View QuestionHow many passes does the balancing symbols algorithm makes through the input?
a) one b) two c) three d) four Answer: a Explanation: ...
View QuestionIs the given statement ((A+B) + [C-D]] valid with respect to balancing of symbols?
a) true b) false Answer: b Explanation: The given statement is invalid with ...
View QuestionAn error is reported when the stack is not empty at the end?
a) true b) false Answer: a Explanation: When the stack contains ...
View QuestionIf the corresponding end bracket/braces/parentheses is encountered, which of the following is done?
a) push it on to the stack b) pop the stack c) throw an error
View QuestionWhen the corresponding end bracket/braces/parentheses is not found, what happens?
a) The stack is popped b) Ignore the parentheses c) An error is reported d) It ...
View QuestionWhat should be done when an opening parentheses is read in a balancing symbols algorithm?
a) push it on to the stack b) throw an error c) ignore the parentheses d) pop the ...
View Question