Search Placementyogi.com
 

Bitwise Operations in C objective questions and Answers

  :: Topics ::

1

A bit can have only one of two values 0 and 1.

A. True
B. False
See Answer & Explanation Lets Discuss
Correct answer is : A
Explanation

No explanation available. Let's Discuss

 
2

Which bitwise operator is suitable for turning off a particular bit in a number?

A.

&& operator

B.

! operator

C.

|| operator

D.

& operator

See Answer & Explanation Lets Discuss
Correct answer is : D
Explanation

No explanation available. Let's Discuss

 
3

Which bitwise operator is suitable for turning on a particular bit in a number?

A.

&& operator

B.

| operator

C.

|| operator

D.

& operator

See Answer & Explanation Lets Discuss
Correct answer is : B
Explanation

No explanation available. Let's Discuss

 
4

Which bitwise operator is suitable for checking whether a particular bit is on or off?

A.

&& operator

B.

! operator

C.

|| operator

D.

& operator

See Answer & Explanation Lets Discuss
Correct answer is : A
Explanation

No explanation available. Let's Discuss

 
5

What is the binary equivalent of 0x1234?.

A.

0000010011010010

B.

0001001000110100

See Answer & Explanation Lets Discuss
Correct answer is : B
Explanation

Its really easy to convert hexadecimal number to binary. Each number in hexadecimal represents 4 binary bits.

Example:

                 1      2     3      4

0x1234 = 0001 0010 0011 0100

In above example 1 is converted  to 0001, 2 to 0010, 3 to 0011 and 4 to 0100 and done!!

 
 

Banner to LogicGuns.com

Hide Page Information

C Bitwise Operations Objective Questions and Answers for Written Round Interview

Here you can find C Bitwise Operations Objective Questions with answers and explanation. We have a vast collection of Objective Questions on Bitwise Operations in C that will help you a lot!

Why learn C Bitwise Operations?

Bitwise Operations are an integral part of C and many Objective Questions in the written round are asked from this topic.In this section you can learn and practice C Bitwise Operations (Objective Questions with Answers) to improve your skills in order to face the interview and clear campus and off-campus selection of TCS, Infosys, Wipro etc.

Where can I get C Bitwise Operations Objective Questions and Answers with Explanation?

PlacementYogi provides you lots of fully solved C Bitwise Operations Objective Questions and answers with explanation. Fully solved examples with detailed answer description, explanation are given and it would be easy to understand.Though we do not have pdf file for C Bitwise Operations, We have quiz Objective Questions with answers to help you test yourself..

\n

Where can I get C Bitwise Operations Interview Objective Questions and Answers (objective type, multiple choice)?

Here you can find objective type C Bitwise Operations Objective Questions and answers for interview and entrance examination.Multiple Answers and true or false type Objective Questions are also provided.

How to solve C Bitwise Operations problems?

You can easily solve all kind of Objective Questions based on C Bitwise Operations by practicing the exercises (including shortcut Bitwise Operations to solve problems) given below.