# Question: The purpose of this lab is for you to gain familiarity with stacks. 1. Write in assembler a progr…

Question: The purpose of this lab is for you to gain familiarity with
stacks.
1. Write in assembler a progr…. Get college assignment help at Smashing EssaysThe purpose of this lab is for you to gain familiarity with stacks. 1. Write in assembler a program that will create a stack of single byte entities and have the following operations: push and pop. 2. The same as (1) except that the stack that will accept 16 bit entities and have push and pop. 3. The same as (1) except that the stack that will accept 64 bit entities and have push and pop. 4. The same as (1) except that the stack will accept IEEE 754 single precision floating point values. Specifically test this for INF, INF, and NAN.  Question:  to which IEEE 754 revision is the FPU ISA compliant in the machine you are using (IEEE 754 from 1985, IEEE 754­2008, or the most recent ISO/IEC/IEEE 60559:2011)? 5. Write a program that uses all four stacks you just wrote and redirects an input value to each stack as appropriate, allowing only three forms of input: byte, 16 bit entit type the code plz

## Question: 1). The Fibonacci numbers are generated by the sequence: 1, 1, 2, 3, 5, 8, 13 … Once you unders…

1). The Fibonacci numbers are generated by the sequence: 1, 1, 2, 3, 5, 8, 13 … Once you understand how each next term is generated, write a program to generate the first 20 Fibonnaci numbers (use a for loop). using matlab 2). use a for loop to find the following sums for first 1000 terms for the sequence: 1-1/3 1/5-1/7 1/9…. using matlab

## Question: Can someone explain how this code works? It’s a one dimensional array that solves the 8 Queens pr…

Can someone explain how this code works? It’s a one dimensional array that solves the 8 Queens problem. Each column number says which row number the Queen will be in. #include using namespace std; int main() {     int b={0};     int r = 0;     int c = 0; nextCol: c ;     if (c > 7)         goto print;     r = -1; nextRow: r ; b[c] = r; if(r > 7)     goto backtrack; for(int i = 1; i < c 1; i ){   if(b[c-i] == r)     goto nextRow;     } for (int i = 1; i < 8; i ){     if((b[c]-i) < 0 || (c-i) < 0)     break;   if(b[c]-i == b[c-i])     goto nextRow;     }     for (int i = 1; i<8; i ){       if((c-i) 7)     break;        if(b[c-i] == b[c] i)     goto nextRow;     }     goto nextCol; backtrack: c–;     if(c < 0)     return 0;     r = b[c];     goto nextRow; print: static int numSolutions = 0;     cout << "Solution #" << numSolutions << ":" << endl;     for(int i = 0; i < 8; i )     cout << b[i];     cout << endl;     goto backtrack; }

## Question: I’m trying to use excel formula’s to sort through large data sets. More specifically, I have the …

I’m trying to use excel formula’s to sort through large data sets. More specifically, I have the variables for wind gust, direction for the time period given every day for 58 years. I would like to sort the data to display the maximum wind gust value for each corresponding month, and thus each season. Also the corresponding direction with that maximum wind gust. I have tried using a function using max, if

## Question: Write a Java GUI program to convert Binary, Decimal, and Hexadecimal. There are three text fields…

Write a Java GUI program to convert Binary, Decimal, and Hexadecimal. There are three text fields and convert buttons. For example, if I write binary number into text field of binary, and press the convert button, it will convert to decimal and hexadecimal numbers. Here is a program look like. Number Format Conversion Program binary convert decimal convert hexadecimal convert Number Format Conversion Program binary convert decimal convert hexadecimal convert

## Question: What is the output of the following code? import java. lang.Math. class Main public static void m…

