Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Quick Example global_start text start: movia r4, TIMER BASE movi r5, 6 Q1: How w

ID: 3705284 • Letter: Q

Question

Quick Example global_start text start: movia r4, TIMER BASE movi r5, 6 Q1: How would I reset the timer? Q2: What is the purpose of continuous operation? movía r2, PERIOD #load initial timer values stwio r2, 8(r4) srli r2, r2, 16 stwio r2, 12(r4) Q3: Why stop the timer? stwio r5, 4(r4) #start the timer movi r6, DELAY #delay looper: subi r6, r6, l Q4: What is the shortest timestep? bne r6, rO, looper stwio r4, 1664) #store timer in registers ldwior10, 16(r4) #10ad bottom 16bit ldwio r11, 20(r4) #load top 16bit Lecture 7

Explanation / Answer

1)

All the timers have the equivalent of Start() and Stop() methods, except System.Threading.Timer.

public static void Reset(this Timer timer)

{

            timer.Stop();

            timer.Start();

}

It is one way to go about it.

2)

Continuous Operations:

The method by which a business maintains continuity of output to internal systems and customers through an uninterrupted delivery of critical services or functions. Many business operations are sustained by automated systems and computer programs. Companies involved in the delivery of data storage, communication services and utilities must be able to maintain output continuity through continuous operations.
It is the way a business manages their system without disrupting their services or delivery. A computer program is often used for this purpose. If the company handles data or communication needs it must keep the same output no matter what.

3)

You have access to the Timer inside of the timer Elapsed method:

public void timer_Elapsed(object sender, ElapsedEventArgs e)

{

            Timer timer=(Timer sender);

timer.Stop();

}                                                                            

The above method will stop whatever Timer fired the Event (in case you have multiple Timers using the same handler and you want each Timer to have the same behavior).

4)

The following table lists limitations on date, time, and timestamp values

Smallest Date Value: 0001-01-01

Smallest TIME value: 00:00:00

Smallest TIMESTAMP value: 0001-01-01-00.00.00.000000

Use the combination of To_char and MIN function to get minimum timestamp from a given table.

Code:

SELECT to_char(min(created),dd-Mon-yyyy hh:mm:ss) Min_time FROM all_objects

Note: Please mention questions clearly..As per my knowledge I understood and answered according to that.