Qr codes are a popular way
Course:- JAVA Programming
Reference No.:- EM13163393

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> JAVA Programming

QR codes are a popular way to encode data for easy reading by computerized cameras. True QR codes contain error correction, format specifiers, version information, and a size variable layout that makes them harder to decode and process. For ease we have created our own QR codes called QR2 codes that are simpler to decode and contain more data. QR2 codes contain the same position markers as QR codes, but the intervening data is encoded differently.
The new code is useful, but not compatible with QR codes, and so a program is needed to encode/decode the information. Each character of the text within the code is composed of 8 bits in standard ASCII encoding. A filled-in block denotes a 1 bit; a blank block denotes a 0 bit. Blocks are placed so that the most significant bit is first, and the entire message is read in serpentine fashion (up one column, then down the next, etc.), starting at the lower right. For example, in the sample run below, 'M' (01001101b) can be read up the right column, followed by 'y' (01111001b). The structure of the QR2 code is as described in the graphic above. Write a Java program will input a message and generate the appropriate QR2 code pattern. Each filled-in block is denoted by ## (two characters), and each empty block with 2 spaces. Do not worry about error checking. The size of the generated QR2 pattern will depend on the size of message entered.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (JAVA Programming) Materials
Spaces between tokens are allowed but not required. The program will repeatedly prompt the user for the value of x, displaying the value of the expression each time. When th
You are required to use test driven development (TDD) to create your solution to the scenario. Your solution should be implemented in the Java programing language using the
This assignment requires you to develop a java application program for such a scenario that a local department store manager wants to use it for calculating monthly commissi
Write a java program that asks the user for number of letters in a word followed by those letters. Store those letters in an array. Then it calls a method called public static
Write a Java program which can perform the following types of operations based on input provided by the user: Basic mathematical calculations: addition, subtraction, multiplic
Write down all the three object-oriented programming principles. Write down any two the control statements. Give brief description about Boolean data type with one example.
Develop a Java program that will add the corresponding elements of two 1-dimensional arrays X and Y to produce the 1-dimensional array Z. Arrays X, Y, Z have the same dimens
Write a program called "GF2.java" to implement the finite field GF(p n ) where p is a prime number and n is a positive integer.  You also need to write four methods to reali