Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Part 0:

Access the web site: http://www.cs.utsa.edu/~muzahid/course/spring16/cs3843 and read the syllabus.

Part 1:

Make sure you can log into your CS Linux account and create a directory that you will use for this course.

Part 2:

Convert your UTSA ID (without the leading @) from decimal to hexadecimal. Your answer should start with 0x and the rest should contain only digits and the letters A-F (upper case). Do this problem using the method discussed in section 2.1.1 of the textbook and show the results similar to the example at the top of page 36. There should be one line for each hexadecimal digit created and one line for the final answer. Put the results in a text file called assign0-2.out on your CS account.

Part 3:

Write a C program, convert2tenandhex.c that takes one command line parameter. The parameter is an integer either in decimal or hexadecimal. If it is in hexadecimal, it starts with a leading 0x. The program outputs exactly 2 lines. The first line contains only your name. If the program has exactly one command line parameters, the second line contains two tokens separated by a single blank. The first token is the value of the parameter in decimal and the second token is the value of the parameter in hexadecimal (without the leading 0x). If the number of command line parameters is not correct, the second line is an appropriate error message. Run the program three times, once with no command line parameters, once with your UTSA ID and once with its hexadecimal equivalent (with he leading 0x). Put both the input and output for the three runs in a file called assign0-3.out. Make sure each run is clearly labeled. You may assume that the value specified on the command line will fit in an int.

Hint for Part 3: do a man on strtol.

Part 4:

Send me an email informing me that you have satisfied the prerequisites for this course. (See the syllabus.) The subject line of this email must be CS 3843 Assignment 0. You must send the email by the start of class on the due date.

Include either information about when you took each prerequisite course at UTSA or how you received credit for that course. If you have not completed the prerequisites, you must include a copy of an email message from me indicating that you have permission to take this course without the formal prerequisites.

All email sent to me about this course must have a subject line containing CS 3843. The subject line of this email should be CS 3843 Assignment 0. Each email should identify your full name.

Part 5:

Reread the specifications for Part 3, and make sure your function satisfies these specifications.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91696333

Have any Question?


Related Questions in Computer Engineering

Explain how amazon and walmart companies use information

Explain how Amazon and Walmart companies use Information and Communication Technologies (ICT) in their competitive strategies. Highlight the differences in their use of ICT.

Question suppose you have a ray of light that hits a flat

Question : Suppose you have a ray of light that hits a flat surface such as a mirror and is reflected. What is the direction of reflection? This is a problem that arises in areas such as optics and computer graphics. To ...

Question suppose you are given an instance of the

Question : Suppose you are given an instance of the fractional knapsack problem in which all the items have the same weight. Show that you can solve the fractional knapsack problem in this case in O(n) time.

The interest rate on one-year treasury bonds is 1 the rate

The interest rate on one-year treasury bonds is 1%, the rate on two-year treasury bonds is 0.9%, and the rate on three-year treasury bonds is 0.8%. Using the expectations theory, compute the expected one-year interest ra ...

At a certain temperature this reaction establishes an

At a certain temperature, this reaction establishes an equilibrium with the given equilibrium constant, Kc. Kc = 1.53 * 10^21 3A (g) + 2B (g) ------> 4C(g) If, at this temperature, 1.50 mol of A and 4.00 mol of B are pla ...

Question list and describe 3 strategies organizations can

Question: List and describe (3) strategies organizations can employ for enhancing the customer experience. Select from Amazon, Walmart, or Google and explain how the company SHOULD use these strategies giving specific ex ...

Question suppose two matlab functions find-nonzero and

Question : Suppose, two Matlab functions find-nonzero and row-echelon are available to use. The first function takes a vector as input and returns the location of the first nonzero entry of the input vector. The second f ...

A group of students made the following scores on a 10-item

A group of students made the following scores on a 10-item quiz in psychological statistics: {5, 6, 7, 7, 7, 8, 8, 9, 9, 10, 10} What is the variance, treating these scores as a sample?

Aaninformationretrievalsystemhasacertainpairofaverageprecisi

(a) An information retrieval system has a certain pair of average precision and recall values when the system returns 10 documents in response queries. Would the precision and recall rate remain unchanged if the system w ...

Nbspintroduction to software developmentusing only

Introduction to Software Development Using only Flowgorithm program. Please do not answer if you do not know the answer or you are nor sure .... I need only the Flowgorithm program. Rainfall statistics. Design a program ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As