Using the irvine32 library functions

Assignment Help Programming Languages
Reference no: EM131688

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: EM131688

Questions Cloud

Implement the delivery company : Implement the delivery company using the classes given in the class diagram above.
Write a complete c++ program : The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..
Prepare an arbitrary sinusoidal waveform : Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits
Security vulnerability : What is the security vulnerability of this solution
Using the irvine32 library functions : Create 32 random points which have (x, y) co-ordinates
Prepare a planning memo for the tlc engagement : Prepare a planning memo for the TLC engagement based on the information provided in the case.
Evaluate the gross profit : Evaluate the gross profit
Overview of the situation/accounting issue : You will be asked to address a accounting failure from AMERICAN INSURANCE GROUP. Overview of the situation/accounting issue
Describe the forest, domain, ou, and trust configuration : Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a paper on memory management

Write a paper on Memory Management

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Writing a class

Build a class for a type called Fraction

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Application development and programming languages

Application Development and Programming Languages,  Programming languages have evolved since the First Generation Languages (1GLs) in the 1940s. The 1GLs were machine languages, which interacted directly with hardware. 2GLs were assembly languages. F..

  Program to perform a search of an employee list

Write a /bash/bin program to perform a search of an employee list.

  Write a vhdl code for soda vending machine

Write a VHDL code that implements the above soda machine. You have to turn in the following: A state diagram showing the implementation of your design. Clearly show all the states and the conditions on which transitions occur.

  Write the constructor function makestk

Write the constructor function makestk, predicate function emptystk and mutator functions pushstk and popstk

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