Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6669917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:12:26+00:00 2026-05-26T03:12:26+00:00

I have 2 programs: X and Y. X has two bitmaps A and C.

  • 0

I have 2 programs: X and Y.

X has two bitmaps A and C.

X calls Y.

Y has a bitMap B.

The code I need to execute in Y is

if AB == B && BC == C 
    //do some action Z

I want to combine on A and C using boolean operations such that I can pass a single bitMap to Y. This single bitmap can then do any boolean operation with B to return true / false and accordingly I can decide to do action Z.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:12:27+00:00Added an answer on May 26, 2026 at 3:12 am

    There is no way to simplify by combining A and C.

    Here is our truth table:

    B A C  Z
    0 0 0  1
    0 0 1  0
    0 1 0  1
    0 1 1  0
    1 0 0  0
    1 0 1  0
    1 1 0  1
    1 1 1  1
    

    We can see from the truth table that when B = 0, we have Z = not C; when B = 1, we have Z = A.

    Suppose for the sake of contradiction that we have a one-bit function Y = f(A, C) that “summarizes” A and C. We use B to choose whether the summary equals ‘not C’ versus ‘A’. But this is clearly impossible, because a single bit cannot preserve enough information to be able to extract the value ‘not C’ and also the value ‘A’.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Windows, I currently have two programs working as follow. Program A calls Program
I want to combine two programs into a single executable. One is an open
Is tight looping in a program bad? I have an application that has two
Heyo, My class at college has us writing programs in assembly. I have never
I have a program which has some Textareas / Labels these can be anywhere
My Lenovo laptop has two task bar type programs that show the network status
I have two programs which are accessing a directory using the .NET Directory class
I have to work with two C programs that communicate via a file-based interface.
I'm writing a python script that uses subprocess.Popen to execute two programs (from compiled
I have a program (time lapse maker) which has two threads that updates a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.