Programming does not always happen smoothly, sometimes a lot of patience, devotion and perseverance are required to solve programming problems and stumbling blocks on your way of creating a new programming solution.While developing an application you might come across a number of programming questions the answers to which are not easy to be found. To spare yourself the trouble, submit your programming questions here and you will get programming answers within the shortest time period.
Ask Your question
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Search & Filtering
the interviewer candidate problem.
Sales Tax Rates
. . .
The robot (marked as R) can:
•Move forward by one unit.
•Turn left or right.
•Sense the color of the ground one unit in front of it.
Write a program that reads in 16 values from the keyboard and tests whether they form a magic square when put into a 4 × 4 array. You need to test two features:
1.Does each of the numbers 1, 2, ..., 16 occur in the user input?
2.When the numbers are put into a square, are the sums of the rows, columns, and diagonals equal to each other?
what services do they deliver?
what do they consider standard services and what do they offer as optional services?
hot do they distinguish themselves from their competition?
what do they say about their staff?
what do they say about their hiring practices?
what do they say about satisfying their customers?
2. Convert the following decimal numbers to a binary base: 33, 44
3. Convert the following unsigned binary number to hexadecimal base: 01101101, 0010010111
4. Convert the following hexadecimal numbers to a binary base: 0xEA5D, 0x11A
5. In the following perform addition of unsigned binary numbers. Solve each problem and convert your result to a decimal base for verification (a) 0101 +0001, (b) 1101 +1110, (c) 0111 +1000, (d) 0111 +1010
6. Find the decimal equivalent for each binary fraction.
7. Find the binary equivalent for each decimal fraction.
Write a program that will read a message from another text file and surround each occurrence of an abbreviation with <> brackets. Write the marked message to a new text file.
For example, the message to be scanned is
How are u today? Iirc, this is your first free day. Hope you are having fun! :)
the new text file should contain
How are <u> today? <Iirc>, this is your first free day. Hope you are having fun! <:)>