499 Answered Questions for the topic computer engineering
04/26/21
First Middle Last Letter. Read in a string from cin (it will not have any whitespace).
Read in a string from cin (it will not have any whitespace). Print out the first character, middle character (if string is an even length, print the second of the two middle letters), and last...
more
04/26/21
All To Upper. Read a string from cin into word and modify it so that it has all uppercase letters.
Read a string from cin into word and modify it so that it has all uppercase letters.Samples:
Input: hello Output: HELLO
Input: h3Llo Output: H3LLO
Hints:
You can only change the code in the...
more
04/26/21
String Compactor. Write code that will read in a string and then print out every other character of the string.
Write code that will read in a string and then print out every other character of the string. You should use getline to read in the string... it may have spaces.Samples:
Input of "Hello" should...
more
04/26/21
Count E's. Read in a string, print out the number of e's in it.
Read in a string, print out the number of e's in it. Note that the string may have spaces in it. A call to getline looks like getline(cin, myVariable) where myVariable is a string variable that...
more
04/25/21
C Programming Language. Please write the two programs in C.
C Programming Language. Please write the two programs in C. DigitsWrite this program in a file named digits.c.As input, you will define a quad word integer variable named input in the initialized...
more
04/25/21
a program that reads names from a file However, the program does not work as expected. It gives an ArrayOutOfBounds exception. Correct this without changing the size of the array.
Here is a program that reads names from a file Friends-1.txt download and stores them in an array called friends.It then asks the user for a name and searches the array for the friend. If it...
more
04/25/21
Explain ways Scanner class create objects that can input data from the three types of input sources. Give 3 examples of the use of Scanner objects. Describe 1 Scanner method
Explain the ways in which the Scanner class can be used to create objects that can input data from the three types of input sources.Give 3 examples of the use of Scanner objects. Describe 1 Scanner...
more
04/25/21
Modify the above program so that it reads from the file FriendsPhones.txt, download the friends name into the friends array and corresponding phone number into an array called phoneNumbers. Upd
Modify the above program so that it reads from the file FriendsPhones.txt, download the friends name into the friends array and corresponding phone number into an array called phoneNumbers. Update...
more
04/25/21
Method called searchGenius inputs information from user& tries to find a genius student.. Not work as expected. debug the method by 1. What line does error occur? 2. what is the error & why 3. correct
Here is a method called searchGenius inputs information from the user and tries to find a genius student. A "genius" student is considered to be one who is between 18 and 21 years of age, has...
more
04/25/21
For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.
For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.a)
int x = 1;
while (x < 100) {
...
more
04/24/21
Solve for X using the matrices below.
2A + 4B = −2XA = 8 -5 and B = 0 7 1 0 2 0 9 -2 -2 -1X = _____ _____ _____ _____ _____ _____
04/24/21
Find approximate error
at a distance of 50 meter from foot of tower the elevation of its top is 30 degree if the possible error in measuring the distance and elevation are 2cm and 0.05 degrees find approximate error in...
more
04/23/21
Use a graphing utility to perform the indicated operations.
A = 2 0 and B = 5 3 4 5 1 4B2 − 3B + 7Ɪ2= _____ ______ ______ ______
04/23/21
Solve for X using the matrices below.
2A + 4B = −2XA = 8 -5 and B = 0 7 1 0 2 0 9 -2 -2 -1X = _____ _____ _____ _____ _____ _____
04/23/21
Find x and y from the matrix.
x+2 3 -7 2x+6 3 -7 5 2y 2x = 5 8 -85 7 y+2 5 7 6x = ____y = ____
04/23/21
Use a graphing utility to perform the operations for the matrices A, B, and C, and the scalar c.
A = -3 -2 3 0 2 -1 1 4 -2B= 1 -1 0 2 4 3 -2 1 0C = 3 -2 3 -4 0 -2 -1 1 3 c = 2(a) c(AB)_____ _____ __________ _____...
more
04/23/21
Let matrices A, B, C, and D be of orders 4 × 8, 2 × 8, 8 × 4, & 2 × 4. Determine whether the matrices are of proper order to perform the operation. Give the order of the answer.
(If not possible, enter IMPOSSIBLE.)(BC − D)A= ______ x ______
04/23/21
What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?
What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?
04/23/21
What is the maximum decimal value (positive value) represented by a 6-bit signed binary number with a 3-bit fraction.
What is the maximum decimal value (positive value) represented by a 6-bit signed binary number with a 3-bit fraction.
04/23/21
How many 3-input AND gates are required to AND 26 signals?
How many 3-input AND gates are required to AND 26 signals?
04/23/21
Digits and height. You will write two complete programs in x64 assembly.
You will write two complete programs in x64 assembly. In order to put off a discussion of how to use the operating system (which is necessary for interacting with the console), your programs will...
more
04/22/21
What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?
What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?
04/22/21
What is the maximum decimal value represented by a 6-bit signed binary number with a 3-bit fraction.
What is the maximum decimal value (positive value) represented by a 6-bit signed binary number with a 3-bit fraction.
04/22/21
How many 3-input AND gates are required to AND 26 signals?
How many 3-input AND gates are required to AND 26 signals?
04/22/21
How many 3-input AND gates are required to AND 26 signals?
How many 3-input AND gates are required to AND 26 signals?
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.