Bits and bytes on a web page
Not what you're looking for?
Create a Web Page named bits, html that prompts the user to enter a number of bits and stores that number in a variable named N. Your page should then compute and display 2^N, the number of values that can be represented using the specified quantity of bits. For example, if the user entered 10 at the prompt, the page would display the message
with 10 bits, you can represent 1024 different values.
One you have your page, use it to determine the number of values that each of the following can represent.
8 bits (1 byte)
16 bits (2 byte)
32 bites (4 bytes)
64 bits (8 bytes)
Purchase this Solution
Solution Summary
The bites and bytes on a web page used by an HTML are discussed.
Purchase this Solution
Free BrainMass Quizzes
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
Javscript Basics
Quiz on basics of javascript programming language.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.