InstructionsTotal Questions: 20Total Minutes: 20This ExamTray Free Online Exam or MCQ Quiz tests your knowledge on C Bitwise Operators. Examples are given as questions and answers. Easily Attend Competitive Exams and Job Interview Questions. Go through C Theory Notes on Bitwise Operators before taking this test. All the Best Challenge SCORE0 / 20Take This Exam 1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*Q Buttons 1) What are Nibble, Word and Byte in computer language.? A) Byte = 8 bits, Word= 4 Bytes, Nibble= 8 Bytes B) Byte = 8 bits, Word=2 Bytes, Nibble=4 Bytes C) Byte = 8 bits, Word=12 bits, Nibble=32 Bits D) Byte = 8 bits, Word=24 bits, Nibble=40 Bits 2) Choose correct representation of Decimal number in Binary. A) 0 0000 1 0001 2 0010 3 0011 4 0100 B) 5 0101 6 0110 7 0111 8 1000 9 1001 C) 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F D) All the above 3) What is the operator used to make 1's One's compliment.? A) & Bitwise AND Operator B) | Bitwise OR operator C) ~ Bitwise Negate Operator D) ^ Bitwise Exclusive OR 4) What is the result of 0110 & 1100.? A) 1000 B) 0100 C) 0001 D) 1010 5) What is the output of Bitwise OR operation | on (0110 | 1100).? A) 1110 B) 1100 C) 1000 D) 1010 6) What is the output of Exclusive OR ^ operator on 0110^1000.? A) 1000 B) 1110 C) 0011 D) 0001 7) What is the output of Left Shift Operator << on (00011000<<2).? A) 01100000 B) 11000000 C) 00000110 D) 00000011 Ad 8) What is the result of Right Shift Operator >> on (00110000>>2).? A) 11000000 B) 00001100 C) 01100000 D) 11001111 9) Choose correct statement about Left Shift Operator << .? A) Left shift operator shifts individual bits on the left side B) When shifting left side, overflow bits are ignored. C) Zeroes are filled on the right side D) All the above 10) Choose a correct statement about Right Shift Operator >> .? A) Right shift operator shift individual bits on to the right side. B) When shifting bits right side, overflow bits on the right are ignored or truncated. C) Zeroes are filled on the left side. D) All the above 11) What is a Single Operand Operator below.? A) & B) | C) ^ D) ~ 12) What is the Bitwise operator used to set a particular bit value to 1.? A) & AND B) | OR C) ^ Exclusive OR D) ~ Operator 13) What is the Bitwise operator used set a particular bit to Zero 0.? A) & Operator B) | OR operator C) ^ Exclusive Operator D) ~ TILDE Operator 14) Which is Bit Toggling operator below.? A) & AND operator B) | OR operator C) ^ Exclusive Operator D) ~ TILDE operator Ad 15) Which is the format specifier used to prefix 0x and print a number in hexadecimal notation.? A) %x B) %0x C) %#x D) %hx 16) Left Shift operation is equivalent to.? A) Division by 2 B) Multiplying by 2 C) Adding 2 D) Subtracting 2 17) Right Shift operation >> is equivalent to .? A) Multiplying by 2 B) Division by 2 C) Adding 2 D) Subtracting 2 18) What is the minimum and maximum values in Octal Number System.? A) 1 to 8 B) 0 to 7 C) 2 to 9 D) None of the above 19) What number system is not understood by C language compiler directly.? A) Decimal B) Octal C) Binary D) Hex Decimal 20) Choose a correct statement about C Bitwise operators.? A) 0^number = number B) 1 | number = number C) 0 & number = 0 D) All the above FINISH EXAM 1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*PREVC File Operations Online Test 1 NEXT Certification Group ID 3864