What is the output of the following code? import java. lang.Math. class Main public static void main(String args[l) float rand Math.random); System.out.print1n(5 – rand % 18); a. greater than 0, less than 5 b. E c. greater than 0, less than equal to 5 d. greater than 0, less than equal to 4 ror What is the output of the following code? import java. lang.Math. class Main public static void main(String args[l) float rand Math.random); System.out.print1n(5 – rand % 18); a. greater than 0, less than 5 b. E c. greater than 0, less than equal to 5 d. greater than 0, less than equal to 4 ror

## Question: (CYCLOMATIC/MCCABE COMPLEXITY) Consider the following quicksort sorting algorithm: QUICKSORT(A, p…

(CYCLOMATIC/MCCABE COMPLEXITY) Consider the following quicksort sorting algorithm: QUICKSORT(A, p, r) if p < r then q ← PARTITION(A, p, r) QUICKSORT(A, p, q − 1) QUICKSORT(A, q 1, r) where the PARTITION procedure is as follows: PARTITION(A, p, r) x ← A[r] i ← p − 1 for j ← p to r − 1 do if A[j] ≤ x then i ← i 1 exchange A[i] ↔ A[j] exchange A[i 1] ↔ A[r] return i 1 Draw the flowchart of the above algorithm. Draw the corresponding graph and label the nodes as n1, n2, … and edges as e1, e2, … Calculate the cyclomatic complexity of the above algorithm

## Question: 41. Solve the recurrence relation T(n 2T(n/2) nlgn a) T(n) (Ign) b) T(n)-(ng’)

41. Solve the recurrence relation T(n 2T(n/2) nlgn a) T(n) (Ign) b) T(n)-(ng’) 41. Solve the recurrence relation T(n 2T(n/2) nlgn a) T(n) (Ign) b) T(n)-(ng’)

## Question: What is the output of the following code? public class Main public static void main(String args[l…

What is the output of the following code? public class Main public static void main(String args[l) String myStr-new String(“ers2019”); System. out.print (myStr.substring(2, myStr.substring (0,2).size())); a. Error c. No output d. eg What is the output of the following code? public class Main public static void main(String args[l) String myStr-new String(“Cheggers2019”); System. out.print (myStr.substring(2, myStr.substring (0,2).size())); a. Error c. No output d. eg

## Question: Coding for password of circuit breaker , means that the circuit will open when i enter the right …

Coding for password of circuit breaker , means that the circuit will open when i enter the right password and it will closed if if wrote the wrong one. so every thing is in control based on the password entering on the keyboard ( I tried many times but give me error and i dont know whats the mistake ) #include #include #include #include “SIM900.h” #include SoftwareSerial mySerial(2,3); #include “sms.h” SMSGSM sms; LiquidCrystal lcd(11,9,8,7,6,5); char password; char pass,pass1; int i=0; char customKey=0; const byte ROWS = 4; //four rows const byte COLS = 3; //three columns char hexaKeys[ROWS][COLS] = { {‘1′,’2′,’3’}, {‘4′,’5′,’6’}, {‘7′,’8′,’9’}, {‘*’,’0′,’#’} }; byte rowPins[ROWS] = {4,A5,A4,A3}; // the row pinouts of the keypad byte colPins[COLS] = {A2,A1,A0}; // the column pinouts of the keypad Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); int buzzer = 10; int m13=13; int k=1; int numdata; boolean started=false; char smsbuffer; char n; void setup() { Serial.begin(9600); //Serial connection delay(2000); if (gsm.begin(9600)){ lcd.print(“READY”); delay(1000); started=true;    } else Serial.println(“nstatus=IDLE”); if(started){ //Enable this two lines if you want to send an SMS. //if (sms.SendSMS(“3471234567”, “Arduino SMS”)) //Serial.println(“nSMS sent OK”); } lcd.begin(16,2); pinMode(led, OUTPUT); pinMode(buzzer, OUTPUT); pinMode(m2,OUTPUT); pinMode(m13,OUTPUT); lcd.print(” Electronic “); lcd.setCursor(0,1); lcd.print(” Keypad Lock “); delay(2000); lcd.clear(); lcd.print(“Enter Password:”); lcd.setCursor(0,1); for(int j=0;j<4;j ) EEPROM.write(j, j 49); for(int j=0;j<4;j ) pass[j]=EEPROM.read(j); } void loop() { customKey = customKeypad.getKey(); if(customKey=='*'

## Question: What is the output of the following code? public class Main public static void main(Stringl] args…

What is the output of the following code? public class Main public static void main(Stringl] args) int x – ; for( x=0; x , x ) System.out.print(x) a. Infinite Loop b. 012345 C. d. Error What is the output of the following code? public class Main public static void main(Stringl] args) int x – ; for( x=0; x , x ) System.out.print(x) a. Infinite Loop b. 012345 C. d. Error

