Problems1the file myinputfiletxt is an encrypted file your

Assignment Help Application Programming
Reference no: EM13347755

Problems:

1. The file myInputFile.txt is an encrypted file. Your assignment is to decrypt this file and hopefully answer the question for bonus points. Do the following in your code.
a. Open the file "InputFile.txt", read the contents.
Hint: if your file open handle does not work, check that you have the InputFile.txt file in the project directory and not the debug directory.
b. XOR each byte of the file with 0ffh. (Please refer to the note on XOR operation below)
c. Print the contents of the file decoded string to the console window
d. Print the output to a file "OutputFile.txt"
e. Use a comment in your asm file to answer the bonus question.

2. Create 32 random points which have (x, y) co-ordinates. The co-ordinates are constrained to be in the following range:
(-15<= x <= 14) and (-15<=y <=14)

(Hint - generate a random # between 0 and 29 then subtract 15 from this). 

a. Plot the co-ordinate in the console screen with a different color if it lies in the following quadrants:
Quadrant 1 points gets a yellow *
Quadrant 2 points gets a cyan *
Quadrant 3 points gets a red *
Quadrant 4 points gets a green *

b. Draw the x and y axis too

 

Reference no: EM13347755

Questions Cloud

Implement the delivery company using the classes given in : implement the delivery company using the classes given in the class diagram above. construct a cpp file named
Write a complete c program to do the following1 the main : write a complete c program to do the following1. the main program will read in a parameter value n read this in main.
Problem 1 integrationcreate a program to integrate an : problem 1. integrationcreate a program to integrate an arbitrary time-domain signal with variable limits of integration
Question 1 alice and bob are sending a message m to each : question 1. alice and bob are sending a message m to each othera give one method to achieve confidentiality for m.b
Problems1the file myinputfiletxt is an encrypted file your : problems1.the file myinputfile.txt is an encrypted file. your assignment is to decrypt this file and hopefully answer
As a senior in a professional services firm you have been : as a senior in a professional services firm you have been assigned to plan the financial statement audit of a private
Problem 1 if purchasing power parity applied to big macs : problem 1. if purchasing power parity applied to big macs and a big mac cost 2.50 in the united states while the
Auditing project overviewnbsp casenbsp you will be asked to : auditing project overviewnbsp casenbsp you will be asked to address a accounting failure from american insurance group
Introductionbluesky systems is a software development : introductionbluesky systems is a software development company that builds software components for a variety of private

Reviews

Write a Review

Application Programming Questions & Answers

  Hypertext markup languagethe basics of hypertext markup

hypertext markup languagethe basics of hypertext markup language and world wide web. first you will learn about

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  Write a program that creates a hierarchy of processes using

write a program that creates a hierarchy of processes using the fork system call. the initial program termed the root

  Produce a project plan and an interim description of the

produce a project plan and an interim description of the project developmentproblem 1. northern lights alert service.

  Implement functions using x86 assembly in addition to

implement functions using x86 assembly. in addition to implementing procedures this assignment requires to pass

  In a typical cpu implementation the design-cycle starts

in a typical cpu implementation the design-cycle starts with a cc based instruction set simulator iss of the target

  Directionall of them short discussion each of them 200

directionall of them short discussion. each of them 200 words all together around 1200

  Problemthe manager of the super supermarket would like to

problemthe manager of the super supermarket would like to be able to compute the unit price for products sold there. to

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  Write a paper on mcdonaldsethics and social responsibility

write a paper on mcdonalds.ethics and social responsibility at mcdonaldspaper includesabout mcdonaldscorporate social

  Hubspot is currently at a crossroads with management

hubspot is currently at a crossroads with management looking for rapid acceleration of sales and profits. in their

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd