Write an entire program (with a main function and necessary header files included) that declares an 80 byte character buffer, prompts a user to enter a single word (no spaces) from the default input device (e.g. the keyboard), which is stored in the buffer, and then reverses the string while overwriting the buffer. Print the sting before and after the reversal. The program transcript should resemble the following output:
$ ./program.exe
enter string: nvidia
before: nvidia
after: aidivn
in C
In: Computer Science
Assume that a floating-point number system has base 2, word length 32 bits, mantissa length 24 bits, and does rounding. Assume also that the first bit is implicit. Represent the numbers 1/2, 2/3 and 3/5 as floating-point numbers in this system. (Hint: For less confusion, you might want to write out all 25 binary digits.)
Could you please me give me full procedure?
In: Computer Science
Write a Java program that uses the RC4 cipher algorithm to encrypt the following message using the word CODES as the key:
Cryptography is a method of protecting information and communications through the use of codes so that only those for whom the information is intended can read and process it.
Instead of using stream length 256, we will use length 26. When encrypting, let A = 0 to Z = 25. Ignore spaces and punctuations and put the message in groups of five letters.
In: Computer Science
In R-Syntax, create a vector of 100 employees ("Employee 1", "Employee 2", ... "Employee 100")
[Hint: use the `paste()` function and vector recycling to add a number to the word "Employee"] then create a vector of 100 random salaries for the year 2017
[Use the `runif()` function to pick random numbers between 40000 and 50000] and finally create a vector of 100 salary adjustments between -5000 and 10000 [use runif() to pick 100 random #'s in that range]
In: Computer Science
Fortune 500 Report: A written report on the management practices of a Fortune 500 organization will be required using a variety of research resources, students will examine the organization’s accomplishments and successes and then review how and why the organization has succeeded or failed as a result of its management. This is NOT a comprehensive report about the organization’s products or services. The emphasis is on the organization’s management practices. The report must be written in APA style. This paper should not exceed 2 pages. Submit a Word document in the link below.
In: Operations Management
Translate the following C code into MIPS assembly code. Assume a in $s0, i in $s1, and base address of b[] in $s2, respectively. Note that the element’s data type in array b is integer (word). Please do not change the C code structure and please comment your MIPS code.
for (i = 100; i>a; i--) {
b[i] = 16*i;
b[i+1] = 16*(i+1);
b[i+2] = 2*i + 16;
}
In: Computer Science
} 1. write a function that takes a string as parameter, return true if it’s a valid variable name, false otherwise. You can use keyword module’s iskeyword() to determine is a string is keyword.
import keyword
keyword.iskeyword(var) #returns true or false
}2. write a function that returns the length of a string (without using len() function)
}3. write a function that counts number of vowels in a string
}4. write a function that checks if a word is palindrome
PYTHON PROGRAMMING
In: Computer Science
course: Applications of mobile application development
Complete the tasks listed and submit in a word document with 3 pages length
In: Computer Science
This question has been answered before. I need a new, slightly modified code for the following:
A palindrome is a word that it reads the same left to right and right to left. For this programming assignment, you need to write a C++ program that does the following:
Please provide new code along with screenshot of output.
In: Computer Science
: After reading the assigned text, sit at the steps of your building/house for 20 minutes and observe what you see. Practice writing ethnographic field notes in your field notebook. What have you observed? Did you notice anything you have never noticed before? Response: Write a 250 - 400 word response in the discussion board. Summarize key points in the reading. Share your experiences of sitting on your steps.
In: Psychology