Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

 all the the devices that can be used by the Arduino as outputs


If the voltage on pin A2 is 1.426V, what value will analogRead(A2) return from the ADC?




The formula below decribes how to convert a temperature on the Fahrenheit scale to a temperature on the Kelvin scale.

TempK = (TempF − 32) × 5/9 + 273.15

Using the variables below Write one line of code to implement the formula


// Kelvin temperature

float TempK;

// Fahrenheit temperature

float TempF = 72; 


//One line of code to calculate temperature in Kelvin


What will the value of the answer variable be after the code segment below has been run.

int answer = 5; 

int number10 = 14, number39 = 8; 

  

answer += number10 * number39; 




What will the value of the solution variable be after the code segment below has been run.

int solution = 90; 

int number12 = 16, number25 = 8; 

 

solution -= number12 * number25 ; 




Suppose there is class of 10 students who have CGPA between 0-10. The university has decided to give the grace for those students those who have the CGPA between 4.5 to 4.9 to make it 5. Identify the students those have CGPA after adding the grace marks. Add the grace CGPA to the obtained CGPA of student through list comprehensions. Input Format- The input should contains an array of roll_no,and CGPA of the students. Constraints- CGPA must lies between 1.0 to 10.0 otherwise print "invalid input" Output Format- For each test case, display the roll_no and increased CGPA of those students only who lies between the obtained CGPA of 4.5-4.9


Trapezium Order


you are given an integer N . print N rows starting from 1 in the trapexium order as shown in the output of the below examples .


Input


the input contains an integer N


OUTPUT


the output should have N lines


each of the N lines should have space -seperated integers as per the trapezium order


SAMPLE INPUT 1


4


SAMPLE OUTPUT 1


1 2 3 4 17 18 19 20

5 6 7 14 15 16

8 9 12 13

10 11


4 Consider a system with 14 dedicated devices of the same type. All jobs currently running on this system require a maximum of five devices to complete their execution but they each run for long periods of time with just three devices and request the remaining two only at the very end of the run. Assume that the job stream is endless and that your operating system’s device allocation policy is a very conservative one: No job will be started unless all the required drives have been allocated to it for the entire duration of its run. a. What is the maximum number of jobs that can be active at once? b. What are the minimum and maximum number of devices that may be idle because of this policy? Under what circumstances would an additional job be started?



  1.  Write a For Each loop that displays every element of an array named strSongNames in a ListBox named lstDisplay. The loop variable is named strPlay.




 Answer the following questions about the following initialized array: Dim strSeafood(8) as String.

           a. Assign Oysters to the first array location. What is the index number?

           b. Assign Lobster to the fourth location in the array. What would the assignment statement look like?

           c. What value does strSeafood.Length have?

           d. How many types of seafood can this array hold?

           e. What would happen if you assigned strSeafood(9) = “Red Snapper”?


LATEST TUTORIALS
APPROVED BY CLIENTS