Paper Tayyari

Lecture 21: Bit Manipulation

MCQs, short and long questions from lecture 21.Lecture 21 ki MCQs, short aur long sawal.

2 MCQs · 2 short questions · 2 MCQs from past papers2 MCQs · 2 short sawal · 2 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/2
– correctsahi
1.
★ Final term solved MCQs (Moaaz & Asad)

Which of the following is used with bit manipulation?

  1. ASigned integer
  2. BUn-signed integer
  3. CSigned double
  4. DUn-signed double

Bitwise operations are applied to integers, typically unsigned ones.

2.
★ Final term solved MCQs (Moaaz & Asad)

If most significant bit of un-signed number is 1 then it represents a positive number.

  1. ATrue
  2. BFalse

An unsigned number has no sign bit, so its value is never negative.