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 5937887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:36:21+00:00 2026-05-22T15:36:21+00:00

I just finished a computer organization course, in which we learned that all files

  • 0

I just finished a computer organization course, in which we learned that all files and data are stored in the form of 0’s and 1’s (bits). However, I’m curious how a programmer can actually access a file’s binary representation? That is, how can I see (or access) the 0’s and 1’s that represent any file on my computer?

  • 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-22T15:36:22+00:00Added an answer on May 22, 2026 at 3:36 pm

    While it’s true that at the most basic level, everything is stored as bits, most processors these days only allow you to access bytes (8 bit blocks). From a byte, however, you can figure out if a bit is one or not.

    To get the value of a bit in position pos (from least significant bit, 0, to most significant bit, 7) of byte byte, you could use this code (in C, here, but it’s likely valid in many languages):

    // bit here is likely 32 bits, but it will only contain 0 or 1,
    // based on the value of the bit at pos in byte
    int bit=(byte>>pos)&1;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just finished transferring as much link-structure data concerning wikipedia (English) as I could.
Vista just finished one of its many updates. After restarting my computer I try
I'm new to computer coding and have just finished coding an app and tested
I just finished a homework problem for Computer Science 1 (yes, it's homework, but
I just finished building my program, but I noticed that vb.net (2010) creates two
I've just finished putting together a basic flash video chat client that publishes the
I just finished my first own example with activities/places and MVP. all works fine
Just finished read this post by Greg Young, where he is talking about Microsoft
I just finished a small project where changes were required to a pre-compiled, but
I just finished a medium sized web site and one thing I noticed about

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.