## Question: Question 3. [7 marks] The Euclidean distance is a measure of the distance between two points in n…

Please solve for PYTHON. Question 3. [7 marks] The Euclidean distance is a measure of the distance between two points in n-dimensional space. For two points: p – (piup2, , pn) and q – (q1, q2, …, qn) the Euclidean dis- tance, d, can obtained by applying the following formula: a) [3 marks| On this page and, if necessary, the next page, write a function which takes lists p – [p1, рг, , pn] and q-[q1, q2, , qn], representing two points in n-dimensional space, and returns the Euclidean distance between them For example: >>>print (euclidean distance ([1, 1], [4, 5])) 5.0 >>>print (euclidean distance ([1.5, -1.1, 4], [4.2, 1, -2.3])) 7.168681887209113 def euclidean distance (p, q): ”’ (list, list) -> float Input: two lists, p and a, of floating point numbers Output: the Euclidean distance between p and g as a floating point number Pre-conditions: p and q have the same size and contain only floating point numbers. Question 3. [7 marks] The Euclidean distance is a measure of the distance between two points in n-dimensional space. For two points: p – (piup2, , pn) and q – (q1, q2, …, qn) the Euclidean dis- tance, d, can obtained by applying the following formula: a) [3 marks| On this page and, if necessary, the next page, write a function which takes lists p – [p1, рг, , pn] and q-[q1, q2, , qn], representing two points in n-dimensional space, and returns the Euclidean distance between them For example: >>>print (euclidean distance ([1, 1], [4, 5])) 5.0 >>>print (euclidean distance ([1.5, -1.1, 4], [4.2, 1, -2.3])) 7.168681887209113 def euclidean distance (p, q): ”’ (list, list) -> float Input: two lists, p and a, of floating point numbers Output: the Euclidean distance between p and g as a floating point number Pre-conditions: p and q have the same size and contain only floating point numbers.

## Question: Please solve for PYTHON. The Euclidean distance is a measure of the distance between two points i…

Please solve for PYTHON. The Euclidean distance is a measure of the distance between two points in n-dimensional space. For two points: ? = (?1, ?2, … , ??) and ? = (?1, ?2, … , ??) the Euclidean distance, d, can obtained by applying the following formula: ? = √((?1 − ?1 )^ 2 (?2 − ?2 )^ 2 ⋯ (?? − ?? )^ 2) b) 14 marksl On this page and the next page, write a function that will take a nested list representing points in n-dimensional space and return the minimum and maximum Euclidean distance between all pairs of two different points. For example >>>points-[[1,2,3], [1,1,4], [1,-2,3, [1,0,1], [10,0,-111 >>> print (find minmax_distances (points)) (2.8284271247461903, 10.344080432788601) You should use the euclidean_distance from Question 3a) and you can assume that it works correctly (regardless of your answer for 3a). You may also assume that the argument to the function find minmax_distances will be a nested list representing at least three n-dimensional points def find minmax_distances (points): (list of lists) -> (num, num) Input: a nested list of floating point numbers representing at least three points in an n-dimensional space Output: a tuple (min, max) containing the minimum and the maximum Euclidean distance between all pairs of two different points Pre-conditions: all sub-lists have the same size and contain only floating point numbers. b) 14 marksl On this page and the next page, write a function that will take a nested list representing points in n-dimensional space and return the minimum and maximum Euclidean distance between all pairs of two different points. For example >>>points-[[1,2,3], [1,1,4], [1,-2,3, [1,0,1], [10,0,-111 >>> print (find minmax_distances (points)) (2.8284271247461903, 10.344080432788601) You should use the euclidean_distance from Question 3a) and you can assume that it works correctly (regardless of your answer for 3a). You may also assume that the argument to the function find minmax_distances will be a nested list representing at least three n-dimensional points def find minmax_distances (points): (list of lists) -> (num, num) Input: a nested list of floating point numbers representing at least three points in an n-dimensional space Output: a tuple (min, max) containing the minimum and the maximum Euclidean distance between all pairs of two different points Pre-conditions: all sub-lists have the same size and contain only floating point numbers.

## Question: The purpose of this lab is to familiarize yourself with IEEE 754 floating point (FP for the rest …

The purpose of this lab is to familiarize yourself with IEEE 754 floating point (FP for the rest of this lab) operations as well as the internal representation of the information in the machine. By this point, you will be expected to all of your work in assembler. However, if you find yourself still having difficulty, you may implement the algorithm(s) you choose to address the items below in the high level language of your choice (e.g., ANSI C with the STL), examine the assembler listing for your program, and then manually write an assembler program based upon this output. To document that you have done the requisite work, you will need to use the script utility as well as taking screen shots (as JPEG files) of those utilities that are GUI only (such as the GUI portions of ddd or ebe). We will consider the following values as decimal numbers, where := is the assignment operator (the = symbol in C ). SA := 500.312 as single precision FP. DA: = 500.312 as double precision FP. SPI := the value of π as single precision FP. DPI := the value of π as double precision FP. SB := 1.456 x 106 as single precision FP. DB := 1.456 x 106 as double precision FP. 1, Write a routine that will display each of these numbers as hexadecimal digits using the internal representation of FP on the machine. 2. Write a routine that will compute the product of SA and SB and store the result in a new variable named SC, and then display SC as in item 1. 3. Write a routine that will extract just the internal FP representation of the exponent of SB and DB and then, first, display the result as a 2s complement integer in base binary (so that the number will be converted from excess to complement form), and second, display the same number as base decimal (question: do you get 5, 6, or 7 for the result ­­ why?

## Question: Hello there. I need help with these questions ( 1 to 6). Please answer from 1 to 6. The code snip…

Hello there. I need help with these questions ( 1 to 6). Please answer from 1 to 6. The code snippet is referring to Assignment #1. Here is the link : https://www./homework-help/questions-and-answers/coursecc-include-include-include-using-namespace-std-include-courseh-course-course-int-c-i-q35540710 Please answer the question here and please answer in C .

## Question: 1. What is labeling in IA and why is it important? 2. Why is creating labeling system difficult? …

1. What is labeling in IA and why is it important? 2. Why is creating labeling system difficult? 3. What are textual labels? 4. What are iconic labels? 5. How can index terms be used as labels? 6. What are some of the important considerations when designing labels and labeling systems? 7. When designing a labeling system what are some of- the resources you can use? 1. What is labeling in IA and why is it important? 2. Why is creating labeling system difficult? 3. What are textual labels? 4. What are iconic labels? 5. How can index terms be used as labels? 6. What are some of the important considerations when designing labels and labeling systems? 7. When designing a labeling system what are some of- the resources you can use?

## Question: The topic for this assignment is about “software failures”. This is a broad topic that covers man…

The topic for this assignment is about “software failures”. This is a broad topic that covers many interesting problems that leads to software failure either after its launch or even before it is launched. Write a report in a detailed way, on a specific and narrow area of software failure. Do support your illustration and explanation by providing some examples. Explain very broad with almost 3000words.

## Question: The purpose of this lab is for you to gain familiarity with Hamming codes. 1. Assume that you are…

The purpose of this lab is for you to gain familiarity with Hamming codes. 1. Assume that you are dealing with 8 bit data, and you wish to be able to detect any 2 bit errors and to correct, if possible, any 1 bit errors, that might occur anywhere in the Hamming code datum that corresponds to your original 8 bit datum (e.g., if only 8 bits were required, the true datum is 01010101 but the datum as read is 10010101 – you want to detect and correct this datum to the true value). Write an assembly language program that will implement a Hamming code to accomplish this detection and correction. 2. Give your program true input and input that needs to be corrected, with the bits in error being anywhere throughout the datum (including in those bits added by the Hamming code algorithm. Show that your program functions correctly for these data. 3. For the cases you considered in 2, compare the actual execution times. Does it take longer to correct an error than if there is no error? If so, why? (Hint: consider the algorithmic state machine that corresponds to your program.) pleas type the code instead of write it thanks

## Question: Part 2 Write a program ShiftNumbers.java that takes integerMas the number of both rows and column…

Must do it according to this template: Part 2 Write a program ShiftNumbers.java that takes integerMas the number of both rows and columns for your 2D array.Create the same exact following 2D array Note: The borders are produced at the time of printing. You also need to shift the numbers for each row of the 2D array as displayed below: 112131415 213141511 13141511121 415111213 511121314 mport java.util.Scanner import java.util Write a description of class Pint2DAray here. author lyour name) Eversion (a version nunber or a date) publie elass ShiENumbers public atatic void main (Stringt) arga) Scanner keyboard-new Scanner (System.n) ystem.out.printin(“Enter an integer, then preas Enter”) intN-keyboard.nextinto 1. Create your array dymamically here 12. Now, 2111 the 2D array with numbers 3. Print your 2D azray 4. print the lower border System.out print- for (int j -0; j < digits [O]·length; *)} { System.out.printin Part 2 Write a program ShiftNumbers.java that takes integerMas the number of both rows and columns for your 2D array.Create the same exact following 2D array Note: The borders are produced at the time of printing. You also need to shift the numbers for each row of the 2D array as displayed below: 112131415 213141511 13141511121 415111213 511121314 mport java.util.Scanner import java.util Write a description of class Pint2DAray here. author lyour name) Eversion (a version nunber or a date) publie elass ShiENumbers public atatic void main (Stringt) arga) Scanner keyboard-new Scanner (System.n) ystem.out.printin("Enter an integer, then preas Enter") intN-keyboard.nextinto 1. Create your array dymamically here 12. Now, 2111 the 2D array with numbers 3. Print your 2D azray 4. print the lower border System.out print- for (int j -0; j

## Conflict Resolution writing assignment

In order to manage the
emotions involved with a conflict and prevent relationships from
breaking down, it is important to have a process for resolving the
conflict. This process is often called a conflict resolution policy or a
team covenant.

The best conflict resolution plans create a procedure that focuses on
restoring relationships, addressing the emotions involved, and working
out the issue without involving management, if possible. The goal is to
resolve conflict informally, which creates an environment where people
feel encouraged and supported, even when they face a conflict!

The policy should never be about punishment or consequences.
Instead, it should give everyone a safe way to work through a problem
without hurting anyone involved.

STEP 1:

Create a conflict resolution policy that you will use when you’re leading
a team. This policy should include:o Multiple steps that allow conflict to be addressed privately first,

followed by guidelines for enlisting help from others if necessary.
o A positive process that focuses on restoring relationships. (In other

words, the policy doesn’t involve consequences. It only provides

additional methods of support.)o A chance for the people involved to express their emotions about

the issue without being accusatory or placing blame on others.

STEP 2:

o Submit your conflict resolution policy using a method that works
best for you. You can create a Keynote presentation, make a video
using iMovie, write a poem, make a podcast; the possibilities are
endless. You can even create cartoons using goanimate.com. It’s up
to you!